Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

GET openspecimen/rest/ng/specimens/{specimenId}

Use this API to get specimen specimen detail. The specimen ID is given to get that specimen detail.

Parameter Details:

The API accepts only specimen ID in URL of which details are needed.

Result:

If specimen exists of given specimen ID, then specimen details is given. Else error message.

API Example:

URLopenspecimen/rest/ng/specimens/1
MethodGET
Response

{

  "id": 1,

  "cpId": 1,

  "cprId": 1,

  "eventId": null,

  "visitId": 1,

  "visitName": "first visit",

  "cpShortTitle": "blood",

  "reqId": 1,

  "sortOrder": null,

  "label": "blood1",

  "barcode": null,

  "type": "Whole Blood",

  "specimenClass": "Fluid",

  "lineage": "New",

  "anatomicSite": "Autonomic nervous system, NOS",

  "laterality": "Not Applicable",

  "status": "Collected",

  "reqLabel": "whole blood",

  "pathology": "Malignant, Pre-Invasive",

  "initialQty": 250,

  "availableQty": 220,

  "available": true,

  "concentration": 10,

  "parentId": null,

  "parentLabel": null,

  "storageLocation": {

    "id": 1,

    "name": "Fluid Container",

    "positionX": "1",

    "positionY": "A"

  },

  "storageType": "Auto",

  "collectionContainer": null,

  "activityStatus": "Active",

  "createdOn": 1442993220000,

  "code": null,

  "distributed": true,

  "collectionEvent": null,

  "receivedEvent": null,

  "labelFmt": null,

  "biohazards": [],

  "comments": null,

  "closeAfterChildrenCreation": null,

  "children": [],

  "pooledSpecimenId": null,

  "pooledSpecimenLabel": null,

  "specimensPool": null,

  "closeParent": null,

  "poolSpecimen": false,

  "extensionDetail": null

}

  • No labels