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

R3 : R4 Conversion maps for GraphDefinition.

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/GraphDefinition3to4" = "R3 to R4 Conversions for GraphDefinition"


uses "http://hl7.org/fhir/3.0/StructureDefinition/GraphDefinition" alias GraphDefinitionR3 as source
uses "http://hl7.org/fhir/StructureDefinition/GraphDefinition" alias GraphDefinition as target

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



group GraphDefinition extends DomainResource
  input src : GraphDefinitionR3 as source
  input tgt : GraphDefinition as target

  "GraphDefinition.url" : for src.url as vs make tgt.url as vt
  "GraphDefinition.version" : for src.version as vs make tgt.version as vt
  "GraphDefinition.name" : for src.name as vs make tgt.name as vt
  "GraphDefinition.status" : for src.status as vs make tgt.status as vt
  "GraphDefinition.experimental" : for src.experimental as vs make tgt.experimental as vt
  "GraphDefinition.date" : for src.date as vs make tgt.date as vt
  "GraphDefinition.publisher" : for src.publisher as vs make tgt.publisher as vt
  "GraphDefinition.contact" : for src.contact as vs make tgt.contact as vt
  "GraphDefinition.description" : for src.description as vs make tgt.description as vt
  "GraphDefinition.useContext" : for src.useContext as vs make tgt.useContext as vt
  "GraphDefinition.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "GraphDefinition.purpose" : for src.purpose as vs make tgt.purpose as vt
  "GraphDefinition.start" : for src.start as vs make tgt.start as vt
  "GraphDefinition.link" : for src.link as vs0 make tgt.link as vt0 then {
    "GraphDefinition.link.path" : for vs0.path as vs make vt0.path as vt
    "GraphDefinition.link.sliceName" : for vs0.sliceName as vs make vt0.sliceName as vt
    "GraphDefinition.link.min" : for vs0.min as vs make vt0.min as vt
    "GraphDefinition.link.max" : for vs0.max as vs make vt0.max as vt
    "GraphDefinition.link.description" : for vs0.description as vs make vt0.description as vt
  }
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/GraphDefinition" alias GraphDefinition as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/GraphDefinition" alias GraphDefinitionR3 as target

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



group GraphDefinition extends DomainResource
  input src : GraphDefinition as source
  input tgt : GraphDefinitionR3 as target

  "GraphDefinition.url" : for src.url as vs make tgt.url as vt
  "GraphDefinition.version" : for src.version as vs make tgt.version as vt
  "GraphDefinition.name" : for src.name as vs make tgt.name as vt
  "GraphDefinition.status" : for src.status as vs make tgt.status as vt
  "GraphDefinition.experimental" : for src.experimental as vs make tgt.experimental as vt
  "GraphDefinition.date" : for src.date as vs make tgt.date as vt
  "GraphDefinition.publisher" : for src.publisher as vs make tgt.publisher as vt
  "GraphDefinition.contact" : for src.contact as vs make tgt.contact as vt
  "GraphDefinition.description" : for src.description as vs make tgt.description as vt
  "GraphDefinition.useContext" : for src.useContext as vs make tgt.useContext as vt
  "GraphDefinition.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt
  "GraphDefinition.purpose" : for src.purpose as vs make tgt.purpose as vt
  "GraphDefinition.start" : for src.start as vs make tgt.start as vt
  "GraphDefinition.link" : for src.link as vs0 make tgt.link as vt0 then {
    "GraphDefinition.link.path" : for vs0.path as vs make vt0.path as vt
    "GraphDefinition.link.sliceName" : for vs0.sliceName as vs make vt0.sliceName as vt
    "GraphDefinition.link.min" : for vs0.min as vs make vt0.min as vt
    "GraphDefinition.link.max" : for vs0.max as vs make vt0.max as vt
    "GraphDefinition.link.description" : for vs0.description as vs make vt0.description as vt
  }
endgroup