R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 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

Financial Management Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R2 : R3 Conversion maps for EnrollmentResponse.

Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and all r3 resources are valid. (see documentation)

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

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/EnrollmentResponse" alias EnrollmentResponseR2 as source
uses "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" alias EnrollmentResponse as target

imports "http://hl7.org/fhir/StructureMap/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/DomainResource2to3"
imports "http://hl7.org/fhir/StructureMap/Identifier2to3"
imports "http://hl7.org/fhir/StructureMap/Reference2to3"

group for type+types  EnrollmentResponse extends DomainResource
  input src : EnrollmentResponseR2 as source
  input tgt : EnrollmentResponse as target

  "EnrollmentResponse-identifier" : for src.identifier make tgt.identifier
  "EnrollmentResponse-request" : for src.request make tgt.request
  "EnrollmentResponse-disposition" : for src.disposition make tgt.disposition
  "EnrollmentResponse-created" : for src.created make tgt.created
  "EnrollmentResponse-organization" : for src.organization make tgt.organization
  "EnrollmentResponse-requestProvider" : for src.requestProvider make tgt.requestProvider
  "EnrollmentResponse-requestOrganization" : for src.requestOrganization make tgt.requestOrganization

endgroup

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

uses "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" alias EnrollmentResponse as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/EnrollmentResponse" alias EnrollmentResponseR2 as target

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/DomainResource3to2"
imports "http://hl7.org/fhir/StructureMap/Identifier3to2"

group for type+types  EnrollmentResponse extends DomainResource
  input src : EnrollmentResponse as source
  input tgt : EnrollmentResponseR2 as target

  "EnrollmentResponse-identifier" : for src.identifier make tgt.identifier
  "EnrollmentResponse-disposition" : for src.disposition make tgt.disposition
  "EnrollmentResponse-created" : for src.created make tgt.created

endgroup