FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

Terminology Infrastructure icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Anonymous Compartments: No defined compartments

R4 : R5 Conversion maps for NamingSystem.

Functional status for this map: See Conversions Summary. (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;
  };
}


No validation errors - all conversions are clean