FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.us.ndh
Resource TypeStructureMap
IdStructureMap-PlanNetToNdhEndpointSM.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/fhir-us-ndh/StructureMap-PlanNetToNdhEndpointSM.html
URLhttp://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhEndpointSM
Version2.0.0-current
Statusactive
Date2026-08-03T21:11:28+00:00
NamePlanNetToNdhEndpointSM
TitlePlan-Net Endpoint to NDH Endpoint StructureMap
Realmus
Authorityhl7
DescriptionThis StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint.

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

Generated Narrative: StructureMap PlanNetToNdhEndpointSM

map "http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhEndpointSM" = "PlanNetToNdhEndpointSM"

// This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint.

uses "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint" alias EndpointPN as source
uses "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint" alias EndpointNDH as target

group PlanNetToNdhEndpoint(source src : EndpointPN, target tgt : EndpointNDH) {
  src.extension as vDroppedEndpointUsecase where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/endpoint-usecase') "dropPlanNetEndpointUsecases"; // intentionally not mapped as there is no equivalent in NDH.
  src.language as vLanguage -> tgt.language = vLanguage;
  src.text as vText -> tgt.text = vText;
  src.managingOrganization as vManagingOrg -> tgt.managingOrganization = vManagingOrg;
  src.contact as vContactSrc -> tgt.contact as vContactTgt then {
    vContactSrc.value as vContactValue -> vContactTgt.value = vContactValue "copyContactValue";
    vContactSrc.system as vContactSystem -> vContactTgt.system = vContactSystem "copyContactSystem";
  } "copyContact";
  src.identifier as vIdentifierSrc -> tgt.identifier as vIdentifierTgt then {
    vIdentifierSrc as vIdentifierValue -> vIdentifierTgt = vIdentifierValue "copyIdentifierValue";
    vIdentifierSrc.assigner as vIdentifierAssigner -> vIdentifierTgt.assigner = vIdentifierAssigner "copyIdentifierAssigner";
  } "copyIdentifier";
  src.status as vStatus -> tgt.status = vStatus;
  src.connectionType as vConnectionTypeSrc where (system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS') -> tgt.connectionType = translate(vConnectionTypeSrc, 'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-endpoint-connection-type', 'Coding') "translateConnectionType";
  src.connectionType as vConnectionTypeOtherSrc where (system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS') -> tgt.connectionType = vConnectionTypeOtherSrc "copyConnectionTypeOther";
  src.name as vName -> tgt.name = vName;
  src.payloadType as vPayloadType -> tgt.payloadType = vPayloadType;
  src.payloadMimeType as vPayloadMimeType -> tgt.payloadMimeType = vPayloadMimeType;
  src.address as vAddress -> tgt.address = vAddress;
  src.header as vHeader -> tgt.header = vHeader;
  src.period as vPeriod -> tgt.period = vPeriod;
  src.meta as vMetaSrc -> tgt.meta as vMetaTgt then {
    vMetaSrc.lastUpdated as vLastUpdated -> vMetaTgt.lastUpdated = vLastUpdated "copyMetaLastUpdated";
    vMetaSrc as vMetaProfileSrc -> vMetaTgt.profile = 'http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint' "setTargetProfile";
  } "copyMeta";
}


Source1

{
  "resourceType": "StructureMap",
  "id": "PlanNetToNdhEndpointSM",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 4,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhEndpointSM",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.43.43.1"
    }
  ],
  "version": "2.0.0-current",
  "name": "PlanNetToNdhEndpointSM",
  "title": "Plan-Net Endpoint to NDH Endpoint StructureMap",
  "status": "active",
  "date": "2026-08-03T21:11:28+00:00",
  "publisher": "HL7 International / Patient Administration",
  "contact": [
    {
      "name": "HL7 International / Patient Administration",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/pafm"
        },
        {
          "system": "email",
          "value": "pafm@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint",
      "mode": "source",
      "alias": "EndpointPN"
    },
    {
      "url": "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint",
      "mode": "target",
      "alias": "EndpointNDH"
    }
  ],
  "group": [
    {
      "name": "PlanNetToNdhEndpoint",
      "typeMode": "none",
      "input": [
        {
          "name": "src",
          "type": "EndpointPN",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "EndpointNDH",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "dropPlanNetEndpointUsecases",
          "source": [
            {
              "context": "src",
              "element": "extension",
              "variable": "vDroppedEndpointUsecase",
              "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/endpoint-usecase'"
            }
          ]
        },
        {
          "name": "language",
          "source": [
            {
              "context": "src",
              "element": "language",
              "variable": "vLanguage"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "language",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vLanguage"
                }
              ]
            }
          ]
        },
        {
          "name": "text",
          "source": [
            {
              "context": "src",
              "element": "text",
              "variable": "vText"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "text",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vText"
                }
              ]
            }
          ]
        },
        {
          "name": "managingOrganization",
          "source": [
            {
              "context": "src",
              "element": "managingOrganization",
              "variable": "vManagingOrg"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "managingOrganization",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vManagingOrg"
                }
              ]
            }
          ]
        },
        {
          "name": "copyContact",
          "source": [
            {
              "context": "src",
              "element": "contact",
              "variable": "vContactSrc"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "contact",
              "variable": "vContactTgt"
            }
          ],
          "rule": [
            {
              "name": "copyContactValue",
              "source": [
                {
                  "context": "vContactSrc",
                  "element": "value",
                  "variable": "vContactValue"
                }
              ],
              "target": [
                {
                  "context": "vContactTgt",
                  "contextType": "variable",
                  "element": "value",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vContactValue"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyContactSystem",
              "source": [
                {
                  "context": "vContactSrc",
                  "element": "system",
                  "variable": "vContactSystem"
                }
              ],
              "target": [
                {
                  "context": "vContactTgt",
                  "contextType": "variable",
                  "element": "system",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vContactSystem"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "copyIdentifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vIdentifierSrc"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "identifier",
              "variable": "vIdentifierTgt"
            }
          ],
          "rule": [
            {
              "name": "copyIdentifierValue",
              "source": [
                {
                  "context": "vIdentifierSrc",
                  "variable": "vIdentifierValue"
                }
              ],
              "target": [
                {
                  "context": "vIdentifierTgt",
                  "contextType": "variable",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vIdentifierValue"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyIdentifierAssigner",
              "source": [
                {
                  "context": "vIdentifierSrc",
                  "element": "assigner",
                  "variable": "vIdentifierAssigner"
                }
              ],
              "target": [
                {
                  "context": "vIdentifierTgt",
                  "contextType": "variable",
                  "element": "assigner",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vIdentifierAssigner"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "status",
          "source": [
            {
              "context": "src",
              "element": "status",
              "variable": "vStatus"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "status",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vStatus"
                }
              ]
            }
          ]
        },
        {
          "name": "translateConnectionType",
          "source": [
            {
              "context": "src",
              "element": "connectionType",
              "variable": "vConnectionTypeSrc",
              "condition": "system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS'"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "connectionType",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "vConnectionTypeSrc"
                },
                {
                  "valueString": "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-endpoint-connection-type"
                },
                {
                  "valueString": "Coding"
                }
              ]
            }
          ]
        },
        {
          "name": "copyConnectionTypeOther",
          "source": [
            {
              "context": "src",
              "element": "connectionType",
              "variable": "vConnectionTypeOtherSrc",
              "condition": "system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS'"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "connectionType",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vConnectionTypeOtherSrc"
                }
              ]
            }
          ]
        },
        {
          "name": "name",
          "source": [
            {
              "context": "src",
              "element": "name",
              "variable": "vName"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "name",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vName"
                }
              ]
            }
          ]
        },
        {
          "name": "payloadType",
          "source": [
            {
              "context": "src",
              "element": "payloadType",
              "variable": "vPayloadType"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "payloadType",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vPayloadType"
                }
              ]
            }
          ]
        },
        {
          "name": "payloadMimeType",
          "source": [
            {
              "context": "src",
              "element": "payloadMimeType",
              "variable": "vPayloadMimeType"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "payloadMimeType",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vPayloadMimeType"
                }
              ]
            }
          ]
        },
        {
          "name": "address",
          "source": [
            {
              "context": "src",
              "element": "address",
              "variable": "vAddress"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "address",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vAddress"
                }
              ]
            }
          ]
        },
        {
          "name": "header",
          "source": [
            {
              "context": "src",
              "element": "header",
              "variable": "vHeader"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "header",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vHeader"
                }
              ]
            }
          ]
        },
        {
          "name": "period",
          "source": [
            {
              "context": "src",
              "element": "period",
              "variable": "vPeriod"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "period",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vPeriod"
                }
              ]
            }
          ]
        },
        {
          "name": "copyMeta",
          "source": [
            {
              "context": "src",
              "element": "meta",
              "variable": "vMetaSrc"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "meta",
              "variable": "vMetaTgt"
            }
          ],
          "rule": [
            {
              "name": "copyMetaLastUpdated",
              "source": [
                {
                  "context": "vMetaSrc",
                  "element": "lastUpdated",
                  "variable": "vLastUpdated"
                }
              ],
              "target": [
                {
                  "context": "vMetaTgt",
                  "contextType": "variable",
                  "element": "lastUpdated",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vLastUpdated"
                    }
                  ]
                }
              ]
            },
            {
              "name": "setTargetProfile",
              "source": [
                {
                  "context": "vMetaSrc",
                  "variable": "vMetaProfileSrc"
                }
              ],
              "target": [
                {
                  "context": "vMetaTgt",
                  "contextType": "variable",
                  "element": "profile",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueString": "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}