POST api/v1/{practiceid}/patientevent/patientevents/cancelpatientvisit
Cancel patient visit
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| practiceid |
Practice Id, default value 00000000-0000-0000-0000-000000000000 |
globally unique identifier |
Required |
Body Parameters
Com.Healthbridge.Hhas.PatientEvent.Interface.Commands.CancelPatientVisit| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientEventId | globally unique identifier |
None. |
|
| PracticeId | globally unique identifier |
None. |
|
| PatientEventXRef | string |
None. |
|
| Reason | string |
None. |
|
| CorrelationIds | Collection of string |
None. |
|
| OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientEventId": "569c0347-322d-43f6-b326-09ef312d0fbe",
"PracticeId": "878b9d7a-49ae-4dd8-836f-797b0f1c6265",
"PatientEventXRef": "sample string 3",
"Reason": "sample string 4",
"CorrelationIds": [
"sample string 1",
"sample string 2"
],
"OriginatedSystem": "sample string 5"
}
application/xml, text/xml
Sample:
<CancelPatientVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.PatientEvent.Interface.Commands">
<CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CorrelationIds>
<OriginatedSystem xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">sample string 5</OriginatedSystem>
<PatientEventId>569c0347-322d-43f6-b326-09ef312d0fbe</PatientEventId>
<PatientEventXRef>sample string 3</PatientEventXRef>
<PracticeId>878b9d7a-49ae-4dd8-836f-797b0f1c6265</PracticeId>
<Reason>sample string 4</Reason>
</CancelPatientVisit>
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": "21bcdfd4-e7f6-4220-acbd-d630439bcb73",
"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>21bcdfd4-e7f6-4220-acbd-d630439bcb73</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>