National Directory of Healthcare Providers & Services (NDH) Implementation Guide
2.0.0-current - ci-build US

National Directory of Healthcare Providers & Services (NDH) Implementation Guide, published by HL7 International / Patient Administration. This guide is not an authorized publication; it is the continuous build for version 2.0.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-us-ndh/ and changes regularly. See the Directory of published versions

StructureMap: This StructureMap defines the mapping from Plan-Net OrganizationAffiliation to NDH OrganizationAffiliation.

Official URL: http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhOrganizationAffiliationSM Version: 2.0.0-current
Standards status: Trial-use Maturity Level: 4 Computable Name: PlanNetToNdhOrganizationAffiliationSM

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

Language: en

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

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

uses "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation" alias Source as source
uses "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-OrganizationAffiliation" alias Target as target

group PlanNetToNdhOrganizationAffiliation(source src : OrganizationAffiliation, target tgt : OrganizationAffiliation) {
  src.identifier as vIdentifier -> tgt.identifier = vIdentifier;
  src.organization as vOrganization -> tgt.organization = vOrganization;
  src.participatingOrganization as vParticipatingOrganization -> tgt.participatingOrganization = vParticipatingOrganization;
  src.network as vNetwork -> tgt.network = vNetwork;
  src.location as vLocation -> tgt.location = vLocation;
  src.healthcareService as vHealthcareService -> tgt.healthcareService = vHealthcareService;
  src.telecom as vTelecom -> tgt.telecom = vTelecom;
  src.endpoint as vEndpoint -> tgt.endpoint = vEndpoint;
  src.meta as vMetaSrc -> tgt.meta as vMetaTgt then {
    vMetaSrc.lastUpdated as vLastUpdated -> vMetaTgt.lastUpdated = vLastUpdated;
  };
}