R4 Ballot #1 #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: (v3.5.0: R4 Ballot 2). #2). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Patient Administration Work Group Maturity Level : N/A Ballot Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

R2 : R3 : R4 Conversion maps for Schedule.

Functional status for this map: 1 test that all execute ok. All 3 tests pass round-trip testing and all r3 resources are valid. of which 3 fail to execute . ( see documentation)

map "http://hl7.org/fhir/StructureMap/Schedule2to3" = "R2 to R3 Conversions for Schedule"

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


uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Schedule" alias ScheduleR2 as source


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/*2to3"

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


group for type+types  Schedule extends DomainResource
  input src : ScheduleR2 as source
  input tgt : Schedule as target


  "Schedule-identifier" : for src.identifier make tgt.identifier
  "Schedule-serviceType" : for src.type make tgt.serviceType
  "Schedule-actor" : for src.actor make tgt.actor
  "Schedule-planningHorizon" : for src.planningHorizon make tgt.planningHorizon
  "Schedule-comment" : for src.comment make tgt.comment


group Schedule extends DomainResource
  input src : ScheduleR3 as source
  input tgt : Schedule as target

  "Schedule.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Schedule.active" : for src.active as vs make tgt.active as vt
  "Schedule.serviceCategory" : for src.serviceCategory as vs make tgt.serviceCategory as vt
  "Schedule.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Schedule.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Schedule.actor" : for src.actor as vs make tgt.actor as vt
  "Schedule.planningHorizon" : for src.planningHorizon as vs make tgt.planningHorizon as vt
  "Schedule.comment" : for src.comment as vs make tgt.comment as vt

endgroup



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

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/DSTU2/StructureDefinition/Schedule" alias ScheduleR2 as target

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


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

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


group for type+types  Schedule extends DomainResource
  input src : Schedule as source
  input tgt : ScheduleR2 as target


  "Schedule-identifier" : for src.identifier make tgt.identifier
  "Schedule-type" : for src.serviceType make tgt.type
  "Schedule-actor" : for src.actor make tgt.actor
  "Schedule-planningHorizon" : for src.planningHorizon make tgt.planningHorizon
  "Schedule-comment" : for src.comment make tgt.comment


group Schedule extends DomainResource
  input src : Schedule as source
  input tgt : ScheduleR3 as target

  "Schedule.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Schedule.active" : for src.active as vs make tgt.active as vt
  "Schedule.serviceCategory" : for src.serviceCategoryFirstRep as vs make tgt.serviceCategory as vt
  "Schedule.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Schedule.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Schedule.actor" : for src.actor as vs make tgt.actor as vt
  "Schedule.planningHorizon" : for src.planningHorizon as vs make tgt.planningHorizon as vt
  "Schedule.comment" : for src.comment as vs make tgt.comment as vt

endgroup