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": "4a92971b-e8d9-4a1b-bd51-a89a67b760d5",
  "Patient_Id": "be62341e-e38a-4486-99be-e4cdbc918654",
  "Provider_Id": "25dd6033-c620-4905-9799-68feffa33057",
  "Practice_Id": "a7537453-4e2b-40d1-a433-3e0454f34ce4",
  "Arrival_Date": "2025-12-14T08:55:03.5936965+00:00",
  "Start_Date": "2025-12-14T08:55:03.5936965+00:00",
  "End_Date": "2025-12-14T08:55:03.5936965+00:00",
  "Waiting_Practice_Room_Id": "857b5d9d-2b06-4c40-a34c-0977dd2e398b",
  "Appointment_Id": "05fee75f-f838-4ec0-b201-7f89ee74f6d3",
  "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>05fee75f-f838-4ec0-b201-7f89ee74f6d3</Appointment_Id>
  <Arrival_Date>2025-12-14T08:55:03.5936965+00:00</Arrival_Date>
  <Consult_ChiefComplaint>sample string 9</Consult_ChiefComplaint>
  <Diagnosis>sample string 7</Diagnosis>
  <End_Date>2025-12-14T08:55:03.5936965+00:00</End_Date>
  <Examination>sample string 6</Examination>
  <History>sample string 5</History>
  <InConsult_Id>4a92971b-e8d9-4a1b-bd51-a89a67b760d5</InConsult_Id>
  <Patient_Id>be62341e-e38a-4486-99be-e4cdbc918654</Patient_Id>
  <Practice_Id>a7537453-4e2b-40d1-a433-3e0454f34ce4</Practice_Id>
  <Provider_Id>25dd6033-c620-4905-9799-68feffa33057</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>2025-12-14T08:55:03.5936965+00:00</Start_Date>
  <Treatment_Plan>sample string 8</Treatment_Plan>
  <Waiting_Practice_Room_Id>857b5d9d-2b06-4c40-a34c-0977dd2e398b</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>