POST api/v1/{practiceXRef}/patientevent/patientevents/complete
Complete patient visit
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| practiceXRef |
Practice external id |
string |
Required |
Body Parameters
Com.Healthbridge.Hhas.PatientEvent.Interface.Commands.CompletePatientVisit| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientEventId | globally unique identifier |
None. |
|
| PatientEventXRef | string |
None. |
|
| InvoiceCreated | boolean |
None. |
|
| PracticeId | globally unique identifier |
None. |
|
| CorrelationIds | Collection of string |
None. |
|
| OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientEventId": "03e4552f-fe81-4d9e-8faf-9d7e45302804",
"PatientEventXRef": "sample string 2",
"InvoiceCreated": true,
"PracticeId": "32af54af-0e1a-445a-899b-8ec077baf241",
"CorrelationIds": [
"sample string 1",
"sample string 2"
],
"OriginatedSystem": "sample string 5"
}
application/xml, text/xml
Sample:
<CompletePatientVisit 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>
<InvoiceCreated>true</InvoiceCreated>
<PatientEventId>03e4552f-fe81-4d9e-8faf-9d7e45302804</PatientEventId>
<PatientEventXRef>sample string 2</PatientEventXRef>
<PracticeId>32af54af-0e1a-445a-899b-8ec077baf241</PracticeId>
</CompletePatientVisit>
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": "58fabfb4-6f6c-4685-b39a-bf8cb0bdc191",
"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>58fabfb4-6f6c-4685-b39a-bf8cb0bdc191</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>