StructureMap-BodyStructure5to4B

Sourcehl7.fhir.uv.extensions.r4#1.0.0:FHIR Extensions Pack (v4.0.1)
resourceTypeStructureMap
idBodyStructure5to4B
canonicalhttp://hl7.org/fhir/StructureMap/BodyStructure5to4B
version1.0.0
statusactive
publisherHL7 International / FHIR Infrastructure
nameBodyStructure5to4B
titleFML Conversion for BodyStructure: R5 to R4B
date2023-03-26T08:47:34+11:00
descriptionFMLConversionforBodyStructureR5toR4B
jurisdictionsuv
Usages(none)

    
/// url = 
    
    'http://hl7.org/fhir/StructureMap/BodyStructure5to4B'

    
/// name = 
    
    'BodyStructure5to4B'

    
/// title = 
    
    'FML Conversion for BodyStructure: R5 to R4B'

    
/// status = 
    
    'active'


    uses
     "
    http://hl7.org/fhir/StructureDefinition/BodyStructure
    " 
    alias 
BodyStructureR5     as 
    source

    uses
     "
http://hl7.org/fhir/4.3/StructureDefinition/BodyStructure    " 
    alias 
BodyStructureR4B     as 
    target


    imports
     "
http://hl7.org/fhir/StructureMap/*5to4B    "


    group 
BodyStructure    (
    source
     src
     : 
BodyStructureR5,     target
     tgt
     : 
BodyStructureR4B    )
     extends 
DomainResource     <<type+>>
     {

  src.identifier    
 ->     
tgt.identifier    ;

  src.active    
 ->     
tgt.active    ;

  src.morphology    
 ->     
tgt.morphology    ;

  src.includedStructure     as 
    s
    
 ->     
    tgt
     then
     {

    s.structure    
 ->     
tgt.location    ;

    s.laterality    
 ->     
tgt.locationQualifier    ;

      }
    ;
     // 
    src.includedStructure as s -> tgt.location = (s.structure);

  src.description    
 ->     
tgt.description    ;

  src.image    
 ->     
tgt.image    ;

  src.patient    
 ->     
tgt.patient    ;

    }


  

Produced 06 Apr 2023