This page is part of the FHIR Specification (v5.0.0-snapshot1: R5 Snapshot #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 | Standards Status: Informative | Security Category: Patient | Compartments: Patient, RelatedPerson |
R3 : R4 Conversion maps for RelatedPerson.
Functional status for this map: 4 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (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(source src : RelatedPersonR3, target tgt : RelatedPerson) extends DomainResource <<type+>> {
src.identifier -> tgt.identifier;
src.active -> tgt.active;
src.patient -> tgt.patient;
src.relationship -> tgt.relationship;
src.name -> tgt.name;
src.telecom -> tgt.telecom;
src.gender -> tgt.gender;
src.birthDate -> tgt.birthDate;
src.address -> tgt.address;
src.photo -> tgt.photo;
src.period -> tgt.period;
}
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(source src : RelatedPerson, target tgt : RelatedPersonR3) extends DomainResource <<type+>> {
src.identifier -> tgt.identifier;
src.active -> tgt.active;
src.patient -> tgt.patient;
src.relationship -> tgt.relationship;
src.name -> tgt.name;
src.telecom -> tgt.telecom;
src.gender -> tgt.gender;
src.birthDate -> tgt.birthDate;
src.address -> tgt.address;
src.photo -> tgt.photo;
src.period -> tgt.period;
}