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
NameDescriptionTypeAdditional 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": "62f03755-9714-4371-bf2a-1150eca0f28a",
  "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>62f03755-9714-4371-bf2a-1150eca0f28a</PathologyReportId>
  <ReportXRef>sample string 3</ReportXRef>
</RequestReceivePathologyReport>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'RequestReceivePathologyReport'.

Response Information

Resource Description

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Guid
NameDescriptionTypeAdditional 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": "d8cd7384-4ad3-4132-a6d9-8eed46a4cf5f",
  "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>d8cd7384-4ad3-4132-a6d9-8eed46a4cf5f</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>