Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Patient Compartments: Practitioner

R4 : R5 Conversion maps for Linkage.

Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Linkage" alias LinkageR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Linkage" alias Linkage as target

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

group Linkage(source src : LinkageR3, target tgt : Linkage) extends DomainResource <<type+>> {
  src.active -> tgt.active;
  src.author -> tgt.author;
  src.item as vs0 -> tgt.item as vt0 then linkage(vs0, vt0);
}

group linkage(source src, target tgt) extends BackboneElement {
  src.type -> tgt.type;
  src.resource -> tgt.resource;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Linkage" alias Linkage as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Linkage" alias LinkageR3 as target

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

group Linkage(source src : Linkage, target tgt : LinkageR3) extends DomainResource <<type+>> {
  src.active -> tgt.active;
  src.author -> tgt.author;
  src.item as vs0 -> tgt.item as vt0 then linkage(vs0, vt0);
}

group linkage(source src, target tgt) extends BackboneElement {
  src.type -> tgt.type;
  src.resource -> tgt.resource;
}


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