Retrieve Diagnosis for a Clinical Specimen Identifier

get

/ohfapi/cg/v3.3/{apiContext}/clinicalspecimens/{id}/conditions

This endpoint supports the retrieval of Conditions for a single Patient Clinical Specimen Identifier. It returns all the Condition links for the given Clinical Specimen.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : SpecimenDiagnosis
Type: object
Model for a Specimen Diagnosis object in CDM.
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : patientconditions
Type: array
A list of links containing href to retrieve condition details
Show Source
Example:
{href: '/patientapi/conditions/{id}'}

400 Response

Invalid parameters supplied

404 Response

Diagnosis not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/patientapi/clinicalspecimens/14212/conditions

Example of Response Body

The following example shows the response returned in JSON format.

{
     "clinicalspecimen": {
         "reference": "/ohfapi/cg/v3.3/patientapi/clinicalspecimens/14212"
     },
     "patientconditions": [
         {
             "reference": "/ohfapi/cg/v3.3/patientapi/conditions/10001"
         }
     ]
 }
Back to Top