Release 4
This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Patient Care Work Group Maturity Level : N/A Standards Status : Informative Security Category : Patient Compartments : Device , Patient , Practitioner

R3 : R4 Conversion maps for Flag.

Functional status for this map: 2 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/Flag3to4" = "R3 to R4 Conversions for Flag"
uses "http://hl7.org/fhir/3.0/StructureDefinition/Flag" alias FlagR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Flag" alias Flag as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group Flag(source src : FlagR3, target tgt : Flag) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.period -> tgt.period;
  src.encounter -> tgt.encounter;
  src.author -> tgt.author;
}
map "http://hl7.org/fhir/StructureMap/Flag4to3" = "R4 to R3 Conversion for Flag"
uses "http://hl7.org/fhir/StructureDefinition/Flag" alias Flag as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Flag" alias FlagR3 as target
imports "http://hl7.org/fhir/StructureMap/*4to3"
group Flag(source src : Flag, target tgt : FlagR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.period -> tgt.period;
  src.encounter -> tgt.encounter;
  src.author -> tgt.author;
}
<p>No validation errors - all conversions are clean</p>