Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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

R3 : R4 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>