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

FHIR IG analytics

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

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 PlanNetToNdhPractitionerRoleSM

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

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

uses "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-PractitionerRole" alias PractitionerRolePN as source
uses "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-PractitionerRole" alias PractitionerRoleNDH as target

group PlanNetToNdhPractitionerRole(source src : PractitionerRolePN, target tgt : PractitionerRoleNDH) {
  // Plan-Net PractitionerRole.network maps to NDH network extension.
  src.language as vLanguage -> tgt.language = vLanguage;
  src.text as vText -> tgt.text = vText;
  src.extension as vNewPatientsSrc where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/newpatients') -> tgt.extension as vNewPatientsTgt then {
    vNewPatientsSrc as vNewPatientsForUrl -> vNewPatientsTgt.url = 'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-newpatients' "setNewPatientsUrl";
    vNewPatientsSrc.extension as vFromNetworkSrc where (url = 'fromNetwork') -> vNewPatientsTgt.extension = vFromNetworkSrc "copyNewPatientsFromNetwork";
    vNewPatientsSrc.extension as vCharacteristicsSrc where (url = 'characteristics') -> vNewPatientsTgt.extension = vCharacteristicsSrc "copyNewPatientsCharacteristics";
    vNewPatientsSrc.extension as vAcceptingPatientsSrc where (url = 'acceptingPatients') -> vNewPatientsTgt.extension as vAcceptingPatientsTgt then {
      vAcceptingPatientsSrc.url as vAcceptingPatientsUrl -> vAcceptingPatientsTgt.url = vAcceptingPatientsUrl "copyAcceptingPatientsUrl";
      vAcceptingPatientsSrc.value as vAcceptingPatientsValueSrc where (coding.exists()) -> vAcceptingPatientsTgt.value = create('CodeableConcept') as vAcceptingPatientsValueTgt then {
        vAcceptingPatientsValueSrc.coding as vAcceptingPatientsCodingSrc where (system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS') -> vAcceptingPatientsValueTgt.coding = translate(vAcceptingPatientsCodingSrc, 'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-accepting-patients', 'Coding') "translateAcceptingPatientsCoding";
        vAcceptingPatientsValueSrc.coding as vAcceptingPatientsOtherCodingSrc where (system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS') -> vAcceptingPatientsValueTgt.coding = vAcceptingPatientsOtherCodingSrc "copyAcceptingPatientsOtherCoding";
      } "copyAcceptingPatientsValue";
    } "copyNewPatientsAcceptingPatients";
  } "copyNewPatientsExtension";
  src.extension as vNetworkReferenceSrc where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/network-reference') -> tgt.extension as vNetworkReferenceTgt then {
    vNetworkReferenceSrc as vNetworkReferenceForUrl -> vNetworkReferenceTgt.url = 'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-network-reference' "setNetworkReferenceUrl";
    vNetworkReferenceSrc.value as vNetworkReferenceValue -> vNetworkReferenceTgt.value = vNetworkReferenceValue "copyNetworkReferenceValue";
  } "copyNetworkReferenceExtension";
  src.extension as vQualificationSrc where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/qualification') "dropQualificationExtension"; // intentionally not mapped because Qualifications was removed from NDH
  src.identifier as vIdentifier -> tgt.identifier = vIdentifier;
  src.healthcareService as vHealthcareService -> tgt.healthcareService = vHealthcareService;
  src.active as vActive -> tgt.active = true;
  src.period as vPeriod -> tgt.period = vPeriod;
  src.practitioner as vPractitioner -> tgt.practitioner = vPractitioner;
  src.organization as vOrganization -> tgt.organization = vOrganization;
  // Translate Plan-Net PractitionerRole codes to the NDH code system.
  src.code as vCodeSrc -> tgt.code as vCodeTgt then {
    vCodeSrc.text as vCodeText -> vCodeTgt.text = vCodeText "copyCodeText";
    vCodeSrc.coding as vCodeCodingSrc where (system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/ProviderRoleCS') -> vCodeTgt.coding = translate(vCodeCodingSrc, 'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-practitioner-role', 'Coding') "translateCodeCoding";
    vCodeSrc.coding as vCodeOtherCodingSrc where (system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/ProviderRoleCS') -> vCodeTgt.coding = vCodeOtherCodingSrc "copyCodeOtherCoding";
  } "copyCode";
  src.specialty as vSpecialty -> tgt.specialty = vSpecialty;
  src.location as vLocation -> tgt.location = vLocation;
  src.telecom as vTelecomSrc -> tgt.telecom as vTelecomTgt then {
    vTelecomSrc.system as vTelecomSystem -> vTelecomTgt.system = vTelecomSystem "copyTelecomSystem";
    vTelecomSrc.value as vTelecomValue -> vTelecomTgt.value = vTelecomValue "copyTelecomValue";
    vTelecomSrc.use as vTelecomUse -> vTelecomTgt.use = vTelecomUse "copyTelecomUse";
    vTelecomSrc.rank as vTelecomRank -> vTelecomTgt.rank = vTelecomRank "copyTelecomRank";
    vTelecomSrc.period as vTelecomPeriod -> vTelecomTgt.period = vTelecomPeriod "copyTelecomPeriod";
    vTelecomSrc.extension as vDroppedContactpointAvailabletimeSrc where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime') "dropPlanNetContactpointAvailabletime"; // intentionally not mapped because ContactPointAvailableTime was removed from NDH.
    vTelecomSrc.extension as vDroppedViaIntermediarySrc where (url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary') "dropPlanNetViaIntermediary"; // intentionally not mapped because ViaIntermediary was removed from NDH.
  } "copyTelecom";
  src.endpoint as vEndpoint -> tgt.endpoint = vEndpoint;
  src.availableTime as vAvailableTime -> tgt.availableTime = vAvailableTime;
  src.notAvailable as vNotAvailable -> tgt.notAvailable = vNotAvailable;
  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-PractitionerRole' "setTargetProfile";
  } "copyMeta";
}


Source1

{
  "resourceType": "StructureMap",
  "id": "PlanNetToNdhPractitionerRoleSM",
  "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/PlanNetToNdhPractitionerRoleSM",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.43.43.8"
    }
  ],
  "version": "2.0.0-current",
  "name": "PlanNetToNdhPractitionerRoleSM",
  "title": "Plan-Net PractitionerRole to NDH PractitionerRole 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 PractitionerRole to NDH PractitionerRole.",
  "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-PractitionerRole",
      "mode": "source",
      "alias": "PractitionerRolePN"
    },
    {
      "url": "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-PractitionerRole",
      "mode": "target",
      "alias": "PractitionerRoleNDH"
    }
  ],
  "group": [
    {
      "name": "PlanNetToNdhPractitionerRole",
      "typeMode": "none",
      "input": [
        {
          "name": "src",
          "type": "PractitionerRolePN",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "PractitionerRoleNDH",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "language",
          "source": [
            {
              "context": "src",
              "element": "language",
              "variable": "vLanguage"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "language",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vLanguage"
                }
              ]
            }
          ],
          "documentation": "Plan-Net PractitionerRole.network maps to NDH network extension."
        },
        {
          "name": "text",
          "source": [
            {
              "context": "src",
              "element": "text",
              "variable": "vText"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "text",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vText"
                }
              ]
            }
          ]
        },
        {
          "name": "copyNewPatientsExtension",
          "source": [
            {
              "context": "src",
              "element": "extension",
              "variable": "vNewPatientsSrc",
              "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/newpatients'"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "extension",
              "variable": "vNewPatientsTgt"
            }
          ],
          "rule": [
            {
              "name": "setNewPatientsUrl",
              "source": [
                {
                  "context": "vNewPatientsSrc",
                  "variable": "vNewPatientsForUrl"
                }
              ],
              "target": [
                {
                  "context": "vNewPatientsTgt",
                  "contextType": "variable",
                  "element": "url",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueString": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-newpatients"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyNewPatientsFromNetwork",
              "source": [
                {
                  "context": "vNewPatientsSrc",
                  "element": "extension",
                  "variable": "vFromNetworkSrc",
                  "condition": "url = 'fromNetwork'"
                }
              ],
              "target": [
                {
                  "context": "vNewPatientsTgt",
                  "contextType": "variable",
                  "element": "extension",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vFromNetworkSrc"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyNewPatientsCharacteristics",
              "source": [
                {
                  "context": "vNewPatientsSrc",
                  "element": "extension",
                  "variable": "vCharacteristicsSrc",
                  "condition": "url = 'characteristics'"
                }
              ],
              "target": [
                {
                  "context": "vNewPatientsTgt",
                  "contextType": "variable",
                  "element": "extension",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vCharacteristicsSrc"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyNewPatientsAcceptingPatients",
              "source": [
                {
                  "context": "vNewPatientsSrc",
                  "element": "extension",
                  "variable": "vAcceptingPatientsSrc",
                  "condition": "url = 'acceptingPatients'"
                }
              ],
              "target": [
                {
                  "context": "vNewPatientsTgt",
                  "contextType": "variable",
                  "element": "extension",
                  "variable": "vAcceptingPatientsTgt"
                }
              ],
              "rule": [
                {
                  "name": "copyAcceptingPatientsUrl",
                  "source": [
                    {
                      "context": "vAcceptingPatientsSrc",
                      "element": "url",
                      "variable": "vAcceptingPatientsUrl"
                    }
                  ],
                  "target": [
                    {
                      "context": "vAcceptingPatientsTgt",
                      "contextType": "variable",
                      "element": "url",
                      "transform": "copy",
                      "parameter": [
                        {
                          "valueId": "vAcceptingPatientsUrl"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "copyAcceptingPatientsValue",
                  "source": [
                    {
                      "context": "vAcceptingPatientsSrc",
                      "element": "value",
                      "variable": "vAcceptingPatientsValueSrc",
                      "condition": "coding.exists()"
                    }
                  ],
                  "target": [
                    {
                      "context": "vAcceptingPatientsTgt",
                      "contextType": "variable",
                      "element": "value",
                      "variable": "vAcceptingPatientsValueTgt",
                      "transform": "create",
                      "parameter": [
                        {
                          "valueString": "CodeableConcept"
                        }
                      ]
                    }
                  ],
                  "rule": [
                    {
                      "name": "translateAcceptingPatientsCoding",
                      "source": [
                        {
                          "context": "vAcceptingPatientsValueSrc",
                          "element": "coding",
                          "variable": "vAcceptingPatientsCodingSrc",
                          "condition": "system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS'"
                        }
                      ],
                      "target": [
                        {
                          "context": "vAcceptingPatientsValueTgt",
                          "contextType": "variable",
                          "element": "coding",
                          "transform": "translate",
                          "parameter": [
                            {
                              "valueId": "vAcceptingPatientsCodingSrc"
                            },
                            {
                              "valueString": "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-accepting-patients"
                            },
                            {
                              "valueString": "Coding"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "copyAcceptingPatientsOtherCoding",
                      "source": [
                        {
                          "context": "vAcceptingPatientsValueSrc",
                          "element": "coding",
                          "variable": "vAcceptingPatientsOtherCodingSrc",
                          "condition": "system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS'"
                        }
                      ],
                      "target": [
                        {
                          "context": "vAcceptingPatientsValueTgt",
                          "contextType": "variable",
                          "element": "coding",
                          "transform": "copy",
                          "parameter": [
                            {
                              "valueId": "vAcceptingPatientsOtherCodingSrc"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "copyNetworkReferenceExtension",
          "source": [
            {
              "context": "src",
              "element": "extension",
              "variable": "vNetworkReferenceSrc",
              "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/network-reference'"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "extension",
              "variable": "vNetworkReferenceTgt"
            }
          ],
          "rule": [
            {
              "name": "setNetworkReferenceUrl",
              "source": [
                {
                  "context": "vNetworkReferenceSrc",
                  "variable": "vNetworkReferenceForUrl"
                }
              ],
              "target": [
                {
                  "context": "vNetworkReferenceTgt",
                  "contextType": "variable",
                  "element": "url",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueString": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-network-reference"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyNetworkReferenceValue",
              "source": [
                {
                  "context": "vNetworkReferenceSrc",
                  "element": "value",
                  "variable": "vNetworkReferenceValue"
                }
              ],
              "target": [
                {
                  "context": "vNetworkReferenceTgt",
                  "contextType": "variable",
                  "element": "value",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vNetworkReferenceValue"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "dropQualificationExtension",
          "source": [
            {
              "context": "src",
              "element": "extension",
              "variable": "vQualificationSrc",
              "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/qualification'"
            }
          ]
        },
        {
          "name": "identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vIdentifier"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "identifier",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vIdentifier"
                }
              ]
            }
          ]
        },
        {
          "name": "healthcareService",
          "source": [
            {
              "context": "src",
              "element": "healthcareService",
              "variable": "vHealthcareService"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "healthcareService",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vHealthcareService"
                }
              ]
            }
          ]
        },
        {
          "name": "active",
          "source": [
            {
              "context": "src",
              "element": "active",
              "variable": "vActive"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "active",
              "transform": "copy",
              "parameter": [
                {
                  "valueBoolean": true
                }
              ]
            }
          ]
        },
        {
          "name": "period",
          "source": [
            {
              "context": "src",
              "element": "period",
              "variable": "vPeriod"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "period",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vPeriod"
                }
              ]
            }
          ]
        },
        {
          "name": "practitioner",
          "source": [
            {
              "context": "src",
              "element": "practitioner",
              "variable": "vPractitioner"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "practitioner",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vPractitioner"
                }
              ]
            }
          ]
        },
        {
          "name": "organization",
          "source": [
            {
              "context": "src",
              "element": "organization",
              "variable": "vOrganization"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "organization",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vOrganization"
                }
              ]
            }
          ]
        },
        {
          "name": "copyCode",
          "source": [
            {
              "context": "src",
              "element": "code",
              "variable": "vCodeSrc"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "code",
              "variable": "vCodeTgt"
            }
          ],
          "rule": [
            {
              "name": "copyCodeText",
              "source": [
                {
                  "context": "vCodeSrc",
                  "element": "text",
                  "variable": "vCodeText"
                }
              ],
              "target": [
                {
                  "context": "vCodeTgt",
                  "contextType": "variable",
                  "element": "text",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vCodeText"
                    }
                  ]
                }
              ]
            },
            {
              "name": "translateCodeCoding",
              "source": [
                {
                  "context": "vCodeSrc",
                  "element": "coding",
                  "variable": "vCodeCodingSrc",
                  "condition": "system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/ProviderRoleCS'"
                }
              ],
              "target": [
                {
                  "context": "vCodeTgt",
                  "contextType": "variable",
                  "element": "coding",
                  "transform": "translate",
                  "parameter": [
                    {
                      "valueId": "vCodeCodingSrc"
                    },
                    {
                      "valueString": "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-practitioner-role"
                    },
                    {
                      "valueString": "Coding"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyCodeOtherCoding",
              "source": [
                {
                  "context": "vCodeSrc",
                  "element": "coding",
                  "variable": "vCodeOtherCodingSrc",
                  "condition": "system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/ProviderRoleCS'"
                }
              ],
              "target": [
                {
                  "context": "vCodeTgt",
                  "contextType": "variable",
                  "element": "coding",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vCodeOtherCodingSrc"
                    }
                  ]
                }
              ]
            }
          ],
          "documentation": "Translate Plan-Net PractitionerRole codes to the NDH code system."
        },
        {
          "name": "specialty",
          "source": [
            {
              "context": "src",
              "element": "specialty",
              "variable": "vSpecialty"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "specialty",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vSpecialty"
                }
              ]
            }
          ]
        },
        {
          "name": "location",
          "source": [
            {
              "context": "src",
              "element": "location",
              "variable": "vLocation"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "location",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vLocation"
                }
              ]
            }
          ]
        },
        {
          "name": "copyTelecom",
          "source": [
            {
              "context": "src",
              "element": "telecom",
              "variable": "vTelecomSrc"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "telecom",
              "variable": "vTelecomTgt"
            }
          ],
          "rule": [
            {
              "name": "copyTelecomSystem",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "system",
                  "variable": "vTelecomSystem"
                }
              ],
              "target": [
                {
                  "context": "vTelecomTgt",
                  "contextType": "variable",
                  "element": "system",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vTelecomSystem"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyTelecomValue",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "value",
                  "variable": "vTelecomValue"
                }
              ],
              "target": [
                {
                  "context": "vTelecomTgt",
                  "contextType": "variable",
                  "element": "value",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vTelecomValue"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyTelecomUse",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "use",
                  "variable": "vTelecomUse"
                }
              ],
              "target": [
                {
                  "context": "vTelecomTgt",
                  "contextType": "variable",
                  "element": "use",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vTelecomUse"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyTelecomRank",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "rank",
                  "variable": "vTelecomRank"
                }
              ],
              "target": [
                {
                  "context": "vTelecomTgt",
                  "contextType": "variable",
                  "element": "rank",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vTelecomRank"
                    }
                  ]
                }
              ]
            },
            {
              "name": "copyTelecomPeriod",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "period",
                  "variable": "vTelecomPeriod"
                }
              ],
              "target": [
                {
                  "context": "vTelecomTgt",
                  "contextType": "variable",
                  "element": "period",
                  "transform": "copy",
                  "parameter": [
                    {
                      "valueId": "vTelecomPeriod"
                    }
                  ]
                }
              ]
            },
            {
              "name": "dropPlanNetContactpointAvailabletime",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "extension",
                  "variable": "vDroppedContactpointAvailabletimeSrc",
                  "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime'"
                }
              ]
            },
            {
              "name": "dropPlanNetViaIntermediary",
              "source": [
                {
                  "context": "vTelecomSrc",
                  "element": "extension",
                  "variable": "vDroppedViaIntermediarySrc",
                  "condition": "url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary'"
                }
              ]
            }
          ]
        },
        {
          "name": "endpoint",
          "source": [
            {
              "context": "src",
              "element": "endpoint",
              "variable": "vEndpoint"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "endpoint",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vEndpoint"
                }
              ]
            }
          ]
        },
        {
          "name": "availableTime",
          "source": [
            {
              "context": "src",
              "element": "availableTime",
              "variable": "vAvailableTime"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "availableTime",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vAvailableTime"
                }
              ]
            }
          ]
        },
        {
          "name": "notAvailable",
          "source": [
            {
              "context": "src",
              "element": "notAvailable",
              "variable": "vNotAvailable"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "notAvailable",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "vNotAvailable"
                }
              ]
            }
          ]
        },
        {
          "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-PractitionerRole"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}