Current Build
FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Not Classified Compartments: Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for Basic.

Functional status for this map: 3 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/Basic3to4" = "R3 to R4 Conversions for Basic"

uses "http://hl7.org/fhir/3.0/StructureDefinition/Basic" alias BasicR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Basic" alias Basic as target

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

group Basic(source src : BasicR3, target tgt : Basic) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.created -> tgt.created;
  src.author -> tgt.author;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Basic" alias Basic as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Basic" alias BasicR3 as target

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

group Basic(source src : Basic, target tgt : BasicR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.created -> tgt.created;
  src.author -> tgt.author;
}


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