FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureMap/Signature3to4

Packagehl7.fhir.uv.xver
TypeStructureMap
IdSignature3to4
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Signature3to4.html
URLhttp://hl7.org/fhir/StructureMap/Signature3to4
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameSignature3to4
TitleSignature Transforms: R3 to R4
Realmuv
Authorityhl7
DescriptionSignatureTransformsR3toR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/Signature3to4'
/// name = 'Signature3to4'
/// title = 'Signature Transforms: R3 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/Signature" alias SignatureR3 as source
uses "http://hl7.org/fhir/4.0/Signature" alias Signature as target

imports "http://hl7.org/fhir/StructureMap/*3to4"

group Signature(source src : SignatureR3, target tgt : Signature) extends Element <<type+>> {
  src.type -> tgt.type;
  src.when -> tgt.when;
  src.who : uri as vs ->  tgt.who as ref,  ref.reference = vs,  ref.extension as ext,  ext.url = 'http://hl7.org/fhir/3.0/StructureDefinition/BaseType',  ext.value = 'uri';
  src.who : Reference as vs0 -> tgt.who as vt0 then Reference(vs0, vt0);
  src.onBehalfOf : uri as vs ->  tgt.onBehalfOf as ref,  ref.reference = vs,  ref.extension as ext,  ext.url = 'http://hl7.org/fhir/3.0/StructureDefinition/BaseType',  ext.value = 'uri';
  src.onBehalfOf : Reference as vs0 -> tgt.onBehalfOf as vt0 then Reference(vs0, vt0);
  src.contentType -> tgt.sigFormat;
  src.blob -> tgt.data;
}


Source

{
  "resourceType": "StructureMap",
  "id": "Signature3to4",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "draft",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/StructureMap/Signature3to4",
  "version": "0.1.0",
  "name": "Signature3to4",
  "title": "Signature Transforms: R3 to R4",
  "status": "active",
  "date": "2024-02-22T03:16:50+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "SignatureTransformsR3toR4",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/3.0/Signature",
      "mode": "source",
      "alias": "SignatureR3"
    },
    {
      "url": "http://hl7.org/fhir/4.0/Signature",
      "mode": "target",
      "alias": "Signature"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*3to4"
  ],
  "group": [
    {
      "name": "Signature",
      "extends": "Element",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "SignatureR3",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "Signature",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "type",
          "source": [
            {
              "context": "src",
              "element": "type",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "when",
          "source": [
            {
              "context": "src",
              "element": "when",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "when",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "whoUri",
          "source": [
            {
              "context": "src",
              "type": "uri",
              "element": "who",
              "variable": "vs"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "who",
              "variable": "ref"
            },
            {
              "context": "ref",
              "element": "reference",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vs"
                }
              ]
            },
            {
              "context": "ref",
              "element": "extension",
              "variable": "ext"
            },
            {
              "context": "ext",
              "element": "url",
              "transform": "copy",
              "parameter": [
                {
                  "valueString": "http://hl7.org/fhir/3.0/StructureDefinition/BaseType"
                }
              ]
            },
            {
              "context": "ext",
              "element": "value",
              "transform": "copy",
              "parameter": [
                {
                  "valueString": "uri"
                }
              ]
            }
          ]
        },
        {
          "name": "whoReference",
          "source": [
            {
              "context": "src",
              "type": "Reference",
              "element": "who",
              "variable": "vs0"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "who",
              "variable": "vt0"
            }
          ],
          "dependent": [
            {
              "name": "Reference",
              "parameter": [
                {
                  "valueId": "vs0"
                },
                {
                  "valueId": "vt0"
                }
              ]
            }
          ]
        },
        {
          "name": "onBehalfOfUri",
          "source": [
            {
              "context": "src",
              "type": "uri",
              "element": "onBehalfOf",
              "variable": "vs"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "onBehalfOf",
              "variable": "ref"
            },
            {
              "context": "ref",
              "element": "reference",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vs"
                }
              ]
            },
            {
              "context": "ref",
              "element": "extension",
              "variable": "ext"
            },
            {
              "context": "ext",
              "element": "url",
              "transform": "copy",
              "parameter": [
                {
                  "valueString": "http://hl7.org/fhir/3.0/StructureDefinition/BaseType"
                }
              ]
            },
            {
              "context": "ext",
              "element": "value",
              "transform": "copy",
              "parameter": [
                {
                  "valueString": "uri"
                }
              ]
            }
          ]
        },
        {
          "name": "onBehalfOfReference",
          "source": [
            {
              "context": "src",
              "type": "Reference",
              "element": "onBehalfOf",
              "variable": "vs0"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "onBehalfOf",
              "variable": "vt0"
            }
          ],
          "dependent": [
            {
              "name": "Reference",
              "parameter": [
                {
                  "valueId": "vs0"
                },
                {
                  "valueId": "vt0"
                }
              ]
            }
          ]
        },
        {
          "name": "contentType",
          "source": [
            {
              "context": "src",
              "element": "contentType",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "sigFormat",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "blob",
          "source": [
            {
              "context": "src",
              "element": "blob",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "data",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}