Building on the Platform
...
Patient Demographics
Retrieve Patient
By identifier
3min
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 sandbox testing docid\ ncff15xnu1wglst2wnm p 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 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'{ "resourcetype" "patient", "id" "2078", "meta" { "versionid" "1", "lastupdated" "2023 10 05t14 29 14 124+00 00", "source" "#o1vjx8q904hvvemp", "tag" \[ { "system" "http //terminology hl7 org/codesystem/v3 actreason", "code" "htest", "display" "test health data" } ] }, "text" { "status" "generated", "div" "\<div xmlns=\\"http //www w3 org/1999/xhtml\\">\n \n \<p>patient donald duck @ acme healthcare, inc mr = 654321\</p>\n \n \</div>" }, "identifier" \[ { "use" "usual", "type" { "coding" \[ { "system" "http //terminology hl7 org/codesystem/v2 0203", "code" "mr" } ] }, "system" "urn\ oid 0 1 2 3 4 5 6 7", "value" "654321" } ], "active" true, "name" \[ { "use" "official", "family" "donald", "given" \[ "duck" ] } ], "gender" "male", "birthdate" "1924 06 09", "photo" \[ { "contenttype" "image/gif", "data" "r0lgodlhewarapcaaaaaaaaa/+9aao+1ap/wap/eap/ecp/eep/egp/nap/ncp/nep/nif/nkf/nuv/nwv/vap/vcp/vep/vgp/vif/vkf/vmf/vof/vwv/vy//va//vjp/3c//3lp/3np//tf//vf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yh5baeaaaealaaaaaatabeaaai+aamiddcgymgbcbmsvmcq4qcfcqcwdbgca4cldyegecdxaoaqhjxwykhqamegiuosjjjrpiagds5wcdly4aalflyoghlbwwosnydm0amzwygjbi8ihwotgqyorg8qigdawakhesi8hidgwqardi1wxxahk9mbbzz8/xdxqoufzc9iicbh6wehgz6ibnuwqospwxegylcxl8o/ganylnlw6auebril7og3kwqiicxb9hszqoieuzujneianmkaaaa7" } ], "contact" \[ { "relationship" \[ { "coding" \[ { "system" "http //terminology hl7 org/codesystem/v2 0131", "code" "e" } ] } ], "organization" { "reference" "organization/2072", "display" "walt disney corporation" } } ], "managingorganization" { "reference" "organization/2072", "display" "acme healthcare, inc" } } 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'{ "resourcetype" "bundle", "id" "d76e676b 9b33 4bc4 899b ea07de74db0e", "meta" { "lastupdated" "2023 10 05t14 38 36 501+00 00" }, "type" "searchset", "total" 1, "link" \[ { "relation" "self", "url" "https //api eu founda com/1/health/organizations/org 4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/patient/ search? profile=https //profiles ihe net/iti/pdqm/" } ], "entry" \[ { "fullurl" "https //api eu founda com/1/health/organizations/org 4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/patient/2078", "resource" { "resourcetype" "patient", "id" "2078", "meta" { "versionid" "1", "lastupdated" "2023 10 05t14 29 14 124+00 00", "source" "#o1vjx8q904hvvemp", "tag" \[ { "system" "http //terminology hl7 org/codesystem/v3 actreason", "code" "htest", "display" "test health data" } ] }, "text" { "status" "generated", "div" "\<div xmlns=\\"http //www w3 org/1999/xhtml\\">\n \n \<p>patient donald duck @ acme healthcare, inc mr = 654321\</p>\n \n \</div>" }, "identifier" \[ { "use" "usual", "type" { "coding" \[ { "system" "http //terminology hl7 org/codesystem/v2 0203", "code" "mr" } ] }, "system" "urn\ oid 0 1 2 3 4 5 6 7", "value" "654321" } ], "active" true, "name" \[ { "use" "official", "family" "donald", "given" \[ "duck" ] } ], "gender" "male", "birthdate" "1924 06 09", "photo" \[ { "contenttype" "image/gif", "data" "r0lgodlhewarapcaaaaaaaaa/+9aao+1ap/wap/eap/ecp/eep/egp/nap/ncp/nep/nif/nkf/nuv/nwv/vap/vcp/vep/vgp/vif/vkf/vmf/vof/vwv/vy//va//vjp/3c//3lp/3np//tf//vf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yh5baeaaaealaaaaaatabeaaai+aamiddcgymgbcbmsvmcq4qcfcqcwdbgca4cldyegecdxaoaqhjxwykhqamegiuosjjjrpiagds5wcdly4aalflyoghlbwwosnydm0amzwygjbi8ihwotgqyorg8qigdawakhesi8hidgwqardi1wxxahk9mbbzz8/xdxqoufzc9iicbh6wehgz6ibnuwqospwxegylcxl8o/ganylnlw6auebril7og3kwqiicxb9hszqoieuzujneianmkaaaa7" } ], "contact" \[ { "relationship" \[ { "coding" \[ { "system" "http //terminology hl7 org/codesystem/v2 0131", "code" "e" } ] } ], "organization" { "reference" "organization/2072", "display" "walt disney corporation" } } ], "managingorganization" { "reference" "organization/2072", "display" "acme healthcare, inc" } }, "search" { "mode" "match" } } ] }