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

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

R3 : R4 Conversion maps for NamingSystem.

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

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/NamingSystem" alias NamingSystemR3 as source
uses "http://hl7.org/fhir/StructureDefinition/NamingSystem" alias NamingSystem as target

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



group NamingSystem extends DomainResource
  input src : NamingSystemR3 as source
  input tgt : NamingSystem as target

  "NamingSystem.name" : for src.name as vs make tgt.name as vt
  "NamingSystem.status" : for src.status as vs make tgt.status as vt
  "NamingSystem.kind" : for src.kind as vs make tgt.kind as vt
  "NamingSystem.date" : for src.date as vs make tgt.date as vt
  "NamingSystem.publisher" : for src.publisher as vs make tgt.publisher as vt
  "NamingSystem.contact" : for src.contact as vs make tgt.contact as vt
  "NamingSystem.responsible" : for src.responsible as vs make tgt.responsible as vt
  "NamingSystem.type" : for src.type as vs make tgt.type as vt
  "NamingSystem.description" : for src.description as vs make tgt.description as vt
  "NamingSystem.useContext" : for src.useContext as vs make tgt.useContext as vt
  "NamingSystem.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "NamingSystem.usage" : for src.usage as vs make tgt.usage as vt
  "NamingSystem.uniqueId" : for src.uniqueId as vs0 make tgt.uniqueId as vt0 then {
    "NamingSystem.uniqueId.type" : for vs0.type as vs make vt0.type as vt
    "NamingSystem.uniqueId.value" : for vs0.value as vs make vt0.value as vt
    "NamingSystem.uniqueId.preferred" : for vs0.preferred as vs make vt0.preferred as vt
    "NamingSystem.uniqueId.comment" : for vs0.comment as vs make vt0.comment as vt
    "NamingSystem.uniqueId.period" : for vs0.period as vs make vt0.period as vt
  }
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/NamingSystem" alias NamingSystem as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/NamingSystem" alias NamingSystemR3 as target

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



group NamingSystem extends DomainResource
  input src : NamingSystem as source
  input tgt : NamingSystemR3 as target

  "NamingSystem.name" : for src.name as vs make tgt.name as vt
  "NamingSystem.status" : for src.status as vs make tgt.status as vt
  "NamingSystem.kind" : for src.kind as vs make tgt.kind as vt
  "NamingSystem.date" : for src.date as vs make tgt.date as vt
  "NamingSystem.publisher" : for src.publisher as vs make tgt.publisher as vt
  "NamingSystem.contact" : for src.contact as vs make tgt.contact as vt
  "NamingSystem.responsible" : for src.responsible as vs make tgt.responsible as vt
  "NamingSystem.type" : for src.type as vs make tgt.type as vt
  "NamingSystem.description" : for src.description as vs make tgt.description as vt
  "NamingSystem.useContext" : for src.useContext as vs make tgt.useContext as vt
  "NamingSystem.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "NamingSystem.usage" : for src.usage as vs make tgt.usage as vt
  "NamingSystem.uniqueId" : for src.uniqueId as vs0 make tgt.uniqueId as vt0 then {
    "NamingSystem.uniqueId.type" : for vs0.type as vs make vt0.type as vt
    "NamingSystem.uniqueId.value" : for vs0.value as vs make vt0.value as vt
    "NamingSystem.uniqueId.preferred" : for vs0.preferred as vs make vt0.preferred as vt
    "NamingSystem.uniqueId.comment" : for vs0.comment as vs make vt0.comment as vt
    "NamingSystem.uniqueId.period" : for vs0.period as vs make vt0.period as vt
  }
endgroup