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

R3 : R4 Conversion maps for Slot.

Functional status for this map: 4 tests of which 4 fail to execute. (see documentation)

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/Slot" alias SlotR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Slot" alias Slot as target

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



group Slot extends DomainResource
  input src : SlotR3 as source
  input tgt : Slot as target

  "Slot.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Slot.serviceCategory" : for src.serviceCategory as vs make tgt.serviceCategory as vt
  "Slot.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Slot.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Slot.appointmentType" : for src.appointmentType as vs make tgt.appointmentType as vt
  "Slot.schedule" : for src.schedule as vs make tgt.schedule as vt
  "Slot.status" : for src.status as vs make tgt.status as vt
  "Slot.start" : for src.start as vs make tgt.start as vt
  "Slot.end" : for src.end as vs make tgt.end as vt
  "Slot.overbooked" : for src.overbooked as vs make tgt.overbooked as vt
  "Slot.comment" : for src.comment as vs make tgt.comment as vt
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/Slot" alias Slot as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Slot" alias SlotR3 as target

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



group Slot extends DomainResource
  input src : Slot as source
  input tgt : SlotR3 as target

  "Slot.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Slot.serviceCategory" : for src.serviceCategoryFirstRep as vs make tgt.serviceCategory as vt
  "Slot.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Slot.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Slot.appointmentType" : for src.appointmentType as vs make tgt.appointmentType as vt
  "Slot.schedule" : for src.schedule as vs make tgt.schedule as vt
  "Slot.status" : for src.status as vs make tgt.status as vt
  "Slot.start" : for src.start as vs make tgt.start as vt
  "Slot.end" : for src.end as vs make tgt.end as vt
  "Slot.overbooked" : for src.overbooked as vs make tgt.overbooked as vt
  "Slot.comment" : for src.comment as vs make tgt.comment as vt
endgroup