Project: REST JSON to FHIR JSON Mapping Implementation

Hi All,

I completed fhir to librehealth json representation as well.

Following are the outputs

CONVERTED LIBRE HEALTH PATIENT TO FHIR {“resourceType”:“Patient”,“id”:“f19c6540-0058-4bb2-9019-d61dd6afd0ce”,“identifier”:[{“id”:“f625a561-6cef-4e5a-a661-72377641d8d4”,“use”:“usual”,“system”:“Old Identification Number”,“value”:“1234”}],“active”:false,“name”:[{“id”:“9a4df03d-731e-4023-ae88-af7d82f86777”,“family”:“family1”,“given”:[“test1”]}],“gender”:“female”,“birthDate”:“1984-01-01”,“address”:[{“id”:“1bb9664c-da14-4db6-aea6-018046c8841c”,“use”:“home”,“line”:[“Address1”,“Address12”],“city”:“SampleVillege”,“state”:“SampleProvince”,“postalCode”:“7878”,“country”:“SampleCountry”}]}

CONVERTED FHIR PATIENT TO LIBRE HEALTH {“identifiers”:[{“display”:“Old Identification Number=1234”,“links”:[{“ref”:“self”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/identifier/f625a561-6cef-4e5a-a661-72377641d8d4"}],“uuid”:“f625a561-6cef-4e5a-a661-72377641d8d4”}],“person”:{“preferredAddress”:{“display”:"",“links”:[{“ref”:“self”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/address/1bb9664c-da14-4db6-aea6-018046c8841c”}],“uuid”:“1bb9664c-da14-4db6-aea6-018046c8841c”},“birthdate”:"Sun Jan 01 00:00:00 IST 1984”,“gender”:“F”,“display”:“family1”,“links”:[{“ref”:“self”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/person/Patient/f19c6540-0058-4bb2-9019-d61dd6afd0ce"},{“ref”:“ful”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/patient/Patient/f19c6540-0058-4bb2-9019-d61dd6afd0ce?v=full”}],“preferredName”:{“display”:“family1”,“links”:[{“ref”:“self”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/name/9a4df03d-731e-4023-ae88-af7d82f86777”}],“uuid”:“9a4df03d-731e-4023-ae88-af7d82f86777”},“uuid”:“Patient/f19c6540-0058-4bb2-9019-d61dd6afd0ce”},“display”:“1234-family1”,“links”:[{“ref”:“self”,“uri”:“https://radiology.librehealth.io/lh-toolkit/ws/rest/v1/patient/patient/Patient/f19c6540-0058-4bb2-9019-d61dd6afd0ce”},{}],“uuid”:"Patient/f19c6540-0058-4bb2-9019-d61dd6afd0ce”}

1 Like