Current Build
Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Business Compartments: Device, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for Schedule.

Functional status for this map: 3 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/Schedule3to4" = "R3 to R4 Conversions for Schedule"

uses "http://hl7.org/fhir/3.0/StructureDefinition/Schedule" alias ScheduleR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as target

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

group Schedule(source src : ScheduleR3, target tgt : Schedule) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.actor -> tgt.actor;
  src.planningHorizon -> tgt.planningHorizon;
  src.comment -> tgt.comment;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Schedule" alias ScheduleR3 as target

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

group Schedule(source src : Schedule, target tgt : ScheduleR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.actor -> tgt.actor;
  src.planningHorizon -> tgt.planningHorizon;
  src.comment -> tgt.comment;
}

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