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": "d95aaccc-dfae-46f5-bafe-24d3bc4939f5",
  "Patient_Id": "1a9c8c05-3112-4738-a421-3829a6af635d",
  "Provider_Id": "9f4e209e-30db-46b3-9e63-dc1ffd248617",
  "Practice_Id": "4591bdfd-c55a-4ca3-8c13-b36804a9569d",
  "Arrival_Date": "2026-02-04T02:19:03.3456502+00:00",
  "Start_Date": "2026-02-04T02:19:03.3456502+00:00",
  "End_Date": "2026-02-04T02:19:03.3456502+00:00",
  "Waiting_Practice_Room_Id": "532598d9-9e54-48ff-ba87-77afb19cb009",
  "Appointment_Id": "8c0710dd-82b3-4250-8e41-02480f236586",
  "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>8c0710dd-82b3-4250-8e41-02480f236586</Appointment_Id>
  <Arrival_Date>2026-02-04T02:19:03.3456502+00:00</Arrival_Date>
  <Consult_ChiefComplaint>sample string 9</Consult_ChiefComplaint>
  <Diagnosis>sample string 7</Diagnosis>
  <End_Date>2026-02-04T02:19:03.3456502+00:00</End_Date>
  <Examination>sample string 6</Examination>
  <History>sample string 5</History>
  <InConsult_Id>d95aaccc-dfae-46f5-bafe-24d3bc4939f5</InConsult_Id>
  <Patient_Id>1a9c8c05-3112-4738-a421-3829a6af635d</Patient_Id>
  <Practice_Id>4591bdfd-c55a-4ca3-8c13-b36804a9569d</Practice_Id>
  <Provider_Id>9f4e209e-30db-46b3-9e63-dc1ffd248617</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-02-04T02:19:03.3456502+00:00</Start_Date>
  <Treatment_Plan>sample string 8</Treatment_Plan>
  <Waiting_Practice_Room_Id>532598d9-9e54-48ff-ba87-77afb19cb009</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>