POST api/ProviderService/AddPatientInConsult?practiceID={practiceID}&providerID={providerID}

Add Patient InConsult

Request Information

URI Parameters

NameDescriptionTypeAdditional information
practiceID

globally unique identifier

Required

providerID

globally unique identifier

Required

Body Parameters

InConsultModel
NameDescriptionTypeAdditional information
InConsult_Id

globally unique identifier

None.

Patient_Id

globally unique identifier

None.

Provider_Id

globally unique identifier

None.

Practice_Id

globally unique identifier

None.

Arrival_Date

date

None.

Start_Date

date

None.

End_Date

date

None.

Waiting_Practice_Room_Id

globally unique identifier

None.

Appointment_Id

globally unique identifier

None.

History

string

None.

Examination

string

None.

Diagnosis

string

None.

Treatment_Plan

string

None.

Consult_ChiefComplaint

string

None.

SOAP_Subjective

string

None.

SOAP_Objective

string

None.

SOAP_Assessment

string

None.

SOAP_Plan

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InConsult_Id": "92ff8111-793d-4343-b63c-fa0ae922c71e",
  "Patient_Id": "413dede1-4d7a-417b-91a0-bc83090208b0",
  "Provider_Id": "0625e4eb-f9ce-4b3f-b132-efeec4305af2",
  "Practice_Id": "e06a9250-de04-4e8a-96f2-ef0d78a2ac8c",
  "Arrival_Date": "2026-03-22T22:15:11.6640371+00:00",
  "Start_Date": "2026-03-22T22:15:11.6640371+00:00",
  "End_Date": "2026-03-22T22:15:11.6640371+00:00",
  "Waiting_Practice_Room_Id": "1b81bff0-4c4e-4e0f-94fb-d77419cfa975",
  "Appointment_Id": "3a6ae3f7-8050-4b24-9d88-3fd82995730c",
  "History": "sample string 5",
  "Examination": "sample string 6",
  "Diagnosis": "sample string 7",
  "Treatment_Plan": "sample string 8",
  "Consult_ChiefComplaint": "sample string 9",
  "SOAP_Subjective": "sample string 10",
  "SOAP_Objective": "sample string 11",
  "SOAP_Assessment": "sample string 12",
  "SOAP_Plan": "sample string 13"
}

application/xml, text/xml

Sample:
<InConsultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">
  <Appointment_Id>3a6ae3f7-8050-4b24-9d88-3fd82995730c</Appointment_Id>
  <Arrival_Date>2026-03-22T22:15:11.6640371+00:00</Arrival_Date>
  <Consult_ChiefComplaint>sample string 9</Consult_ChiefComplaint>
  <Diagnosis>sample string 7</Diagnosis>
  <End_Date>2026-03-22T22:15:11.6640371+00:00</End_Date>
  <Examination>sample string 6</Examination>
  <History>sample string 5</History>
  <InConsult_Id>92ff8111-793d-4343-b63c-fa0ae922c71e</InConsult_Id>
  <Patient_Id>413dede1-4d7a-417b-91a0-bc83090208b0</Patient_Id>
  <Practice_Id>e06a9250-de04-4e8a-96f2-ef0d78a2ac8c</Practice_Id>
  <Provider_Id>0625e4eb-f9ce-4b3f-b132-efeec4305af2</Provider_Id>
  <SOAP_Assessment>sample string 12</SOAP_Assessment>
  <SOAP_Objective>sample string 11</SOAP_Objective>
  <SOAP_Plan>sample string 13</SOAP_Plan>
  <SOAP_Subjective>sample string 10</SOAP_Subjective>
  <Start_Date>2026-03-22T22:15:11.6640371+00:00</Start_Date>
  <Treatment_Plan>sample string 8</Treatment_Plan>
  <Waiting_Practice_Room_Id>1b81bff0-4c4e-4e0f-94fb-d77419cfa975</Waiting_Practice_Room_Id>
</InConsultModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InConsultModel'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>