Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - 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 . Page versions: R5 R4B R4

FHIR Infrastructure icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Not Classified Compartments: Device, Patient, Practitioner

R4 : R5 Conversion maps for List.

Functional status for this map: See Conversions Summary. (see documentation)

map "http://hl7.org/fhir/StructureMap/List3to4" = "R3 to R4 Conversions for List"

uses "http://hl7.org/fhir/3.0/StructureDefinition/List" alias ListR3 as source
uses "http://hl7.org/fhir/StructureDefinition/List" alias List as target

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

group List(source src : ListR3, target tgt : List) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.mode -> tgt.mode;
  src.title -> tgt.title;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.date -> tgt.date;
  src.source -> tgt.source;
  src.orderedBy -> tgt.orderedBy;
  src.note -> tgt.note;
  src.entry as s -> tgt.entry as t then entry(s, t);
  src.emptyReason -> tgt.emptyReason;
}

group entry(source src, target tgt) extends BackboneElement {
  src.flag -> tgt.flag;
  src.deleted -> tgt.deleted;
  src.date -> tgt.date;
  src.item -> tgt.item;
}


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

uses "http://hl7.org/fhir/StructureDefinition/List" alias List as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/List" alias ListR3 as target

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

group List(source src : List, target tgt : ListR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.mode -> tgt.mode;
  src.title -> tgt.title;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.encounter -> tgt.encounter;
  src.date -> tgt.date;
  src.source -> tgt.source;
  src.orderedBy -> tgt.orderedBy;
  src.note -> tgt.note;
  src.entry as s -> tgt.entry as t then entry(s, t);
  src.emptyReason -> tgt.emptyReason;
}

group entry(source src, target tgt) extends BackboneElement {
  src.flag -> tgt.flag;
  src.deleted -> tgt.deleted;
  src.date -> tgt.date;
  src.item -> tgt.item;
}


No validation errors - all conversions are clean