Retrieve Genomics Specimen Identifiers for Clinical Specimen Identifiers

get

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

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

Request

Supported Media Types
Path Parameters
Query Parameters
  • Collection Format: multi
    Minimum Number of Items: 1
    Maximum Number of Items: 2147483647
    Patient/Subject Clinical Specimen Row IDs List
  • Pagination query params: ?limit=2&offset=0
  • Pagination query params: ?limit=2&offset=0
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : PageableCollectionGenomicSpecimen
Type: object
Model for paginated collections of data.
Show Source
Nested Schema : items
Type: array
A collection of paged items.
Show Source
Nested 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

Genomic specimen or genomic 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/genomicspecimens?id=96&id=97&limit=20&offset=0

Example of Response Body

The following example shows the response returned in JSON format.

{
  "resourceType": "GenomicSpecimen",
  "items": [
    {
      "identifier": {
        "system": "ODB",
        "value": "71"
      },
      "patient": {
        "reference": "/ohfapi/cg/v3.3/patientapi/genomicspecimens/97"
      }
    },
    {
      "identifier": {
        "system": "ODB",
        "value": "63"
      },
      "patient": {
        "reference": "/ohfapi/cg/v3.3/patientapi/genomicspecimens/96"
      }
    }
  ],
  "count": 2,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://loalhost:7010/ohfapi/cg/v3.3/patientapi/clinicalspecimens/genomicspecimens?id=96&id=97&limit=20&offset=0"
    }
  ]
}

API URL ??? Subject Context

http://localhost:7010/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/genomicspecimens?id=96&id=97&limit=20&offset=0

Example of Response Body

The following example shows the response returned in JSON format.

{
  "resourceType": "GenomicSpecimen",
  "items": [
    {
      "identifier": {
        "system": "ODB",
        "value": "63"
      },
      "subject": {
        "reference": "/ohfapi/cg/v3.3/subjectapi/genomicspecimens/96"
      }
    },
    {
      "identifier": {
        "system": "ODB",
        "value": "71"
      },
      "subject": {
        "reference": "/ohfapi/cg/v3.3/subjectapi/genomicspecimens/97"
      }
    }
  ],
  "count": 2,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7010/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/genomicspecimens?id=96&id=97&limit=20&offset=0"
    }
  ]
}
Back to Top