Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

FHIR resources:

Fields mapping:

OpenIMIS fieldDB typeFHIR fieldDescriptionNoteSTPH
InsureeIDPK, intidentifier


FamilyIDFK (tblFamilies)RelatedPerson
To represent the relationship between patients we can use the RelatedPerson resource.It could be related to Group entity but not in this direction
Another solution is to use the contact field and relate to another Patient (the head of the family)
CHFIDncarchar(12)Identifier


LastNamenvarchar(110)name


OtherNamesnvarchar(110)name


DOBdatebirthDateDate of birth

GenderFK (tblGender)gender


Maritalchar(1)maritalStatus


IsHeadbitRelatedPerson.relationship
I'm not sure if this information is important for external systems.It depends on how we relate to the Family
passportnvarchar(25)identifierIdentification Numberhttps://hl7.org/fhir/STU3/datatypes.html#identifier0..* relation on identifier
Phonenvarchar(50)telecom


PhotoIDFK (tblPhotos)photo


PhotoDatedatephoto.creation


CardIssuedbit

I'm not sure if this information is important for external systems.not important
ValidityFromdatetime

this could be used to update the insuree information
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.
RelationshipFK(tblRelations)
1 Brother/Sister
2 Father/Mother
3 Uncle/Aunt
4 Son/Daughter
5 Grand parents
6 Employee
7 Others
8 Spouse
The FHIR representation doesn't provide this information. We can consider adding the FHIR extensions if needed (if it will be useful for external systems).
not for Claiming
ProfessionFK(tblProfessions)
1 Housewife
2 Employee
3 Self Employee
4 Others
not for Claiming
EducationFK(tblEducations)
1 Nursery
2 Primary school
3 Secondary school
4 University
5 Postgraduate studies
6 PHD
7 Other
not for Claiming
Emailnvarchar(100)telecom


isOfflinebit

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.
TypeOfIdFK(tblIdentificationTypes)identifierIdentification Type
D - Driver's License
N - National ID
P - Passport
V - Voter Card
As far as I am concerned this is the type of identifier from "passport" field. We can put these values into one FHIR identifier object.
HFIDFK (tblHF)managingOrganization
It depends on mapping the HF to FHIR resource. If the FHIR Organization will be choosen then it shouldn't be an issue but when the FHIR Location will be used there can be an issue. Probably we can add in this field reference to Location instead of Organization (should be verify).
CurrentAddressnvarchar(200)address


GeoLocationnvarchar(250)addressIf this information is important for external systems we can put that information as other address. The patient can contain multiple addresses.

CurrentVillageint

I'm not sure if this information is important for external systems.
  • No labels