National Healthcare Directory Query
1.0.0-ballot - ballot

National Healthcare Directory Query, published by HL7 International - Patient Administration Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/fhir-directory-query/ and changes regularly. See the Directory of published versions

## Resource Profile: NatlDirEndpointQryNetwork - Mappings

Active as of 2022-12-08

Mappings for the NatlDirEndpointQry-Network resource profile.

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

NatlDirEndpointQryNetwork
Organization | (also see master files messages)
identifier | XON.10 / XON.3
use | N/A
type | CX.5
system | CX.4 / EI-2-4
value | CX.1 / EI.1
period | CX.7 + CX.8
assigner | CX.4 / (CX.4,CX.9,CX.10)
identifier (NPI) | XON.10 / XON.3
identifier (CLIA) | XON.10 / XON.3
active | No equivalent in HL7 v2
type | No equivalent in v2
name | XON.1
address | ORC-23?
use | XAD.7
type | XAD.18
text | XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
line | XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
city | XAD.3
district | XAD.9
state | XAD.4
postalCode | XAD.5
country | XAD.6
period | XAD.12 / XAD.13 + XAD.14
partOf | No equivalent in HL7 v2
contact |
name | PID-5, PID-9
telecom | PID-13, PID-14
system | XTN.3
value | XTN.1 (or XTN.12)
use | XTN.2 - but often indicated by field
rank | n/a
period | N/A
address | PID-11

### Mappings for RIM Mapping (http://hl7.org/v3)

NatlDirEndpointQryNetwork
Organization | Entity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
meta |
id | n/a
extension | n/a
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .scopes[Role](classCode=IDENT)
id | n/a
extension | n/a
use | Role.code or implied by context
type | Role.code or implied by context
system | II.root or Role.id.root
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | Role.effectiveTime or implied by context
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
identifier (NPI) | .scopes[Role](classCode=IDENT)
identifier (CLIA) | .scopes[Role](classCode=IDENT)
active | .status
type | .code
name | .name
alias | .name
address | .address
id | n/a
extension | n/a
use | unique(./use)
type | unique(./use)
text | ./formatted
line | AD.part[parttype = AL]
city | AD.part[parttype = CTY]
district | AD.part[parttype = CNT | CPA]
state | AD.part[parttype = STA]
postalCode | AD.part[parttype = ZIP]
country | AD.part[parttype = CNT]
period | ./usablePeriod[type="IVL<TS>"]
partOf | .playedBy[classCode=Part].scoper
contact | .contactParty
id | n/a
extension | n/a
modifierExtension | N/A
purpose | ./type
name | ./name
telecom | ./telecom
id | n/a
extension | n/a
system | ./scheme
value | ./url
use | unique(./use)
rank | n/a
period | ./usablePeriod[type="IVL<TS>"]
address | ./addr
endpoint | n/a

### Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

NatlDirEndpointQryNetwork
Organization | Organization
identifier | ./Identifiers, n/a
system | ./IdentifierType
value | ./Value
period | ./StartDate and ./EndDate
assigner | ./IdentifierIssuingAuthority
identifier (NPI) | ./Identifiers, n/a
identifier (CLIA) | ./Identifiers, n/a
active | ./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date.
type | n/a
name | .PreferredName/Name, ./PrimaryAddress and ./OtherAddresses
address | ./PrimaryAddress and ./OtherAddresses, n/a
use | ./AddressPurpose
line | ./StreetAddress (newline delimitted)
city | ./Jurisdiction
state | ./Region, ./Sites
postalCode | ./PostalIdentificationCode
country | ./Country
period | ./StartDate and ./EndDate
partOf | n/a
contact |
telecom |
system | ./ContactPointType
value | ./Value
use | ./ContactPointPurpose
period | ./StartDate and ./EndDate

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

NatlDirEndpointQryNetwork
Organization |
identifier | FiveWs.identifier
identifier (NPI) | FiveWs.identifier
identifier (CLIA) | FiveWs.identifier
active | FiveWs.status
type | FiveWs.class