4. Get Patient info and notes about the patient

GET https://api-{{tenant-id}}.developer.commure.com/api/v1/r4/Patient?_id={{patient-id}}&_revinclude=ClinicalImpression:subject

The client application can use the patient id to retrieve and display the patient information along with the notes (ClinicalImpression) the practitioners have left about the patient. A reference to the Patient resource is found in the ClinicalImpression resource in the subject field. The same patient could be referenced in several ClinicalImpression resources.

We are going to retrieve both the Patient and the ClinicalImpression.

Request Params

KeyDatatypeRequiredDescription
_idstring
_revincludestring

RESPONSES

status: OK

{"resourceType":"Bundle","type":"searchset","link":[{"relation":"self","url":"Patient?_id=patient-id\u0026_revinclude=ClinicalImpression%3Asubject\u0026_count=50"}],"entry":[{"fullUrl":"https://api-53914125.developer.commure.com/api/v1/r4/Patient/patient-id","resource":{"resourceType":"Patient","id":"patient-id","meta":{"versionId":"18672f9c-21d6-4625-be3a-3515addaa575","lastUpdated":"2020-02-03T23:51:05.238019+00:00"},"identifier":[{"use":"official","system":"UCSF Medical Center","value":"09272017"},{"use":"secondary","system":"Commure Demo Patient","value":"demo"}],"active":true,"name":[{"use":"official","text":"Andre Perez","family":"Perez","given":["Andre"]}],"telecom":[{"system":"phone","value":"415-867-5309","use":"home"}],"gender":"male","birthDate":"1937-01-26","address":[{"use":"home","type":"both","text":"321 A Road, San Francisco, CA 94830","line":["321 A Road"],"city":"San Francisco","state":"CA"}],"photo":[{"contentType":"image/jpeg","url":"https://image1.masterfile.com/getImage/NzAwLTAzNzc3NzkzZW4uMDAwMDAwMDA=AK$cxK/700-03777793en_Masterfile.jpg"}],"managingOrganization":{"reference":"Organization/organization-id"}},"search":{"mode":"match"}},{"fullUrl":"https://api-53914125.developer.commure.com/api/v1/r4/ClinicalImpression/clinical-impresion-id","resource":{"resourceType":"ClinicalImpression","id":"clinical-impresion-id","meta":{"extension":[{"extension":[{"url":"clientname","valueString":"data_uploader"},{"url":"person","valueReference":{"reference":"Person/person-id"}}],"url":"https://commure.com/fhir/provenance/StructureDefinition/creator-structure-map"}],"versionId":"2ed39375-8974-4d2b-8081-209b3a53d873","lastUpdated":"2020-10-19T16:41:10.543052+00:00"},"status":"completed","code":{"coding":[{"system":"http://loinc.org","code":"77599-9","display":"Additional documentation"}],"text":"Additional documentation"},"subject":{"reference":"Patient/patient-id"},"effectiveDateTime":"2020-01-29T15:15:04.000-08:00","date":"2020-01-29T03:28:31.000-08:00","summary":"Awaiting medication orders from on-call resident"},"search":{"mode":"include"}}]}