HL7 PT FHIR Implementation Guide: Visita do Utente
1.0.0 - STU1 Portugal flag

HL7 PT FHIR Implementation Guide: Visita do Utente, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/workflow-ep-ig/tree/master and changes regularly. See the Directory of published versions

Resource Profile: PT_Organization - Mappings

Active as of 2021-12-27

Mappings for the PTOrganization resource profile.

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

PT_Organization
Organization(also see master files messages)
   identifierXON.10 / XON.3
      useN/A
      typeCX.5
         codingC*E.1-8, C*E.10-22
            systemC*E.3
            codeC*E.1
            displayC*E.2 - but note this is not well followed
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
         startDR.1
         endDR.2
      assignerCX.4 / (CX.4,CX.9,CX.10)
   activeNo equivalent in HL7 v2
   typeNo equivalent in v2
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         codeC*E.1
         displayC*E.2 - but note this is not well followed
   nameXON.1
   telecomORC-22?
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
   addressORC-23?
      useXAD.7
      lineXAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
      cityXAD.3
      districtXAD.9
      stateXAD.4
      postalCodeXAD.5
      countryXAD.6
      periodXAD.12 / XAD.13 + XAD.14
         startDR.1
         endDR.2
   partOfNo equivalent in HL7 v2

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

PT_Organization
OrganizationEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
   extensionN/A
   modifierExtensionN/A
   identifier.scopes[Role](classCode=IDENT)
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
         extensionn/a
         codingunion(., ./translation)
            extensionn/a
            system./codeSystem
            code./code
            displayCV.displayName
      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
         extensionn/a
         start./low
         end./high
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         extensionn/a
         displayN/A
   active.status
   type.code
      extensionn/a
      codingunion(., ./translation)
         extensionn/a
         system./codeSystem
         code./code
         displayCV.displayName
   name.name
   alias.name
   telecom.telecom
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
   address.address
      useunique(./use)
      lineAD.part[parttype = AL]
      cityAD.part[parttype = CTY]
      districtAD.part[parttype = CNT | CPA]
      stateAD.part[parttype = STA]
      postalCodeAD.part[parttype = ZIP]
      countryAD.part[parttype = CNT]
      period./usablePeriod[type="IVL<TS>"]
         extensionn/a
         start./low
         end./high
   partOf.playedBy[classCode=Part].scoper
      extensionn/a
      displayN/A

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

PT_Organization
OrganizationOrganization
   identifier./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.
   typen/a
   name.PreferredName/Name
   telecom./ContactPoints
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
   address./PrimaryAddress and ./OtherAddresses
      use./AddressPurpose
      line./StreetAddress (newline delimitted)
      city./Jurisdiction
      state./Region
      postalCode./PostalIdentificationCode
      country./Country
      period./StartDate and ./EndDate
   partOfn/a

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

PT_Organization
Organization
   identifierFiveWs.identifier
   activeFiveWs.status
   typeFiveWs.class