R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

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