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 R3

Vocabulary Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for ConceptMap.

Functional status for this map: 4 tests that all execute ok. 4 fail round-trip testing and 4 r3 resources are invalid (0 errors). (see documentation)

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/ConceptMap" alias ConceptMapR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ConceptMap" alias ConceptMap as target

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



group ConceptMap extends DomainResource
  input src : ConceptMapR3 as source
  input tgt : ConceptMap as target

  "ConceptMap.url" : for src.url as vs make tgt.url as vt
  "ConceptMap.identifier" : for src.identifier as vs make tgt.identifier as vt
  "ConceptMap.version" : for src.version as vs make tgt.version as vt
  "ConceptMap.name" : for src.name as vs make tgt.name as vt
  "ConceptMap.title" : for src.title as vs make tgt.title as vt
  "ConceptMap.status" : for src.status as vs make tgt.status as vt
  "ConceptMap.experimental" : for src.experimental as vs make tgt.experimental as vt
  "ConceptMap.date" : for src.date as vs make tgt.date as vt
  "ConceptMap.publisher" : for src.publisher as vs make tgt.publisher as vt
  "ConceptMap.contact" : for src.contact as vs make tgt.contact as vt
  "ConceptMap.description" : for src.description as vs make tgt.description as vt
  "ConceptMap.useContext" : for src.useContext as vs make tgt.useContext as vt
  "ConceptMap.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "ConceptMap.purpose" : for src.purpose as vs make tgt.purpose as vt
  "ConceptMap.copyright" : for src.copyright as vs make tgt.copyright as vt
  "ConceptMap.group" : for src.group as vs0 make tgt.group as vt0 then {
    "ConceptMap.group.source" : for vs0.source as vs make vt0.source as vt
    "ConceptMap.group.sourceVersion" : for vs0.sourceVersion as vs make vt0.sourceVersion as vt
    "ConceptMap.group.target" : for vs0.target as vs make vt0.target as vt
    "ConceptMap.group.targetVersion" : for vs0.targetVersion as vs make vt0.targetVersion as vt
  }
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/ConceptMap" alias ConceptMap as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ConceptMap" alias ConceptMapR3 as target

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



group ConceptMap extends DomainResource
  input src : ConceptMap as source
  input tgt : ConceptMapR3 as target

  "ConceptMap.url" : for src.url as vs make tgt.url as vt
  "ConceptMap.identifier" : for src.identifier as vs make tgt.identifier as vt
  "ConceptMap.version" : for src.version as vs make tgt.version as vt
  "ConceptMap.name" : for src.name as vs make tgt.name as vt
  "ConceptMap.title" : for src.title as vs make tgt.title as vt
  "ConceptMap.status" : for src.status as vs make tgt.status as vt
  "ConceptMap.experimental" : for src.experimental as vs make tgt.experimental as vt
  "ConceptMap.date" : for src.date as vs make tgt.date as vt
  "ConceptMap.publisher" : for src.publisher as vs make tgt.publisher as vt
  "ConceptMap.contact" : for src.contact as vs make tgt.contact as vt
  "ConceptMap.description" : for src.description as vs make tgt.description as vt
  "ConceptMap.useContext" : for src.useContext as vs make tgt.useContext as vt
  "ConceptMap.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "ConceptMap.purpose" : for src.purpose as vs make tgt.purpose as vt
  "ConceptMap.copyright" : for src.copyright as vs make tgt.copyright as vt
  "ConceptMap.source-uri" : for src.source  : uri as vs make tgt.source = create("uri") as vt then uri(vs,vt)
  "ConceptMap.target-uri" : for src.target  : uri as vs make tgt.target = create("uri") as vt then uri(vs,vt)
  "ConceptMap.group" : for src.group as vs0 make tgt.group as vt0 then {
    "ConceptMap.group.source" : for vs0.source as vs make vt0.source as vt
    "ConceptMap.group.sourceVersion" : for vs0.sourceVersion as vs make vt0.sourceVersion as vt
    "ConceptMap.group.target" : for vs0.target as vs make vt0.target as vt
    "ConceptMap.group.targetVersion" : for vs0.targetVersion as vs make vt0.targetVersion as vt
  }
endgroup