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

FHIR IG Statistics: StructureMap/Attachment3to2

Packagehl7.fhir.uv.xver
Resource TypeStructureMap
IdAttachment3to2
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Attachment3to2.html
URLhttp://hl7.org/fhir/StructureMap/Attachment3to2
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameAttachment3to2
TitleAttachment Transforms: R3 to R2
Realmuv
Authorityhl7
DescriptionAttachmentTransformsR3toR2

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/Attachment3to2'
/// name = 'Attachment3to2'
/// title = 'Attachment Transforms: R3 to R2'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/Attachment" alias Attachment as source
uses "http://hl7.org/fhir/1.0/Attachment" alias AttachmentR2 as target

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/Element3to2"

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


Source

{
  "resourceType": "StructureMap",
  "id": "Attachment3to2",
  "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/Attachment3to2",
  "version": "0.1.0",
  "name": "Attachment3to2",
  "title": "Attachment Transforms: R3 to R2",
  "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": "AttachmentTransformsR3toR2",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/3.0/Attachment",
      "mode": "source",
      "alias": "Attachment"
    },
    {
      "url": "http://hl7.org/fhir/1.0/Attachment",
      "mode": "target",
      "alias": "AttachmentR2"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/primitives3to2",
    "http://hl7.org/fhir/StructureMap/Element3to2"
  ],
  "group": [
    {
      "name": "Attachment",
      "extends": "Element",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "Attachment",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "AttachmentR2",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "Attachment-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": "Attachment-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": "Attachment-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": "Attachment-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": "Attachment-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": "Attachment-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": "Attachment-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": "Attachment-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"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}