Retrieve Genomic Specimens for a Specimen Identifier

get

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

This endpoint supports the retrieval of Patient/Subject Genomic Specimen Row IDs for a Clinical Specimen Row ID, if Clinical Specimen is valid and has corresponding omics data.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : GenomicSpecimen
Type: object
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source

400 Response

Invalid parameters supplied

404 Response

Clinical specimen or clinical specimen metadata not found
Back to Top

Examples

The following example submits a GET request.

API URL ??? Patient Context

http://localhost:7010/ohfapi/cg/v3.3/patientapi/clinicalspecimens/96/genomicspecimens

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "resourceType": "GenomicSpecimen",
  "identifier": {
    "system": "ODB",
    "value": "63"
  },
  "patient": {
    "reference": "/ohfapi/cg/v3.3/patientapi/genomicspecimens/96"
  }
}

API URL ??? Subject Context

http://localhost:7010/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/97/genomicspecimens

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "resourceType": "GenomicSpecimen",
  "identifier": {
    "system": "ODB",
    "value": "71"
  },
  "subject": {
    "reference": "/ohfapi/cg/v3.3/subjectapi/genomicspecimens/97"
  }
}
Back to Top