Retrieve Observations for a Condition Patient Record id

get

/ohfapi/cg/v3.3/patientapi/conditions/{id}/observations

This endpoint supports the retrieval of Observations for a single Condition Patient Record (row) id. It returns all the Observations links for the given Condition Patient ID.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : DiagnosisObservations
Type: object
Model for Diagnosis Observations object in CDM.
Show Source
Nested Schema : conditionobservations
Type: array
A list of links containing href to retrieve observation details
Show Source
Example:
{href: '/patientapi/observations/{id}'}
Nested Schema : LinkedReference
Type: object
Show Source

400 Response

Invalid parameters supplied

404 Response

Observations not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/patientapi/conditions/10001/observations

Example of Response Body

The following example shows the response returned in JSON format.

{
     "patientcondition": {
         "reference": "/ohfapi/cg/v3.3/patientapi/conditions/10001"
     },
     "conditionobservations": [
         {
             "reference": "/ohfapi/cg/v3.3/patientapi/observations/10001"
         }
     ]
 }
Back to Top