This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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 Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Patient, RelatedPerson |
R2 : R3 Conversion maps for RelatedPerson.
Functional status for this map: 4 tests that all execute ok. All tests pass round-trip testing and 1 r3 resources are invalid (1 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/RelatedPerson2to3" = "R2 to R3 Conversions for RelatedPerson" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/RelatedPerson" alias RelatedPersonR2 as source uses "http://hl7.org/fhir/StructureDefinition/RelatedPerson" alias RelatedPerson as target imports "http://hl7.org/fhir/StructureMap/*2to3" group for type+types RelatedPerson extends DomainResource input src : RelatedPersonR2 as source input tgt : RelatedPerson as target "RelatedPerson-identifier" : for src.identifier make tgt.identifier "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/RelatedPerson3to2" = "R3 to R2 Conversion for RelatedPerson" uses "http://hl7.org/fhir/StructureDefinition/RelatedPerson" alias RelatedPerson as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/RelatedPerson" alias RelatedPersonR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group for type+types RelatedPerson extends DomainResource input src : RelatedPerson as source input tgt : RelatedPersonR2 as target "RelatedPerson-identifier" : for src.identifier make tgt.identifier "RelatedPerson-patient" : for src.patient make tgt.patient "RelatedPerson-relationship" : for src.relationship make tgt.relationship "RelatedPerson-name" : for src.name only_one 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
benedicte |
|