Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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 Care Work GroupMaturity Level: N/AStandards Status: InformativeSecurity 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>