This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: N/A | Compartments: N/A |
Following are maps for converting between the equivalent R4B resource and this R5 resource.
/// url = 'http://hl7.org/fhir/StructureMap/SubscriptionTopic5to4B' /// name = 'SubscriptionTopic5to4B' /// title = 'FML Conversion for SubscriptionTopic: R5 to R4B' /// status = 'draft' conceptmap "CriteriaNotExistsBehavior" { prefix s = "http://hl7.org/fhir/subscriptiontopic-cr-behavior" prefix t = "http://hl7.org/fhir/4.3/subscriptiontopic-cr-behavior" s:"test-passes" - t:"test-passes" s:"test-fails" - t:"test-fails" } conceptmap "PublicationStatus" { prefix s = "http://hl7.org/fhir/publication-status" prefix t = "http://hl7.org/fhir/4.3/publication-status" s:draft - t:draft s:active - t:active s:retired - t:retired s:unknown - t:unknown } conceptmap "SearchComparator" { prefix s = "http://hl7.org/fhir/search-comparator" prefix t = "http://hl7.org/fhir/4.3/search-comparator" s:eq - t:eq s:ne - t:ne s:gt - t:gt s:lt - t:lt s:ge - t:ge s:le - t:le s:sa - t:sa s:eb - t:eb s:ap - t:ap } conceptmap "SearchModifierCode" { prefix s = "http://hl7.org/fhir/search-modifier-code" prefix t = "http://hl7.org/fhir/4.3/search-modifier-code" s:missing - t:missing s:exact - t:exact s:contains - t:contains s:not - t:not s:text - t:text s:in - t:in s:"not-in" - t:"not-in" s:below - t:below s:above - t:above s:type - t:type s:identifier - t:identifier } uses "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" alias SubscriptionTopicR5 as source uses "http://hl7.org/fhir/4.3/StructureDefinition/SubscriptionTopic" alias SubscriptionTopicR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group SubscriptionTopic(source src : SubscriptionTopicR5, target tgt : SubscriptionTopicR4B) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.title -> tgt.title; // src.versionAlgorithm : string -> tgt.versionAlgorithm; src.derivedFrom -> tgt.derivedFrom; src.status as v -> tgt.status = translate(v, '#PublicationStatus', 'code'); src.experimental -> tgt.experimental; 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.copyright -> tgt.copyright; src.approvalDate -> tgt.approvalDate; // src.copyrightLabel -> tgt.copyrightLabel; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.resourceTrigger as s -> tgt.resourceTrigger as t then SubscriptionTopicResourceTrigger(s, t); src.eventTrigger as s -> tgt.eventTrigger as t then SubscriptionTopicEventTrigger(s, t); src.notificationShape as s -> tgt.notificationShape as t then SubscriptionTopicNotificationShape(s, t); // src.canFilterBy as s -> tgt.canFilterBy as t then SubscriptionTopicCanFilterBy(s,t); } group SubscriptionTopicResourceTrigger(source src, target tgt) extends BackboneElement { src.description -> tgt.description; src.resource -> tgt.resource; src.supportedInteraction -> tgt.supportedInteraction; src.queryCriteria as s -> tgt.queryCriteria as t then SubscriptionTopicResourceTriggerQueryCriteria(s, t); src.fhirPathCriteria -> tgt.fhirPathCriteria; } group SubscriptionTopicResourceTriggerQueryCriteria(source src, target tgt) extends BackboneElement { src.previous -> tgt.previous; src.resultForCreate as v -> tgt.resultForCreate = translate(v, '#CriteriaNotExistsBehavior', 'code'); src.current -> tgt.current; src.resultForDelete as v -> tgt.resultForDelete = translate(v, '#CriteriaNotExistsBehavior', 'code'); src.requireBoth -> tgt.requireBoth; } group SubscriptionTopicEventTrigger(source src, target tgt) extends BackboneElement { src.description -> tgt.description; src.event -> tgt.event; src.resource -> tgt.resource; } group SubscriptionTopicNotificationShape(source src, target tgt) extends BackboneElement { src.resource -> tgt.resource; src.include -> tgt.include; src.revInclude -> tgt.revInclude; }
/// url = 'http://hl7.org/fhir/StructureMap/SubscriptionTopic4Bto5' /// name = 'SubscriptionTopic4Bto5' /// title = 'FML Conversion for SubscriptionTopic: R4B to R5' /// status = 'draft' conceptmap "CriteriaNotExistsBehavior" { prefix s = "http://hl7.org/fhir/4.3/subscriptiontopic-cr-behavior" prefix t = "http://hl7.org/fhir/subscriptiontopic-cr-behavior" s:"test-passes" - t:"test-passes" s:"test-fails" - t:"test-fails" } conceptmap "PublicationStatus" { prefix s = "http://hl7.org/fhir/4.3/publication-status" prefix t = "http://hl7.org/fhir/publication-status" s:draft - t:draft s:active - t:active s:retired - t:retired s:unknown - t:unknown } conceptmap "SearchComparator" { prefix s = "http://hl7.org/fhir/4.3/search-comparator" prefix t = "http://hl7.org/fhir/search-comparator" s:eq - t:eq s:ne - t:ne s:gt - t:gt s:lt - t:lt s:ge - t:ge s:le - t:le s:sa - t:sa s:eb - t:eb s:ap - t:ap } conceptmap "SearchModifierCode" { prefix s = "http://hl7.org/fhir/4.3/search-modifier-code" prefix t = "http://hl7.org/fhir/search-modifier-code" s:missing - t:missing s:exact - t:exact s:contains - t:contains s:not - t:not s:text - t:text s:in - t:in s:"not-in" - t:"not-in" s:below - t:below s:above - t:above s:type - t:type s:identifier - t:identifier } uses "http://hl7.org/fhir/4.3/StructureDefinition/SubscriptionTopic" alias SubscriptionTopicR4B as source uses "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" alias SubscriptionTopicR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group SubscriptionTopic(source src : SubscriptionTopicR4B, target tgt : SubscriptionTopicR5) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.title -> tgt.title; // src.versionAlgorithm : string -> tgt.versionAlgorithm; src.derivedFrom -> tgt.derivedFrom; src.status as v -> tgt.status = translate(v, '#PublicationStatus', 'code'); src.experimental -> tgt.experimental; 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.copyright -> tgt.copyright; src.approvalDate -> tgt.approvalDate; // src.copyrightLabel -> tgt.copyrightLabel; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.resourceTrigger as s -> tgt.resourceTrigger as t then SubscriptionTopicResourceTrigger(s, t); src.eventTrigger as s -> tgt.eventTrigger as t then SubscriptionTopicEventTrigger(s, t); src.notificationShape as s -> tgt.notificationShape as t then SubscriptionTopicNotificationShape(s, t); // src.canFilterBy as s -> tgt.canFilterBy as t then SubscriptionTopicCanFilterBy(s,t); } group SubscriptionTopicResourceTrigger(source src, target tgt) extends BackboneElement { src.description -> tgt.description; src.resource -> tgt.resource; src.supportedInteraction -> tgt.supportedInteraction; src.queryCriteria as s -> tgt.queryCriteria as t then SubscriptionTopicResourceTriggerQueryCriteria(s, t); src.fhirPathCriteria -> tgt.fhirPathCriteria; } group SubscriptionTopicResourceTriggerQueryCriteria(source src, target tgt) extends BackboneElement { src.previous -> tgt.previous; src.resultForCreate as v -> tgt.resultForCreate = translate(v, '#CriteriaNotExistsBehavior', 'code'); src.current -> tgt.current; src.resultForDelete as v -> tgt.resultForDelete = translate(v, '#CriteriaNotExistsBehavior', 'code'); src.requireBoth -> tgt.requireBoth; } group SubscriptionTopicEventTrigger(source src, target tgt) extends BackboneElement { src.description -> tgt.description; src.event -> tgt.event; src.resource -> tgt.resource; } group SubscriptionTopicNotificationShape(source src, target tgt) extends BackboneElement { src.resource -> tgt.resource; src.include -> tgt.include; src.revInclude -> tgt.revInclude; }