Mappings for the athena-organization-profile resource profile.
AthenaOrganization |
Organization | FHIRR4_ORGANIZATIONVIEW |
id | MakeIdWithPrefix(%ORGANIZATIONID%,%ID_PREFIX%) |
meta | |
lastUpdated | %LASTMODIFIED% |
identifier | |
identifier (ORGANIZATIONID) | MakeIdentifier("XX",getSiteIdSystem("ORGANIZATION"),%ORGANIZATIONID%,%ID_PREFIX%) |
identifier (NCPDPID) | MakeIdentifier("NCPDP", "urn:oid:2.16.840.1.113883.3.79", %NCPDPID%) |
identifier (NPI) | |
value | %NPI% |
active | Equals("A",%ACTIVE%) |
type | MapConcept(%TYPE%,"ORGANIZATIONTYPE") |
name | %NAME% |
telecom | |
telecom (WORKPHONE) | |
value | %WORKPHONE% |
telecom (ALTPHONE) | |
value | %ALTPHONE% |
telecom (CELLPHONE) | |
value | %CELLPHONE% |
telecom (FAXPHONE) | |
value | %FAXPHONE% |
telecom (PAGERPHONE) | |
value | %PAGERPHONE% |
telecom (EMAIL) | |
value | %EMAIL% |
address | MakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%) |
line (ADDRESS1) | %ADDRESS1% |
line (ADDRESS2) | %ADDRESS2% |
city | %CITY% |
state | %STATE% |
postalCode | %ZIP% |
country | %COUNTRY% |
AthenaOrganization |
Organization | FHIRR4_ORGANIZATIONVIEW |
id | MakeIdWithPrefix(%ORGANIZATIONID%,%ID_PREFIX%) |
meta | |
lastUpdated | %LASTMODIFIED% |
identifier | |
identifier (ORGANIZATIONID) | MakeIdentifier("XX",getSiteIdSystem("ORGANIZATION"),%ORGANIZATIONID%,%ID_PREFIX%) |
identifier (NCPDPID) | MakeIdentifier("NCPDP", "urn:oid:2.16.840.1.113883.3.79", %NCPDPID%) |
identifier (NPI) | |
value | %NPI% |
identifier (TAX) | |
value | %TIN% |
active | Equals("0",%INACTIVE%) |
type | MapConcept(%TYPE%,"ORGANIZATIONTYPE") |
name | %NAME% |
telecom | |
telecom (WORKPHONE) | |
value | %WORKPHONE% |
telecom (ALTPHONE) | |
value | %ALTPHONE% |
telecom (CELLPHONE) | |
value | %CELLPHONE% |
telecom (FAXPHONE) | |
value | %FAXPHONE% |
telecom (PAGERPHONE) | |
value | %PAGERPHONE% |
telecom (EMAIL) | |
value | %EMAIL% |
address | MakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%) |
line (ADDRESS1) | %ADDRESS1% |
line (ADDRESS2) | %ADDRESS2% |
city | %CITY% |
state | %STATE% |
postalCode | %ZIP% |
country | %COUNTRY% |
AthenaOrganization |
Organization | (also see master files messages) |
identifier | XON.10 / XON.3 |
identifier (ORGANIZATIONID) | XON.10 / XON.3 |
identifier (NCPDPID) | XON.10 / XON.3 |
identifier (NPI) | XON.10 / XON.3 |
use | N/A |
type | CX.5 |
coding | C*E.1-8, C*E.10-22 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
text | C*E.9. But note many systems use C*E.2 for this |
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 (TAX) | XON.10 / XON.3 |
use | N/A |
type | CX.5 |
coding | C*E.1-8, C*E.10-22 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
text | C*E.9. But note many systems use C*E.2 for this |
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) |
active | No equivalent in HL7 v2 |
type | No equivalent in v2 |
name | XON.1 |
telecom | ORC-22? |
telecom (WORKPHONE) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (ALTPHONE) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (CELLPHONE) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (FAXPHONE) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
rank | n/a |
period | N/A |
telecom (PAGERPHONE) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
telecom (EMAIL) | ORC-22? |
system | XTN.3 |
value | XTN.1 (or XTN.12) |
use | XTN.2 - but often indicated by field |
rank | n/a |
period | N/A |
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) |
line (ADDRESS1) | XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address) |
line (ADDRESS2) | 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 |
address | PID-11 |
AthenaOrganization |
Organization | Entity. Role, or Act, Organization(classCode=ORG, determinerCode=INST) |
meta | |
id | n/a |
extension | n/a |
text | Act.text? |
contained | N/A |
extension | N/A |
modifierExtension | N/A |
identifier | .scopes[Role](classCode=IDENT) |
identifier (ORGANIZATIONID) | .scopes[Role](classCode=IDENT) |
identifier (NCPDPID) | .scopes[Role](classCode=IDENT) |
identifier (NPI) | .scopes[Role](classCode=IDENT) |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | Role.code or implied by context |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
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 (TAX) | .scopes[Role](classCode=IDENT) |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | Role.code or implied by context |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
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 |
active | .status |
type | .code |
name | .name |
alias | .name |
telecom | .telecom |
telecom (WORKPHONE) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (ALTPHONE) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (CELLPHONE) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (FAXPHONE) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (PAGERPHONE) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
telecom (EMAIL) | .telecom |
id | n/a |
extension | n/a |
system | ./scheme |
value | ./url |
use | unique(./use) |
rank | n/a |
period | ./usablePeriod[type="IVL<TS>"] |
address | .address |
id | n/a |
extension | n/a |
use | unique(./use) |
type | unique(./use) |
text | ./formatted |
line | AD.part[parttype = AL] |
line (ADDRESS1) | AD.part[parttype = AL] |
line (ADDRESS2) | 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 |
address | ./addr |
endpoint | n/a |
AthenaOrganization |
Organization | Organization |
identifier | ./Identifiers |
identifier (ORGANIZATIONID) | ./Identifiers |
identifier (NCPDPID) | ./Identifiers |
identifier (NPI) | ./Identifiers |
system | ./IdentifierType |
value | ./Value |
period | ./StartDate and ./EndDate |
assigner | ./IdentifierIssuingAuthority |
identifier (TAX) | ./Identifiers |
system | ./IdentifierType |
value | ./Value |
period | ./StartDate and ./EndDate |
assigner | ./IdentifierIssuingAuthority |
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 |
telecom | ./ContactPoints |
telecom (WORKPHONE) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
use | ./ContactPointPurpose |
period | ./StartDate and ./EndDate |
telecom (ALTPHONE) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
use | ./ContactPointPurpose |
period | ./StartDate and ./EndDate |
telecom (CELLPHONE) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
use | ./ContactPointPurpose |
period | ./StartDate and ./EndDate |
telecom (FAXPHONE) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
period | ./StartDate and ./EndDate |
telecom (PAGERPHONE) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
use | ./ContactPointPurpose |
period | ./StartDate and ./EndDate |
telecom (EMAIL) | ./ContactPoints |
system | ./ContactPointType |
value | ./Value |
use | ./ContactPointPurpose |
period | ./StartDate and ./EndDate |
address | ./PrimaryAddress and ./OtherAddresses |
use | ./AddressPurpose |
line | ./StreetAddress (newline delimitted) |
line (ADDRESS1) | ./StreetAddress (newline delimitted) |
line (ADDRESS2) | ./StreetAddress (newline delimitted) |
city | ./Jurisdiction |
state | ./Region |
postalCode | ./PostalIdentificationCode |
country | ./Country |
period | ./StartDate and ./EndDate |
partOf | n/a |