StructureMap-SubscriptionTopic5to4B

Sourcehl7.fhir.uv.extensions.r4#1.0.0:FHIR Extensions Pack (v4.0.1)
resourceTypeStructureMap
idSubscriptionTopic5to4B
canonicalhttp://hl7.org/fhir/StructureMap/SubscriptionTopic5to4B
version1.0.0
statusdraft
publisherHL7 International / FHIR Infrastructure
nameSubscriptionTopic5to4B
titleFML Conversion for SubscriptionTopic: R5 to R4B
date2023-03-26T08:47:34+11:00
descriptionFMLConversionforSubscriptionTopicR5toR4B
jurisdictionsuv
Usages(none)

    
/// 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    ;

    }


  

Produced 06 Apr 2023