Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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: Individual Compartments: Practitioner

R3 : R4 Conversion maps for Practitioner.

Functional status for this map: 14 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/Practitioner3to4" = "R3 to R4 Conversions for Practitioner"

uses "http://hl7.org/fhir/3.0/StructureDefinition/Practitioner" alias PractitionerR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Practitioner" alias Practitioner as target

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

group Practitioner(source src : PractitionerR3, target tgt : Practitioner) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.name -> tgt.name;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.gender -> tgt.gender;
  src.birthDate -> tgt.birthDate;
  src.photo -> tgt.photo;
  src.qualification as vs0 -> tgt.qualification as vt0 then {
    vs0.identifier -> vt0.identifier;
    vs0.code -> vt0.code;
    vs0.period -> vt0.period;
    vs0.issuer -> vt0.issuer;
  };
  src.communication -> tgt.communication;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Practitioner" alias Practitioner as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Practitioner" alias PractitionerR3 as target

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

group Practitioner(source src : Practitioner, target tgt : PractitionerR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.name -> tgt.name;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.gender -> tgt.gender;
  src.birthDate -> tgt.birthDate;
  src.photo -> tgt.photo;
  src.qualification as vs0 -> tgt.qualification as vt0 then {
    vs0.identifier -> vt0.identifier;
    vs0.code -> vt0.code;
    vs0.period -> vt0.period;
    vs0.issuer -> vt0.issuer;
  };
  src.communication -> tgt.communication;
}


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