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

FHIR IG Statistics: StructureMap/Outcome4to3

Packagehl7.fhir.uv.xver
Resource TypeStructureMap
IdOutcome4to3
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Outcome4to3.html
URLhttp://hl7.org/fhir/StructureMap/OperationOutcome4to3
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameOutcome4to3
TitleOperationOutcome Transforms: R4 to R3
Realmuv
Authorityhl7
DescriptionOperationOutcomeTransformsR4toR3

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/OperationOutcome4to3'
/// name = 'Outcome4to3'
/// title = 'OperationOutcome Transforms: R4 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/4.0/OperationOutcome" alias OperationOutcome as source
uses "http://hl7.org/fhir/3.0/OperationOutcome" alias OperationOutcomeR3 as target

imports "http://hl7.org/fhir/StructureMap/*4to3"

group OperationOutcome(source src : OperationOutcome, target tgt : OperationOutcomeR3) extends DomainResource <<type+>> {
  src.issue as vs0 -> tgt.issue as vt0 then {
    vs0.severity -> vt0.severity;
    vs0.code -> vt0.code;
    vs0.details -> vt0.details;
    vs0.diagnostics -> vt0.diagnostics;
    vs0.location -> vt0.location;
    vs0.expression -> vt0.expression;
  };
}


Source

{
  "resourceType": "StructureMap",
  "id": "Outcome4to3",
  "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/OperationOutcome4to3",
  "version": "0.1.0",
  "name": "Outcome4to3",
  "title": "OperationOutcome Transforms: R4 to R3",
  "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": "OperationOutcomeTransformsR4toR3",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/4.0/OperationOutcome",
      "mode": "source",
      "alias": "OperationOutcome"
    },
    {
      "url": "http://hl7.org/fhir/3.0/OperationOutcome",
      "mode": "target",
      "alias": "OperationOutcomeR3"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*4to3"
  ],
  "group": [
    {
      "name": "OperationOutcome",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "OperationOutcome",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "OperationOutcomeR3",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "issue",
          "source": [
            {
              "context": "src",
              "element": "issue",
              "variable": "vs0"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "issue",
              "variable": "vt0"
            }
          ],
          "rule": [
            {
              "name": "severity",
              "source": [
                {
                  "context": "vs0",
                  "element": "severity",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "severity",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "code",
              "source": [
                {
                  "context": "vs0",
                  "element": "code",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "code",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "details",
              "source": [
                {
                  "context": "vs0",
                  "element": "details",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "details",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "diagnostics",
              "source": [
                {
                  "context": "vs0",
                  "element": "diagnostics",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "diagnostics",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "location",
              "source": [
                {
                  "context": "vs0",
                  "element": "location",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "location",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "expression",
              "source": [
                {
                  "context": "vs0",
                  "element": "expression",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "expression",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}