Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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/AStandards Status: InformativeSecurity Category: Patient Compartments: Patient, Practitioner, RelatedPerson

R4 : R5 Conversion maps for Person.

Functional status for this map: 5 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/Person3to4" = "R3 to R4 Conversions for Person"

uses "http://hl7.org/fhir/3.0/StructureDefinition/Person" alias PersonR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Person" alias Person as target

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

group Person(source src : PersonR3, target tgt : Person) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  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.managingOrganization -> tgt.managingOrganization;
  src.active -> tgt.active;
  src.link as vs0 -> tgt.link as vt0 then {
    vs0.target -> vt0.target;
    vs0.assurance -> vt0.assurance;
  };
}


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

uses "http://hl7.org/fhir/StructureDefinition/Person" alias Person as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Person" alias PersonR3 as target

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

group Person(source src : Person, target tgt : PersonR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  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.managingOrganization -> tgt.managingOrganization;
  src.active -> tgt.active;
  src.link as vs0 -> tgt.link as vt0 then {
    vs0.target -> vt0.target;
    vs0.assurance -> vt0.assurance;
  };
}


<p>No validation errors - all conversions are clean</p>