R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Patient Administration Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Patient, RelatedPerson

R3 : R4 Conversion maps for RelatedPerson.

Functional status for this map: 4 tests of which 4 fail to execute. (see documentation)

map "http://hl7.org/fhir/StructureMap/RelatedPerson3to4" = "R3 to R4 Conversions for RelatedPerson"


uses "http://hl7.org/fhir/3.0/StructureDefinition/RelatedPerson" alias RelatedPersonR3 as source
uses "http://hl7.org/fhir/StructureDefinition/RelatedPerson" alias RelatedPerson as target

imports "http://hl7.org/fhir/StructureMap/*3to4"



group RelatedPerson extends DomainResource
  input src : RelatedPersonR3 as source
  input tgt : RelatedPerson as target

  "RelatedPerson.identifier": for src.identifier make tgt.identifier
  "RelatedPerson.active": for src.active make tgt.active
  "RelatedPerson.patient": for src.patient make tgt.patient
  "RelatedPerson.relationship": for src.relationship make tgt.relationship
  "RelatedPerson.name": for src.name make tgt.name
  "RelatedPerson.telecom": for src.telecom make tgt.telecom
  "RelatedPerson.gender": for src.gender make tgt.gender
  "RelatedPerson.birthDate": for src.birthDate make tgt.birthDate
  "RelatedPerson.address": for src.address make tgt.address
  "RelatedPerson.photo": for src.photo make tgt.photo
  "RelatedPerson.period": for src.period make tgt.period
endgroup


map "http://hl7.org/fhir/StructureMap/RelatedPerson4to3" = "R4 to R3 Conversion for RelatedPerson"


uses "http://hl7.org/fhir/StructureDefinition/RelatedPerson" alias RelatedPerson as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/RelatedPerson" alias RelatedPersonR3 as target

imports "http://hl7.org/fhir/StructureMap/*4to3"



group RelatedPerson extends DomainResource
  input src : RelatedPersonR3 as source
  input tgt : RelatedPerson as target

  "RelatedPerson.identifier": for src.identifier make tgt.identifier
  "RelatedPerson.active": for src.active make tgt.active
  "RelatedPerson.patient": for src.patient make tgt.patient
  "RelatedPerson.relationship": for src.relationship make tgt.relationship
  "RelatedPerson.name": for src.name make tgt.name
  "RelatedPerson.telecom": for src.telecom make tgt.telecom
  "RelatedPerson.gender": for src.gender make tgt.gender
  "RelatedPerson.birthDate": for src.birthDate make tgt.birthDate
  "RelatedPerson.address": for src.address make tgt.address
  "RelatedPerson.photo": for src.photo make tgt.photo
  "RelatedPerson.period": for src.period make tgt.period
endgroup