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

FHIR IG Statistics: StructureMap/Attachment5to4B

Packagehl7.fhir.uv.xver
Resource TypeStructureMap
IdAttachment5to4B
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Attachment5to4B.html
URLhttp://hl7.org/fhir/StructureMap/Attachment5to4B
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameAttachment5to4B
TitleAttachment Transforms: R5 to R4B
Realmuv
Authorityhl7
DescriptionAttachmentTransformsR5toR4B

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/Attachment5to4B'
/// name = 'Attachment5to4B'
/// title = 'Attachment Transforms: R5 to R4B'
/// status = 'active'

uses "http://hl7.org/fhir/5.0/Attachment" alias AttachmentR5 as source
uses "http://hl7.org/fhir/4.0/Attachment" alias AttachmentR4B as target

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

group Attachment(source src : AttachmentR5, target tgt : AttachmentR4B) extends Element <<type+>> {
  src.contentType -> tgt.contentType;
  src.language -> tgt.language;
  src.data -> tgt.data;
  src.url -> tgt.url;
  src.size -> tgt.size;
  src.hash -> tgt.hash;
  src.title -> tgt.title;
  src.creation -> tgt.creation;
}


Source

{
  "resourceType": "StructureMap",
  "id": "Attachment5to4B",
  "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/Attachment5to4B",
  "version": "0.1.0",
  "name": "Attachment5to4B",
  "title": "Attachment Transforms: R5 to R4B",
  "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": "AttachmentTransformsR5toR4B",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/5.0/Attachment",
      "mode": "source",
      "alias": "AttachmentR5"
    },
    {
      "url": "http://hl7.org/fhir/4.0/Attachment",
      "mode": "target",
      "alias": "AttachmentR4B"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*5to4B"
  ],
  "group": [
    {
      "name": "Attachment",
      "extends": "Element",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "AttachmentR5",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "AttachmentR4B",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "contentType",
          "source": [
            {
              "context": "src",
              "element": "contentType",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "contentType",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "language",
          "source": [
            {
              "context": "src",
              "element": "language",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "language",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "data",
          "source": [
            {
              "context": "src",
              "element": "data",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "data",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "url",
          "source": [
            {
              "context": "src",
              "element": "url",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "url",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "size",
          "source": [
            {
              "context": "src",
              "element": "size",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "size",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "hash",
          "source": [
            {
              "context": "src",
              "element": "hash",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "hash",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "title",
          "source": [
            {
              "context": "src",
              "element": "title",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "title",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "creation",
          "source": [
            {
              "context": "src",
              "element": "creation",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "creation",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}