Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot - see ballot notes). 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/AStandards Status: InformativeSecurity Category: Anonymous Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for NamingSystem.

Functional status for this map: 3 tests that all execute ok. 1 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(source src : NamingSystemR3, target tgt : NamingSystem) extends DomainResource <<type+>> {
  src.name -> tgt.name;
  src.status -> tgt.status;
  src.kind -> tgt.kind;
  src.date -> tgt.date;
  src.publisher -> tgt.publisher;
  src.contact -> tgt.contact;
  src.responsible -> tgt.responsible;
  src.type -> tgt.type;
  src.description -> tgt.description;
  src.useContext -> tgt.useContext;
  src.jurisdiction -> tgt.jurisdiction;
  src.usage -> tgt.usage;
  src.uniqueId as vs0 -> tgt.uniqueId as vt0 then {
    vs0.type -> vt0.type;
    vs0.value -> vt0.value;
    vs0.preferred -> vt0.preferred;
    vs0.comment -> vt0.comment;
    vs0.period -> vt0.period;
  };
}


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(source src : NamingSystem, target tgt : NamingSystemR3) extends DomainResource <<type+>> {
  src.name -> tgt.name;
  src.status -> tgt.status;
  src.kind -> tgt.kind;
  src.date -> tgt.date;
  src.publisher -> tgt.publisher;
  src.contact -> tgt.contact;
  src.responsible -> tgt.responsible;
  src.type -> tgt.type;
  src.description -> tgt.description;
  src.useContext -> tgt.useContext;
  src.jurisdiction -> tgt.jurisdiction;
  src.usage -> tgt.usage;
  src.uniqueId as vs0 -> tgt.uniqueId as vt0 then {
    vs0.type -> vt0.type;
    vs0.value -> vt0.value;
    vs0.preferred -> vt0.preferred;
    vs0.comment -> vt0.comment;
    vs0.period -> vt0.period;
  };
}


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