GET
/transactional-api/get-investigation-reportGet Investigation Report
Returns the full detail of a single PENDING investigation report.
Authorization: Bearer token (JWT). See Authentication.
Request
curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/get-investigation-report' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Path and query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
reportId | query | string<uuid> | Yes | The UUID of the investigation report to retrieve. |
Responses
200 Investigation report detail.
Response fields
| Field | Type | Description |
|---|---|---|
reportId | string<uuid> | |
patientId | string<uuid> | |
displayDescription | string | |
receivedDateTime | string (nullable) | |
issuedDateTime | string (nullable) | |
requestedByOrganisation.name | string (nullable) | |
requestedByOrganisation.identifierType | enum (nullable) | One of: medicus-tenant-id, nhs-england-ods-code, medicus-referral-provider-id, third-party-system-organisation-id, unknown-identifier-type. |
requestedByOrganisation.identifierValue | string (nullable) | |
requestedByPractitioner.displayName | string (nullable) | |
requestedByPractitioner.identifierType | enum (nullable) | One of: medicus-staff-id, medicus-referral-provider-practitioner-id, gb-nhs-gp-connect-practitioner-id, gb-nhs-gp-national-code, gb-gmc-number, gb-gphc-number, gb-hcpc-number, gb-nmc-pin, sds-user-id. |
requestedByPractitioner.identifierValue | string (nullable) | |
performedByOrganisation.name | string (nullable) | |
performedByOrganisation.identifierType | enum (nullable) | One of: medicus-tenant-id, nhs-england-ods-code, medicus-referral-provider-id, third-party-system-organisation-id, unknown-identifier-type. |
performedByOrganisation.identifierValue | string (nullable) | |
performedByPractitioner.displayName | string (nullable) | |
performedByPractitioner.identifierType | enum (nullable) | One of: medicus-staff-id, medicus-referral-provider-practitioner-id, gb-nhs-gp-connect-practitioner-id, gb-nhs-gp-national-code, gb-gmc-number, gb-gphc-number, gb-hcpc-number, gb-nmc-pin, sds-user-id. |
performedByPractitioner.identifierValue | string (nullable) | |
requesterComments | string (nullable) | |
performerComments | string (nullable) | |
reportIdentifier | string (nullable) | |
filingComments[].commentId | string<uuid> | |
filingComments[].comment | string (nullable) | |
filingComments[].recordDate | string (nullable) | |
filingComments[].recordAuthorPractitioner.displayName | string (nullable) | |
filingComments[].recordAuthorPractitioner.identifierType | enum (nullable) | One of: medicus-staff-id, medicus-referral-provider-practitioner-id, gb-nhs-gp-connect-practitioner-id, gb-nhs-gp-national-code, gb-gmc-number, gb-gphc-number, gb-hcpc-number, gb-nmc-pin, sds-user-id. |
filingComments[].recordAuthorPractitioner.identifierValue | string (nullable) | |
filingComments[].recordAuthorOrganisation.name | string (nullable) | |
filingComments[].recordAuthorOrganisation.identifierType | enum (nullable) | One of: medicus-tenant-id, nhs-england-ods-code, medicus-referral-provider-id, third-party-system-organisation-id, unknown-identifier-type. |
filingComments[].recordAuthorOrganisation.identifierValue | string (nullable) | |
investigationGroups[].groupId | string<uuid> | |
investigationGroups[].type.conceptId | string (nullable) | |
investigationGroups[].type.description | string (nullable) | |
investigationGroups[].performerComments | string (nullable) | |
investigationGroups[].results[].resultId | string<uuid> | |
investigationGroups[].results[].type.conceptId | string (nullable) | |
investigationGroups[].results[].type.description | string (nullable) | |
investigationGroups[].results[].resultCode.conceptId | string (nullable) | |
investigationGroups[].results[].resultCode.description | string (nullable) | |
investigationGroups[].results[].resultValue | string (nullable) | |
investigationGroups[].results[].resultUnit.conceptId | string (nullable) | |
investigationGroups[].results[].resultUnit.description | string (nullable) | |
investigationGroups[].results[].resultComparator | enum (nullable) | One of: >, >=, <, <=, =. |
investigationGroups[].results[].resultStatus | enum (nullable) | One of: not-available, preliminary, final, amended. |
investigationGroups[].results[].interpretation.conceptId | string (nullable) | |
investigationGroups[].results[].interpretation.description | string (nullable) | |
investigationGroups[].results[].referenceRanges[].lowerReferenceLimit | string (nullable) | |
investigationGroups[].results[].referenceRanges[].upperReferenceLimit | string (nullable) | |
investigationGroups[].results[].referenceRanges[].description | string (nullable) | |
investigationGroups[].results[].issuedDateTime | string | |
investigationGroups[].results[].performedDateTime | string (nullable) | |
investigationGroups[].results[].approximateResult | boolean (nullable) | |
investigationGroups[].results[].performerComments | string (nullable) | |
investigationGroups[].results[].specimen.specimenId | string<uuid> | |
investigationGroups[].results[].specimen.specimenType | string (nullable) | |
investigationGroups[].results[].specimen.collectedDate | string (nullable) | |
investigationGroups[].results[].specimen.collectedTime | string (nullable) | |
investigationGroups[].results[].specimen.receivedForProcessingDateTime | string (nullable) | |
investigationGroups[].results[].specimen.fastingStatus | enum (nullable) | One of: fasting. |
investigationGroups[].results[].specimen.amountCollectedValue | string (nullable) | |
investigationGroups[].results[].specimen.amountCollectedUnit.conceptId | string (nullable) | |
investigationGroups[].results[].specimen.amountCollectedUnit.description | string (nullable) | |
investigationGroups[].results[].specimen.requesterIdentifier | string (nullable) | |
investigationGroups[].results[].specimen.performerIdentifier | string (nullable) | |
investigationGroups[].results[].specimen.performerComments | string (nullable) | |
investigationGroups[].results[].filingComments[].commentId | string<uuid> | |
investigationGroups[].results[].filingComments[].comment | string (nullable) | |
investigationGroups[].results[].filingComments[].recordDate | string (nullable) | |
investigationGroups[].specimen.specimenId | string<uuid> | |
investigationGroups[].specimen.specimenType | string (nullable) | |
investigationGroups[].specimen.collectedDate | string (nullable) | |
investigationGroups[].specimen.collectedTime | string (nullable) | |
investigationGroups[].specimen.receivedForProcessingDateTime | string (nullable) | |
investigationGroups[].specimen.fastingStatus | enum (nullable) | One of: fasting. |
investigationGroups[].specimen.amountCollectedValue | string (nullable) | |
investigationGroups[].specimen.amountCollectedUnit.conceptId | string (nullable) | |
investigationGroups[].specimen.amountCollectedUnit.description | string (nullable) | |
investigationGroups[].specimen.requesterIdentifier | string (nullable) | |
investigationGroups[].specimen.performerIdentifier | string (nullable) | |
investigationGroups[].specimen.performerComments | string (nullable) | |
investigationGroups[].filingComments[].commentId | string<uuid> | |
investigationGroups[].filingComments[].comment | string (nullable) | |
investigationGroups[].filingComments[].recordDate | string (nullable) | |
investigationGroups[].filingComments[].recordAuthorPractitioner.displayName | string (nullable) | |
investigationGroups[].filingComments[].recordAuthorPractitioner.identifierType | enum (nullable) | One of: medicus-staff-id, medicus-referral-provider-practitioner-id, gb-nhs-gp-connect-practitioner-id, gb-nhs-gp-national-code, gb-gmc-number, gb-gphc-number, gb-hcpc-number, gb-nmc-pin, sds-user-id. |
investigationGroups[].filingComments[].recordAuthorPractitioner.identifierValue | string (nullable) | |
investigationGroups[].filingComments[].recordAuthorOrganisation.name | string (nullable) | |
investigationGroups[].filingComments[].recordAuthorOrganisation.identifierType | enum (nullable) | One of: medicus-tenant-id, nhs-england-ods-code, medicus-referral-provider-id, third-party-system-organisation-id, unknown-identifier-type. |
investigationGroups[].filingComments[].recordAuthorOrganisation.identifierValue | string (nullable) | |
ungroupedResults[].resultId | string<uuid> | |
ungroupedResults[].type.conceptId | string (nullable) | |
ungroupedResults[].type.description | string (nullable) | |
ungroupedResults[].resultCode.conceptId | string (nullable) | |
ungroupedResults[].resultCode.description | string (nullable) | |
ungroupedResults[].resultValue | string (nullable) | |
ungroupedResults[].resultUnit.conceptId | string (nullable) | |
ungroupedResults[].resultUnit.description | string (nullable) | |
ungroupedResults[].resultComparator | enum (nullable) | One of: >, >=, <, <=, =. |
ungroupedResults[].resultStatus | enum (nullable) | One of: not-available, preliminary, final, amended. |
ungroupedResults[].interpretation.conceptId | string (nullable) | |
ungroupedResults[].interpretation.description | string (nullable) | |
ungroupedResults[].referenceRanges[].lowerReferenceLimit | string (nullable) | |
ungroupedResults[].referenceRanges[].upperReferenceLimit | string (nullable) | |
ungroupedResults[].referenceRanges[].description | string (nullable) | |
ungroupedResults[].issuedDateTime | string | |
ungroupedResults[].performedDateTime | string (nullable) | |
ungroupedResults[].approximateResult | boolean (nullable) | |
ungroupedResults[].performerComments | string (nullable) | |
ungroupedResults[].specimen.specimenId | string<uuid> | |
ungroupedResults[].specimen.specimenType | string (nullable) | |
ungroupedResults[].specimen.collectedDate | string (nullable) | |
ungroupedResults[].specimen.collectedTime | string (nullable) | |
ungroupedResults[].specimen.receivedForProcessingDateTime | string (nullable) | |
ungroupedResults[].specimen.fastingStatus | enum (nullable) | One of: fasting. |
ungroupedResults[].specimen.amountCollectedValue | string (nullable) | |
ungroupedResults[].specimen.amountCollectedUnit.conceptId | string (nullable) | |
ungroupedResults[].specimen.amountCollectedUnit.description | string (nullable) | |
ungroupedResults[].specimen.requesterIdentifier | string (nullable) | |
ungroupedResults[].specimen.performerIdentifier | string (nullable) | |
ungroupedResults[].specimen.performerComments | string (nullable) | |
ungroupedResults[].filingComments[].commentId | string<uuid> | |
ungroupedResults[].filingComments[].comment | string (nullable) | |
ungroupedResults[].filingComments[].recordDate | string (nullable) | |
ungroupedResults[].filingComments[].recordAuthorPractitioner.displayName | string (nullable) | |
ungroupedResults[].filingComments[].recordAuthorPractitioner.identifierType | enum (nullable) | One of: medicus-staff-id, medicus-referral-provider-practitioner-id, gb-nhs-gp-connect-practitioner-id, gb-nhs-gp-national-code, gb-gmc-number, gb-gphc-number, gb-hcpc-number, gb-nmc-pin, sds-user-id. |
ungroupedResults[].filingComments[].recordAuthorPractitioner.identifierValue | string (nullable) | |
ungroupedResults[].filingComments[].recordAuthorOrganisation.name | string (nullable) | |
ungroupedResults[].filingComments[].recordAuthorOrganisation.identifierType | enum (nullable) | One of: medicus-tenant-id, nhs-england-ods-code, medicus-referral-provider-id, third-party-system-organisation-id, unknown-identifier-type. |
ungroupedResults[].filingComments[].recordAuthorOrganisation.identifierValue | string (nullable) |
{
"reportId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"patientId": "4d59c916-9726-11ec-af3f-0a58a9feac02",
"displayDescription": "Full blood count",
"receivedDateTime": "2024-01-15 09:30:00",
"issuedDateTime": "2024-01-15 09:30:00",
"requestedByOrganisation": {
"name": "Riverside Medical Practice",
"identifierType": "medicus-tenant-id",
"identifierValue": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"requestedByPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"performedByOrganisation": {
"name": "Riverside Medical Practice",
"identifierType": "medicus-tenant-id",
"identifierValue": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"performedByPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"requesterComments": "Please expedite due to clinical urgency.",
"performerComments": "Reviewed and no action required.",
"reportIdentifier": "LAB-2024-00123",
"filingComments": [
{
"commentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"comment": "Filed: result within expected range.",
"recordDate": "2024-01-15",
"recordAuthorPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"recordAuthorOrganisation": {
"name": "Riverside Medical Practice",
"identifierType": "medicus-tenant-id",
"identifierValue": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
],
"investigationGroups": [
{
"groupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"performerComments": "Reviewed and no action required.",
"results": [
{
"resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultCode": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultValue": "5.2",
"resultUnit": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultComparator": "=",
"resultStatus": "final",
"interpretation": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"referenceRanges": [
{
"lowerReferenceLimit": null,
"upperReferenceLimit": null,
"description": null
}
],
"issuedDateTime": "2024-01-15 09:30:00",
"performedDateTime": "2024-01-15 09:30:00",
"approximateResult": false,
"performerComments": "Reviewed and no action required.",
"specimen": {
"specimenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"specimenType": "Venous blood",
"collectedDate": "2024-01-14",
"collectedTime": "14:00:00",
"receivedForProcessingDateTime": "2024-01-14 15:00:00",
"fastingStatus": "fasting",
"amountCollectedValue": "5",
"amountCollectedUnit": {
"conceptId": null,
"description": null
},
"requesterIdentifier": "REQ-2024-00456",
"performerIdentifier": "LAB-2024-00789",
"performerComments": "Reviewed and no action required."
},
"filingComments": [
{
"commentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"comment": "Filed: result within expected range.",
"recordDate": "2024-01-15",
"recordAuthorPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"recordAuthorOrganisation": null
}
]
}
],
"specimen": {
"specimenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"specimenType": "Venous blood",
"collectedDate": "2024-01-14",
"collectedTime": "14:00:00",
"receivedForProcessingDateTime": "2024-01-14 15:00:00",
"fastingStatus": "fasting",
"amountCollectedValue": "5",
"amountCollectedUnit": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"requesterIdentifier": "REQ-2024-00456",
"performerIdentifier": "LAB-2024-00789",
"performerComments": "Reviewed and no action required."
},
"filingComments": [
{
"commentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"comment": "Filed: result within expected range.",
"recordDate": "2024-01-15",
"recordAuthorPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"recordAuthorOrganisation": {
"name": "Riverside Medical Practice",
"identifierType": "medicus-tenant-id",
"identifierValue": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
]
}
],
"ungroupedResults": [
{
"resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultCode": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultValue": "5.2",
"resultUnit": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"resultComparator": "=",
"resultStatus": "final",
"interpretation": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"referenceRanges": [
{
"lowerReferenceLimit": "3.5",
"upperReferenceLimit": "11.0",
"description": "Normal range"
}
],
"issuedDateTime": "2024-01-15 09:30:00",
"performedDateTime": "2024-01-15 09:30:00",
"approximateResult": false,
"performerComments": "Reviewed and no action required.",
"specimen": {
"specimenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"specimenType": "Venous blood",
"collectedDate": "2024-01-14",
"collectedTime": "14:00:00",
"receivedForProcessingDateTime": "2024-01-14 15:00:00",
"fastingStatus": "fasting",
"amountCollectedValue": "5",
"amountCollectedUnit": {
"conceptId": "185389009",
"description": "Telephone encounter"
},
"requesterIdentifier": "REQ-2024-00456",
"performerIdentifier": "LAB-2024-00789",
"performerComments": "Reviewed and no action required."
},
"filingComments": [
{
"commentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"comment": "Filed: result within expected range.",
"recordDate": "2024-01-15",
"recordAuthorPractitioner": {
"displayName": "Dr. Smith",
"identifierType": "medicus-staff-id",
"identifierValue": "a1b2c3d4"
},
"recordAuthorOrganisation": {
"name": "Riverside Medical Practice",
"identifierType": "medicus-tenant-id",
"identifierValue": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
]
}
]
}
400 Validation error.
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "invalid-report-id",
"description": "The reportId is not a UUID."
}
]
}
403 Forbidden: the calling application does not have the required permission.
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "forbidden",
"description": "The calling application does not have permission to use this endpoint."
}
]
}
404 No report exists for the given reportId.
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "investigation-report-not-found",
"description": "Investigation report not found for this reportId."
}
]
}
409 The report exists but is not in PENDING status.
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "investigation-report-not-pending",
"description": "This investigation report is not in PENDING status."
}
]
}
422 The report contains free-text results and cannot be retrieved via this API.
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "investigation-report-has-text-results",
"description": "This investigation report contains free-text results and cannot be retrieved via this API."
}
]
}