FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/ActivityDefinition4Bto5 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: ActivityDefinition4Bto5 |
ActivityDefinitionTransformsR4BtoR5
/// url = 'http://hl7.org/fhir/StructureMap/ActivityDefinition4Bto5' /// name = 'ActivityDefinition4Bto5' /// title = 'ActivityDefinition Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/ActivityDefinition" alias ActivityDefinitionR4B as source uses "http://hl7.org/fhir/5.0/ActivityDefinition" alias ActivityDefinitionR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group ActivityDefinition(source src : ActivityDefinitionR4B, target tgt : ActivityDefinitionR5) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.subtitle -> tgt.subtitle; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/ActivityDefinitionB.status-R4BtoR5', 'code'); src.experimental -> tgt.experimental; src.subject as s where code = 'Patient' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/fhir-types', tcc.code = 'Patient', tcc.display = 'Patient'; src.subject as s where code = 'Practitioner' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/fhir-types', tcc.code = 'Patient', tcc.display = 'Practitioner'; src.subject as s where code = 'Organization' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/fhir-types', tcc.code = 'Patient', tcc.display = 'Organization'; src.subject as s where code = 'Location' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/fhir-types', tcc.code = 'Patient', tcc.display = 'Location'; src.subject as s where code = 'Device' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/fhir-types', tcc.code = 'Patient', tcc.display = 'Device'; src.subject : Reference -> tgt.subject; src.subject : canonical -> tgt.subject; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.purpose -> tgt.purpose; src.usage -> tgt.usage; src.copyright -> tgt.copyright; src.approvalDate -> tgt.approvalDate; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.topic -> tgt.topic; src.author -> tgt.author; src.editor -> tgt.editor; src.reviewer -> tgt.reviewer; src.endorser -> tgt.endorser; src.relatedArtifact -> tgt.relatedArtifact; src.library -> tgt.library; src.kind -> tgt.kind; src.profile -> tgt.profile; src.code -> tgt.code; src.intent as v -> tgt.intent = translate(v, 'http://hl7.org/fhir/ConceptMap/ActivityDefinitionB.intent-R4BtoR5', 'code'); src.priority as v -> tgt.priority = translate(v, 'http://hl7.org/fhir/ConceptMap/ActivityDefinitionB.priority-R4BtoR5', 'code'); src.doNotPerform -> tgt.doNotPerform; src.timing : Timing -> tgt.timing; src.timing : Age -> tgt.timing; src.timing : Range -> tgt.timing; src.timing : Duration -> tgt.timing; src.location -> tgt.location; src.participant as s -> tgt.participant as t then ActivityDefinitionParticipant(s, t); src.product : Reference -> tgt.product; src.product : CodeableConcept -> tgt.product; src.quantity -> tgt.quantity; src.dosage -> tgt.dosage; src.bodySite -> tgt.bodySite; src.specimenRequirement -> tgt.specimenRequirement; src.observationRequirement -> tgt.observationRequirement; src.observationResultRequirement -> tgt.observationResultRequirement; src.transform -> tgt.transform; src.dynamicValue as s -> tgt.dynamicValue as t then ActivityDefinitionDynamicValue(s, t); } group ActivityDefinitionParticipant(source src, target tgt) extends BackboneElement { src.type as v -> tgt.type = translate(v, 'http://hl7.org/fhir/ConceptMap/ActivityDefinitionB.participant.type-R4BtoR5', 'code'); src.role -> tgt.role; } group ActivityDefinitionDynamicValue(source src, target tgt) extends BackboneElement { src.path -> tgt.path; src.expression -> tgt.expression; }