Person
Requesting FHIR Patient data for individuals associated with the event
The FHIR patient resource contains all names, addresses, contact details, gender details and other information. It also contains an array of identifiers for which the created National ID, alongside other IDs such as Social Security or Birth Registration Number can be stored.
For standardised addresses ie: states, districts and other administrative structure levels, configurable FHIR Location resources can be loaded into OpenCRVS and referred to by their resource id
in the address. You can read more about FHIR Locations in later sections below.
YOUR MEDIATOR MUST FOLLOW THE SECURITY GUIDANCE ABOVE, BEFORE PERMITTING ACCESS TO SENSITIVE, IDENTIFIABLE PATIENT DATA
URL
You can request all resources via OpenHIM in subsequent individual requests following this example URL for a Patient, to retrieve the details of the mother. So the format is your-openhim-core-url / resourceType / id :
Created from the previous composition like this:
Request headers
Patient payload
Key payload parameters
identifier
[{ value: "123456789", type: "NATIONAL_ID" }]
An aray of identifiers for the patient.
name
[{ "use": "en", "given": ["Fahmida"], "family": ["Hossein"] }]
The name
prop is extremely flexible for any language and name structure.
extension
[{ "url": "http://hl7.org ... ", "extension": ["url": "code", "valueCodeableConcept": {}], "valueString": "" }]
Extensions are common in FHIR and refer to standardised codes, such as ICD codes, OpenCRVS concepts, or can be custom values.
birthDate
YYYY-MM-DD
The registered date of birth of the individual
maritalStatus
{"coding": [{"system": "http://hl7.org/fhir/StructureDefinition/marital-status","code": "M"}],"text": "MARRIED"}
The maritalStatus
again is set using standardised codes browsable on the url supplied.
address
[{"type": "PERMANENT", line: [], "district": "6885f574-eb70-46dd-ab89-acc9982bd63e","state": "cd5e34cb-abe0-4900-9509-28f378b8d8e8","country": "ZMB"}]
Identifier parameters
PASSPORT
PASSPORT
NATIONAL_ID
PASSPORT
DRIVING_LICENSE
PASSPORT
BIRTH_REGISTRATION_NUMBER
PASSPORT
DEATH_REGISTRATION_NUMBER
PASSPORT
REFUGEE_NUMBER
PASSPORT
ALIEN_NUMBER
PASSPORT
OTHER
PASSPORT
SOCIAL_SECURITY_NO
PASSPORT
Last updated