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": "1f3717a2-2da6-4d2e-aa01-4d71424ddf42",
  "Patient_Id": "2cd1c0af-e01b-4cd9-a47a-8f9854792322",
  "Provider_Id": "5f11bede-108d-43dc-b499-671ea1e59697",
  "Practice_Id": "25d13780-cefc-4898-a2e7-e7decd544047",
  "Arrival_Date": "2025-06-08T02:05:32.9612283+00:00",
  "Start_Date": "2025-06-08T02:05:32.9612283+00:00",
  "End_Date": "2025-06-08T02:05:32.9612283+00:00",
  "Waiting_Practice_Room_Id": "0e11edbe-f54d-4129-a6a9-c6585e7d208b",
  "Appointment_Id": "a12cc3df-b748-4427-b272-f2996cd9f6c6",
  "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>a12cc3df-b748-4427-b272-f2996cd9f6c6</Appointment_Id>
  <Arrival_Date>2025-06-08T02:05:32.9612283+00:00</Arrival_Date>
  <Consult_ChiefComplaint>sample string 9</Consult_ChiefComplaint>
  <Diagnosis>sample string 7</Diagnosis>
  <End_Date>2025-06-08T02:05:32.9612283+00:00</End_Date>
  <Examination>sample string 6</Examination>
  <History>sample string 5</History>
  <InConsult_Id>1f3717a2-2da6-4d2e-aa01-4d71424ddf42</InConsult_Id>
  <Patient_Id>2cd1c0af-e01b-4cd9-a47a-8f9854792322</Patient_Id>
  <Practice_Id>25d13780-cefc-4898-a2e7-e7decd544047</Practice_Id>
  <Provider_Id>5f11bede-108d-43dc-b499-671ea1e59697</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-06-08T02:05:32.9612283+00:00</Start_Date>
  <Treatment_Plan>sample string 8</Treatment_Plan>
  <Waiting_Practice_Room_Id>0e11edbe-f54d-4129-a6a9-c6585e7d208b</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>