Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
location 4.3 (R4B)id [standard] [custom]?

dhis2 → OU Outlet type → FHIR locationType 

DHIS2 Query: SELECT DISTINCT attributevalues->'NtzCfaijlfH'->>'value' FROM organisationunit

ORDER BY attributevalues->'NtzCfaijlfH'->>'value' ASC

Identifier

select 

distinct o.attributevalues->'eYUP9WECyOM'->>'value'

from organisationunit o 

DHIS2 API

PSI API

FHIR Resource/

property
(locationresource if not specified)

remarks

-

postgresId

resource id

Not required

uid

Status
colourBlue
titledhis2

dhisId

identifier

organisationunitid [custom API]

postgresId

path [standard]path

Status
colourBlue
titledhis2

path

identifier

Name [standard]

Status
colourBlue
titledhis2

dhisName

name

Short name [standard]

Status
colourBlue
titledhis2

outletName

alias?

Code [standard]

Status
colourBlue
titledhis2

dhisCode

Identifier | Identifier

Identifier type

Description [standard]type

OU Facility Code

Status
colourGreen
titlecustom

facilityCode

Identifier

redundant

DO NOT PUT ON METADATA PACK

Description

Status
colourBlue
titledhis2

description

description

Opening date [standard]

Status
colourBlue
titledhis2

openingDate

status

Add custom field for start date?

Closed date [standard]

closedDate

Phone number [standard]

phoneNumber

telecom

Address [standard]Closed date

Status
colourBlue
titledhis2

closedDate

Address

Status
colourBlue
titledhis2

location.address

address

OU Location Area

Status
colourGreen
titlecustom

location.area

Address.state

Consider alternative to use OU Levels

OU Location Sub-Area

Status
colourGreen
titlecustom

location.subArea

Email [standard]Address.city

Email

Status
colourBlue
titledhis2

email

Telecomwhere Telecom code = email

URL [standard]

Status
colourBlue
titledhis2

url

Telecomwhere Telecom code = url

Comment [standard]

comment

OU Group name [standard]

orgUnitGroup

managingOrganisation?

Or

partOf?

Latitude [standard]

Phone number

Status
colourBlue
titledhis2

phoneNumber

Telecom or/and Identifier

We may need the value as identifier to be able to do searches.

OU Social.FB

Status
colourGreen
titlecustom

social_fb 

Telecom or/and Identifier

OU Social.WA

Status
colourGreen
titlecustom

social_wa 

Telecom or/and identifier

OU ShowContactInfo

Status
colourGreen
titlecustom

ouShowContactInfo 

Linked resource Consent?

Status
colourYellow
titleGaP ?

Latitude

Status
colourBlue
titledhis2

location.latitude

position.latitude

Longitude [standard]

Status
colourBlue
titledhis2

location.longitude

position.longitude

OU Opening Hours

Status
colourGreen
titlecustom

free text → fhir notation

openingHours

Hours of Operation

OU Locator Type

Status
colourGreen
titlecustom

w/ option set

locatorType:- Outlet

  • Outlet

Location

(1) |___ (m) Practitioner

In FHIR the concepts of Location and Practitioner (PSI’s provider) are separate

  • Provider

Practitioner / PractitionerRole

  • Out+Pro

No direct mapping

Outlet = location

Provider = Practi - Role - Loc

OU Outlet type [custom attribute]OU Outlet Type

Status
colourGreen
titlecustom

w/ option set

outletType

Location.type

FHIR types

For 2.0: DHIS will contain a selected list of FHIR types

OU services [custom attribute]

servicesStandard

HealthcareService.name

OU Services-Custom

customServices

HealthcareService.name

OU Opening Hours [custom]

openingHours

Hours of Operation

OrHealthcaseService.availableTime?

OU Location Area [custom]

location.area

Address.state/Address.city

OU Location Sub-Area [custom]

location.subArea

Address.city Or

Address.???

OU Tags [custom]

ouTags

GAP

OU Facility Code [custom]

facilityCode

OU Contraceptives [custom]

ouContraceptives 

HealthcareService.name

OU Social.FB [custom]

social_fb 

Telecom? Or Identifier

OU Social.WA [custom]

social_wa 

Telecom? Or identifier

OU ShowContactInfo [custom]

ouShowContactInfo 

Linked resource Consent?

OU Providers

FHIR/Practitioner

Via FHIR/PractionerRole

Id [standard]

dhisId

Name [Standard]

Or

OU Contact Person (if locType = ‘OnP)

providerNameOU Group name

Status
colourBlue
titledhis2

orgUnitGroup in an OUGS

OU Services

Status
colourGreen
titlecustom

comma delimited w/ option set

servicesStandard

https://www.hl7.org/fhir/healthcareservice.html

Uses a related FHIR resource

Do not include custom & contraceptive on metadata pack

OU Services-Custom

Status
colourGreen
titlecustom

free text

customServices

servicesCustom

OU Contraceptives

Status
colourGreen
titlecustom

comma delimited w/ option set

ouContraceptives 

OU Tags

Status
colourGreen
titlecustom

free text

ouTags

List resource (4.3)

Group (5.0)

need prototyping

Comment

Status
colourBlue
titledhis2

comment

Not required for location

DHIS2 web app UI

UID of custom attribute

EN label

[+]