Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FHIR resource:

Location

Fields mapping:

OpenIMIS fieldDB typeFHIR fieldDescriptionNote
HfIDintIdentifier

HFCodenvarchar(8)Identifier

HFNamenvarchar(100)name

LegalFormFK(tblLegalForms)
G: Government
C: Charity
GD: District organization
RP: Private organization
The FHIR Location object don't contains that kind of information. If this information is valuable for external systems then we can add FHIR extension (if needed).
HFLevelchar(1)typeC - health center
H - hospital
D - dispensary

HFSublevelFK(tblHFSublevel)
I: Integrated
R: Reference
N: No Sublevel
The FHIR Location object don't contains that kind of information. If this information is valuable for external systems then we can add FHIR extension (if needed).
HFAddressnvarchar(100)Address

LocationIdFK(tblLocations)partOf - Reference(Location)
The FHIR Location will be used to represent the tblHF and tblLocations. The FHIR location.mode field can be used to distinguish between those object.
Phonenvarchar(50)telecom

Faxnvarchar(50)telecom

eMailnvarchar(50)telecom

HFCareTypechar(1)
I - In-Patient
O - Out-Patient
B - both
The FHIR Location object don't contains that kind of information. If this information is valuable for external systems then we can add FHIR extension (if needed).
PLServiceIDFK(tblPLServices)

If needed we can add the FHIR extension, try to use the "Location.endpoint" to represent this field or try to use the FHIR HealthcareService.
PLItemIDFK(tblPLItems)

As above.
AccCodenvarchar(25)
Account CodeI'm not sure if this information should be available for external systems. If needed we can add this information to the "location.description" or we can add the FHIR extension.
OffLinebit

I'm not sure but this is probably used to determine the source of row (offline/online app). Probably information isn't valuable for external systems.
ValidityFromdatetime
This information are valuable for OpenIMIS but I probably not required by external systems.
ValidityTodatetime
LegacyIDint
AuditUserIDint
RowIDtimestamp

I'm not sure but this is probably some unique value used to distinguish database rows. Probably not useful for external systems.

...