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

FHIR IG Statistics: StructureMap/Endpoint5to4B

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

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

uses "http://hl7.org/fhir/5.0/Endpoint" alias EndpointR5 as source
uses "http://hl7.org/fhir/4.0/Endpoint" alias EndpointR4B as target

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

group Endpoint(source src : EndpointR5, target tgt : EndpointR4B) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Endpoint.status-R5toR4', 'code');
  src.connectionType -> tgt.connectionType;
  src.name -> tgt.name;
  src.managingOrganization -> tgt.managingOrganization;
  src.contact -> tgt.contact;
  src.period -> tgt.period;
  src.payload as s -> tgt then {
    s.type -> tgt.payloadType;
    s.mimeType -> tgt.payloadMimeType;
  };
  src.address -> tgt.address;
  src.header -> tgt.header;
}


Source

{
  "resourceType": "StructureMap",
  "id": "Endpoint5to4B",
  "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/Endpoint5to4B",
  "version": "0.1.0",
  "name": "Endpoint5to4B",
  "title": "Endpoint 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": "EndpointTransformsR5toR4B",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/5.0/Endpoint",
      "mode": "source",
      "alias": "EndpointR5"
    },
    {
      "url": "http://hl7.org/fhir/4.0/Endpoint",
      "mode": "target",
      "alias": "EndpointR4B"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*5to4B"
  ],
  "group": [
    {
      "name": "Endpoint",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "EndpointR5",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "EndpointR4B",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "status",
          "source": [
            {
              "context": "src",
              "element": "status",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "status",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/Endpoint.status-R5toR4"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "connectionType",
          "source": [
            {
              "context": "src",
              "element": "connectionType",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "connectionType",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "name",
          "source": [
            {
              "context": "src",
              "element": "name",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "name",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "managingOrganization",
          "source": [
            {
              "context": "src",
              "element": "managingOrganization",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "managingOrganization",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "contact",
          "source": [
            {
              "context": "src",
              "element": "contact",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "contact",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "period",
          "source": [
            {
              "context": "src",
              "element": "period",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "period",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "payload",
          "source": [
            {
              "context": "src",
              "element": "payload",
              "variable": "s"
            }
          ],
          "target": [
            {
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "tgt"
                }
              ]
            }
          ],
          "rule": [
            {
              "name": "type",
              "source": [
                {
                  "context": "s",
                  "element": "type",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "tgt",
                  "element": "payloadType",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "mimeType",
              "source": [
                {
                  "context": "s",
                  "element": "mimeType",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "tgt",
                  "element": "payloadMimeType",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "address",
          "source": [
            {
              "context": "src",
              "element": "address",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "address",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "header",
          "source": [
            {
              "context": "src",
              "element": "header",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "header",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}