FHIR Human Services Directory
1.0.0 - STU1 United States of America flag

This page is part of the FHIR IG Human Services Directory (v1.0.0: STU1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: HSDOrganization - Mappings

Page standards status: Trial-use Maturity Level: 2

Mappings for the hsds-Organization resource profile.

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

HSDOrganization
OrganizationOrganization
   identifier./Identifiers, n/a
   identifier (NPI)./Identifiers, n/a
   identifier (CLIA)./Identifiers, n/a
   identifier (IRS)./Identifiers, n/a
      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.
   typen/a
   name.PreferredName/Name, ./PrimaryAddress and ./OtherAddresses
   telecom./ContactPoints
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate
   contact
      telecom
         system./ContactPointType
         value./Value
         use./ContactPointPurpose
         period./StartDate and ./EndDate

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

HSDOrganization
Organization(also see master files messages)
   identifierXON.10 / XON.3
   identifier (NPI)XON.10 / XON.3
   identifier (CLIA)XON.10 / XON.3
   identifier (IRS)XON.10 / XON.3
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   activeNo equivalent in HL7 v2
   typeNo equivalent in v2
   nameXON.1
   telecomORC-22?
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A
   contact
      namePID-5, PID-9
      telecomPID-13, PID-14
         systemXTN.3
         valueXTN.1 (or XTN.12)
         useXTN.2 - but often indicated by field
         rankn/a
         periodN/A
      addressPID-11

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

HSDOrganization
OrganizationEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extension
   extension (qualification)
      idn/a
      extension
      extension (identifier)
         idn/a
         urlN/A
         value[x]N/A
      extension (code)
         idn/a
         urlN/A
         value[x]N/A
      extension (issuer)
         idn/a
         urlN/A
         value[x]N/A
      extension (status)
         idn/a
         urlN/A
         value[x]N/A
      extension (period)
         idn/a
         urlN/A
         value[x]N/A
      extension (whereValid)
         idn/a
         urlN/A
         value[x]N/A
      urlN/A
   modifierExtensionN/A
   identifier.scopes[Role](classCode=IDENT)
   identifier (NPI).scopes[Role](classCode=IDENT)
   identifier (CLIA).scopes[Role](classCode=IDENT)
   identifier (IRS).scopes[Role](classCode=IDENT)
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
   active.status
   type.code
   name.name
   alias.name
   telecom.telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   contact.contactParty
      idn/a
      extensionn/a
      modifierExtensionN/A
      purpose./type
      name./name
      telecom./telecom
         idn/a
         extensionn/a
         system./scheme
         value./url
         useunique(./use)
         rankn/a
         period./usablePeriod[type="IVL<TS>"]
      address./addr
   endpointn/a

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

HSDOrganization
Organization
   identifierFiveWs.identifier
   identifier (NPI)FiveWs.identifier
   identifier (CLIA)FiveWs.identifier
   identifier (IRS)FiveWs.identifier
   activeFiveWs.status
   typeFiveWs.class

Mappings for HSDS (HSDS)

This section describes the way HSDS version 2.0.1 elements are mapped from HSDS tables to this FHIR HSDOrganization profile. The left hand column contains the FHIR HSDOrganization element name; the right hand column contains the HSDS table.element and any implementation/transformation rules required to support the mapping. The HSDS specification (v.2.0.1) served as the initial basis for requirements, and the mapping/alignment of HSDS data elements to profiles contained in the FHIR IG for Human Service Directories, STU1. HSDS Version 2.0.1 applies string datatypes to nearly all HSDS table 'id' fields/ data elements, including the id field associated with each HSDS [table] (e.g. organization.id [organization], location.id [location], service.id [service], phone.id [phone], etc.). In the next version of HSDS, v.3.0, each HSDS table.id field will be defined using the UUID data type. FHIR Resource .ids (and the .ids in their profiles) are defined using the FHIR id datatype, a string that supports "Any combination of upper- or lower-case ASCII letters ('A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.', with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)". Because UUIDs provide uniqueness to data/resources when they are exchanged across multiple systems, it is recommended that implementers of the FHIR IG for Human Services Directories support UUIDs in all HSDS id fields that are mapped to FHIR .id data elements.

HSDOrganization
Organization
   idorganization.id Note: Each organization must have a unique system identifier in the source system.
   metaNote: The HSDS metadata table contains a record of the changes that have been made to the data in order to maintain provenance information.
      idmetadata.id Note: This data element may be ignored as having the id for the date metadata isn't essential. If populated, it should be id corresponding to the latest action date for given organization as described below.
      lastUpdatedmetadata.last_action_date Note: The date when data was changed. Since there may be more than one metadata record for each organization, the latest max(last_action_date) needs to be used from metadata where (FHIR) Organization.id = (HSDS) metadata.resource_id.
   textNo Source. May be excluded from the mapping. Note: This DomainResource.text is meant for textual summary of the resource so organization description is mapped to the org-description extension added by Plan-Net profile.
   extension (qualification)extension[qualification]:code.url = 'code' extension[qualification]:code.valueCodeableConcept.text = service.accreditations Note: This is a GAP in HSDS that can be resolved by having qualifications collected at the organization level. As a workaround, suggested mapping uses the unique set of accreditations from service and concatenated for the organization level as described below.
   extension (org-description)organization.description Note: This Plan-Net profile added this extension for organization description as opposed to using DomainResource.text data element which is meant for textual summary of the resource.
   identifier
   identifier (NPI)NPI identifiers are not relevant to the identification of community based organizations at this time.
   identifier (CLIA)CLIA identifiers are also currently not relevant for use in the identification of community based organizations.
   identifier (IRS)For Community Based Organizations, the closest identifier usedfor the purpose of identifying the organization is a government issued identifier used for the purpose of tax administration.
      idNo Source. May be excluded from the mapping. Note: This data element may be ignored as having the id for the identifier record isn't essential and is not available in HSDS since the tax ID is directly on the organization table.
      useFixed value = 'official' Note: Since the organization business identifier in HSDS is organization.tax id which is used for official purpose, this element is to be set with a fixed value 'official' drawn from the code system IdentifierUse http://hl7.org/fhir/identifier-use.
      typeFixed value = 'TAX' Note: Since the organization business identifier in HSDS is organization.tax id which is used for the tax, this element is to be set with a fixed value 'TAX' drawn from the IdentifierType code system – http://terminology.hl7.org/CodeSystem/v2-0203 [an HL7-defined code system of concepts specifying type of identifier].
      systemFixed value = 'urn:us:gov:irs' Note: Since the organization business identifier in HSDS is organization.tax id which is issued by IRS, this element is to be set with a fixed value with IRS URN.
      valueorganization.tax_id Note: This is the only business identifier in HSDS at this time.
      periodorganization.year_incorporated Note: HSDS organization.year_incorporated may not always be the same as when the TAX ID was issued (especially if a company merged or split). Technically year_incorporated is a GAP in FHIR and should be added as an extension. Also the effective date of the identifier (mapped to period here) is GAP in HSDS. But until both of those GAPs are addressed, the above mapping is proposed as a work around.
      assigner
         displayFixed value = 'www.irs.gov' Note: This is GAP in HSDS but it can be implicitly inferred. Since the organization business identifier in HSDS is organization.tax id which is issued by IRS, this element is to be set with a fixed value with IRS website link as a reference.
   activeFixed value = 'true' Note: HSDS organization does not have a status but this is required in FHIR so fixed value is proposed to indicate that organization is active.
   typeAny code is allowed from the type.system = 'http://hl7.org/fhir/us/DaVinci-pdex-plan-net/ValueSet/OrgTypeVS' Note: This is a GAP in HSDS but a required Must Support element in the Plan-Net profile.
   nameorganization.name
   aliasorganization.alternate_name Note: Since there is only one alternate name in HSDS but the alias is an array (list) in FHIR, this will map to the first occurrence of the array.
   telecomNote: This FHIR structure contains contact details of the organization using the ContactPoint datatype (Details for all kinds of technology-mediated contact points for a person or organization, including telephone, email, etc.).
      idNo Source. May be excluded from the mapping. Note: This data element may be ignored as having the id for the telecom record isn't essential and not always available in the HSDS (e.g. phone id is available but there is no separate id for email or website URL).
      systemFor Phone: if phone.type = 'voice' then system = 'phone' if phone.type = 'cell' then system = 'phone' if phone.type = 'fax' then system = 'fax' if phone.type = 'pager' then system = 'pager' if phone.type = 'text' then system = 'sms' if phone.type = 'textphone' then system = 'sms' if phone.type = 'video' then system = 'other' For Email: Fixed value = 'email' For Website URL: Fixed value = 'url' Note: There are multiple sources in HSDS for the telecom in FHIR so the system will be populated based on phone.type mapping or fixed value of 'email' or 'url' depending on the data populated. Drawn from the ContactPointSystem value set [http://hl7.org/fhir/ValueSet/contact-point-system]
      valueFor Phone: value = phone.number For Email, value = organization.email For Website URL: value = organization.url Note: For phone, HSDS organization linkage is to HSDS phone table using organization.id = phone.organization_id.
      useFixed value = 'work' Note: This is a GAP in HSDS but since it is for work related information, it is possible to set this to 'work' drawn from the ContactPointUse value set http://hl7.org/fhir/R4/valueset-contact-point-use.html.
      rankNo Source. Note: This a GAP in HSDS. In FHIR, it is used to specify a preferred order in which to use a contact point. The parent Plan-Net profile indicates this is a Must Support element but is optional, So it can be excluded since there is no source.
      periodNo Source. May be excluded from the mapping. Note: This is a GAP in HSDS. In FHIR, this data element captures the time period when the contact point was/is in use. But it can be excluded since there is no source and it is optional.
   contactNote: contact Table The HSDS contact table contains details of the named contacts associated with the organization. This linkage is based on FHIR organization.id = HSDS contact.organization_id. If there are multiple contacts, all of those can be included for organization level contacts in FHIR since there is no indication to identify which contact is primary.
      idcontact.id Note: This data element may be ignored as having the id for the contact record isn't essential.
      purposeNo Source. May be excluded from the mapping. Note: This is a GAP In HSDS. In FHIR, this element is used to indicate the purpose of which the contact can be reached.
      namecontact.name
      telecomNo Source. May be excluded from the mapping.
         idNo Source. May be excluded from the mapping. Note: This data element may be ignored as having the id for the telecom record isn't essential and not always available in the HSDS (e.g. phone id is available but there is no separate id for email).
         extension (org-contactinfo)This is a GAP in FHIR. Created a new extension org-contactinfo to map HSDS contact.title, contact.department, and contact.email
         systemFor Phone: if phone.type = 'voice' then system = 'phone' if phone.type = 'cell' then system = 'phone' if phone.type = 'fax' then system = 'fax' if phone.type = 'pager' then system = 'pager' if phone.type = 'text' then system = 'sms' if phone.type = 'textphone' then system = 'sms' if phone.type = 'video' then system = 'other' For Email: Fixed value = 'email' Note: There are multiple sources in HSDS for the telecom in FHIR so the system will be populated based on phone.type mapping or fixed value of 'email' depending on the data populated.
         valueFor Phone: value = phone.number For Email, value = conact.email Note: For phone, HSDS contact table will be linked to the phone table using contact.id = phone.contact_id.
         useFixed value = 'work' Note: This is a GAP in HSDS but since it is for work-related information, it is possible to set this to 'work' drawn from the ContactPointUse value set http://hl7.org/fhir/R4/valueset-contact-point-use.html
         rankNo Source. GAP in HSDS. May be excluded from the mapping. Note: This is a GAP in HSDS. In FHIR, it is used to specify a preferred order in which to use a contact point. The parent Plan-Net profile indicates this is a Must Support element but is optional, So it can be excluded since there is no source.
         periodNo Source.GAP in HSDS. May be excluded from the mapping. Note: This is a GAP in HSDS. In FHIR, this data element captures the time period when the contact point was/is in use. But it can be excluded since there is no source and it is optional.
      addressNo Source. GAP in HSDS. Addresses are only associated with locations in the HSDS model.
   endpointNo Source. Note: This is for the technical implementation of web services for the organization and it is not for source-specific business data. It is marked as Must Support though optional in the Plan-Net profile. At this point, no organizayion specific web services have been identified so it may be ignored.