Retrieve Genomic Specimen details for a Clinical Specimen Identifier

get

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

This endpoint supports the retrieval of Genomic Specimen for a single Clinical Specimen Identifier passed. It returns Genomic Specimen information like Specimen Number, Specimen Vendor Number and other Genomic Specimen associated information.

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 request parameters

404 Response

Query status 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/genomicspecimens/10096?limit=20&offset=0

Example of Response Body

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

{
  "resourceType": "GenomicSpecimen",
  "identifier": {
    "system": "ODB",
    "value": "63"
  },
  "specimenNumber": "HG000_10096",
  "specimenVendorNumber": "vendor2",
  "genomicSpecimenMetadata": {
    "reference": "/ohfapi/cg/v3.3/patientapi/genomicspecimens/63/metadata"
  },
  "genomicFileMetadata": {
    "reference": "/ohfapi/cg/v3.3/patientapi/genomicspecimens/63/fileMetadata"
  },
  "patient": {
    "reference": "/ohfapi/cg/v3.3/patientapi/patients/2"
  }
}

API URL ??? Subject Context

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

Example of Response Body

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

{
  "resourceType": "GenomicSpecimen",
  "identifier": {
    "system": "ODB",
    "value": "40001"
  },
  "specimenNumber": "ADME_SPEC1",
  "specimenVendorNumber": "adme",
  "genomicSpecimenMetadata": {
    "reference": "/ohfapi/cg/v3.3/subjectapi/genomicspecimens/40001/metadata"
  },
  "genomicFileMetadata": {
    "reference": "/ohfapi/cg/v3.3/subjectapi/genomicspecimens/40001/fileMetadata"
  },
  "subject": {
    "reference": "/ohfapi/cg/v3.3/subjectapi/subjects/7"
  }
}
Back to Top