Release 4

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Business Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for Slot.

Functional status for this map: 4 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (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(source src : SlotR3, target tgt : Slot) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.appointmentType -> tgt.appointmentType;
  src.schedule -> tgt.schedule;
  src.status -> tgt.status;
  src.start -> tgt.start;
  src.end -> tgt.end;
  src.overbooked -> tgt.overbooked;
  src.comment -> tgt.comment;
}


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(source src : Slot, target tgt : SlotR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.appointmentType -> tgt.appointmentType;
  src.schedule -> tgt.schedule;
  src.status -> tgt.status;
  src.start -> tgt.start;
  src.end -> tgt.end;
  src.overbooked -> tgt.overbooked;
  src.comment -> tgt.comment;
}


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