Retrieve Patient Clinical Specimen Query Status

get

/ohfapi/cg/v3.3/patientapi/clinicalspecimens/queries/{id}

This endpoint supports the retrieval of Patient Clinical Specimen Query Status for a Query Identifier.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : QueryExecutionStatus
Type: object
Show Source
Nested Schema : QueryJobError
Type: object
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

http://localhost:7010/ohfapi/cg/v3.3/patientapi/clinicalspecimens/queries/999

Example of Response Body

The following example shows the response returned in JSON format.

{
  "executeAsync": false,
  "minRetentionPeriodDays": 5,
  "queryCriteria": {
    "allCriteriaList": [
      {
        "type": "MedicationCriteria",
        "exclude": false,
        "medicationCodeList": [
          "1000000"
        ],
        "medicationOutcomeCodeList": [
          "1"
        ]
      },
      {
        "type": "SequenceVariantsCriteria",
        "exclude": false,
        "radioOptionMode": "VAR_IN_SELECTED_GENES",
        "geneInformation": {
          "type": "SequenceVariantsGeneDetails",
          "geneList": [
            "BID"
          ],
          "dnaVersionList": [
            2
          ],
          "dnaAlignmentList": [
            "GRCh37"
          ]
        },
        "geneRegionsList": [
          "PROMOTER"
        ],
        "polyphenSelected": false,
        "siftSelected": false,
        "fileTypeVCFSelected": true,
        "fileTypeMAFSelected": false,
        "fileTypeCGISelected": false
      }
    ]
  },
  "queryId": 999,
  "queryExecutionStatus": {
    "status": "DONE",
    "links": [
      {
        "rel": "status",
        "href": "/ohfapi/cg/v3.3/patientapi/clinicalspecimens/queries/999"
      },
      {
        "rel": "result",
        "href": "/ohfapi/cg/v3.3/patientapi/clinicalspecimens/queries/999/data"
      }
    ]
  }
}
Back to Top