POST api/v1/clinical/pathologyreports/receive
Receive pathology report
Request Information
URI Parameters
None.
Body Parameters
Com.Healthbridge.Hhas.Cloud.WebRole.Areas.Clinical.Model.RequestReceivePathologyReport| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginalMessagePayload | string |
None. |
|
| PathologyReportId | globally unique identifier |
None. |
|
| ReportXRef |
Report Id used in external system |
string |
None. |
| HistoricalPathologyReport |
Indicate whether path result workflow should be created for a doctor or not |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OriginalMessagePayload": "sample string 1",
"PathologyReportId": "5da498fa-b4ec-4f84-b6ff-0b3e29b2df02",
"ReportXRef": "sample string 3",
"HistoricalPathologyReport": true
}
application/xml, text/xml
Sample:
<RequestReceivePathologyReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Areas.Clinical.Model"> <HistoricalPathologyReport>true</HistoricalPathologyReport> <OriginalMessagePayload>sample string 1</OriginalMessagePayload> <PathologyReportId>5da498fa-b4ec-4f84-b6ff-0b3e29b2df02</PathologyReportId> <ReportXRef>sample string 3</ReportXRef> </RequestReceivePathologyReport>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Guid| Name | Description | Type | Additional information |
|---|---|---|---|
| Sucess | boolean |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | globally unique identifier |
None. |
|
| Links | Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink |
None. |
Response Formats
application/json, text/json
Sample:
{
"Sucess": true,
"ResponseCode": 2,
"ResponseMessage": "sample string 3",
"Data": "3135f69f-aaf8-4560-a1db-e4c0f3fca57b",
"Links": [
{
"Rel": "sample string 1",
"HRef": "sample string 2"
},
{
"Rel": "sample string 1",
"HRef": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RestApiResultOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
<Data>3135f69f-aaf8-4560-a1db-e4c0f3fca57b</Data>
<Links>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
</Links>
<ResponseCode>2</ResponseCode>
<ResponseMessage>sample string 3</ResponseMessage>
<Sucess>true</Sucess>
</RestApiResultOfguid>