By identifier
3 min
Interaction
A patient can be queried for based on the patient's unique identifier by sending a GET or a POST request to the Patient endpoint, depending on your region: https://api.<region>.founda.com/1/health/organizations/<org-x>/fhir/4/Patient/<patient-id>.
Don't forget to replace <patient-id> with the unique identifier of the patient you have available!
Profile
The Retrieve Patient interaction with the Founda Platform is based on the IHE PDQm profile. To indicate that the request and response should comply with ITI-78, the _profile parameter should be included to the search set: .../Patient?_profile=https://profiles.ihe.net/ITI/PDQm.
Example API call
Retrieve Patient by identifier - GET
curl --location 'https://api.eu.founda.com/1/health/organizations/org-4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/Patient/2078/?_profile=https%3A%2F%2Fprofiles.ihe.net%2FITI%2FPDQm%2F' \
--header 'Authorization: Bearer ory_at_Rsh9ASri-M5WV6iVOHLorgo1lAvFi4-Kg9dPlWosdjM.NrSredmWdEzbONXaOYKkOSaweXAHzDXUueY5AAnavkU'Retrieve Patient by identifier - POST
curl --location 'https://api.eu.founda.com/1/health/organizations/org-4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/Patient/_search?_profile=https%3A%2F%2Fprofiles.ihe.net%2FITI%2FPDQm%2F' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer ory_at_Rsh9ASri-M5WV6iVOHLorgo1lAvFi4-Kg9dPlWosdjM.NrSredmWdEzbONXaOYKkOSaweXAHzDXUueY5AAnavkU' \
--data-urlencode '_id=2078'