R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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/ABallot Status: Informative Compartments: Practitioner

R3 : R4 Conversion maps for Linkage.

Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and 1 r3 resources are invalid (0 errors). (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 extends DomainResource
  input src : LinkageR3 as source
  input tgt : Linkage as target

  "Linkage.active" : for src.active as vs make tgt.active as vt
  "Linkage.author" : for src.author as vs make tgt.author as vt
  "Linkage.item" : for src.item as vs0 make tgt.item as vt0 then {
    "Linkage.item.type" : for vs0.type as vs make vt0.type as vt
    "Linkage.item.resource" : for vs0.resource as vs make vt0.resource as vt
  }
endgroup


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 extends DomainResource
  input src : Linkage as source
  input tgt : LinkageR3 as target

  "Linkage.active" : for src.active as vs make tgt.active as vt
  "Linkage.author" : for src.author as vs make tgt.author as vt
  "Linkage.item" : for src.item as vs0 make tgt.item as vt0 then {
    "Linkage.item.type" : for vs0.type as vs make vt0.type as vt
    "Linkage.item.resource" : for vs0.resource as vs make vt0.resource as vt
  }
endgroup