POST api/v1/{practiceId}/patientevent/waitingroom/{patientId}/capture
Initiate capturing encounter workflow (checkin visit if not created, mark as in progress and then encounter will be created)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceId |
practice unique identifier |
globally unique identifier |
Required |
patientId |
patient unique identifier |
globally unique identifier |
Required |
Body Parameters
Com.Healthbridge.Hhas.Cloud.WebRole.Areas.PatientEvent.Model.CaptureEncounterRequestName | Description | Type | Additional information |
---|---|---|---|
ConsultReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConsultReason": "sample string 1" }
application/xml, text/xml
Sample:
<CaptureEncounterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Areas.PatientEvent.Model"> <ConsultReason>sample string 1</ConsultReason> </CaptureEncounterRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfCom.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels.CheckinPatientVisitResultName | Description | Type | Additional information |
---|---|---|---|
Sucess | boolean |
None. |
|
ResponseCode | integer |
None. |
|
ResponseMessage | string |
None. |
|
Data | Com.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels.CheckinPatientVisitResult |
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": { "PatientId": "f5e451cd-63ed-43d9-b24c-ddde5d1a294a", "PatientEventId": "20550cea-91ab-41ce-a76b-50a8aa00b254", "PatientDetailsIncomplete": true, "PatientAlreadyCheckedIn": true, "Description": "sample string 5" }, "Links": [ { "Rel": "sample string 1", "HRef": "sample string 2" }, { "Rel": "sample string 1", "HRef": "sample string 2" } ] }
application/xml, text/xml
Sample:
<RestApiResultOfCheckinPatientVisitResultahoq3Wrf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels"> <d2p1:Description>sample string 5</d2p1:Description> <d2p1:PatientAlreadyCheckedIn>true</d2p1:PatientAlreadyCheckedIn> <d2p1:PatientDetailsIncomplete>true</d2p1:PatientDetailsIncomplete> <d2p1:PatientEventId>20550cea-91ab-41ce-a76b-50a8aa00b254</d2p1:PatientEventId> <d2p1:PatientId>f5e451cd-63ed-43d9-b24c-ddde5d1a294a</d2p1:PatientId> </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> </RestApiResultOfCheckinPatientVisitResultahoq3Wrf>