POST api/PatientService/AddTreatmentPlan
Add Treatment Plan
Request Information
URI Parameters
None.
Body Parameters
TreatmentPlan| Name | Description | Type | Additional information |
|---|---|---|---|
| TreatmentPlanID |
Gets or sets the treatment plan ID |
globally unique identifier |
None. |
| TreatmentDetails |
Treatment Details |
Collection of TreatmentInfoViewModel |
Required |
| TreatmentNote | string |
None. |
|
| ProviderID | globally unique identifier |
None. |
|
| TreatmentDate | date |
None. |
|
| Authority | string |
None. |
|
| PatientID |
Patient ID |
globally unique identifier |
Required |
| Count |
COunt -1 all otherwise above zero |
integer |
None. |
| DrugID |
Drug ID |
globally unique identifier |
None. |
| ApplicationID |
Application using Absolute EMR API |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"TreatmentPlanID": "9ff4027e-3c7d-4f82-932b-1f4c3baca9ba",
"TreatmentDetails": [
{
"Drug_Id": "00fba694-2791-4cbf-9577-26a54c58d97a",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:53:50.9606389+00:00",
"End_Date": "2025-12-14T08:53:50.9606389+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "95d1326b-728f-41a7-a07f-b0179c7c5e6d",
"Consult_Date": "2025-12-14T08:53:50.9606389+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "00fba694-2791-4cbf-9577-26a54c58d97a",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:53:50.9606389+00:00",
"End_Date": "2025-12-14T08:53:50.9606389+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "95d1326b-728f-41a7-a07f-b0179c7c5e6d",
"Consult_Date": "2025-12-14T08:53:50.9606389+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
}
],
"TreatmentNote": "sample string 2",
"ProviderID": "c0c8a54f-dc46-42ca-9e7b-1175458721fa",
"TreatmentDate": "2025-12-14T08:53:50.9606389+00:00",
"Authority": "sample string 4",
"PatientID": "60f54db3-2a34-4ad5-be9f-65e3f8b5ac20",
"Count": 1,
"DrugID": "91f1ed6e-227b-4662-958b-c7645d351074",
"ApplicationID": "34033b82-e4a0-49b9-9bea-d50fa454d357"
}
application/xml, text/xml
Sample:
<TreatmentPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
<ApplicationID>34033b82-e4a0-49b9-9bea-d50fa454d357</ApplicationID>
<Count>1</Count>
<DrugID>91f1ed6e-227b-4662-958b-c7645d351074</DrugID>
<PatientID>60f54db3-2a34-4ad5-be9f-65e3f8b5ac20</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2025-12-14T08:53:50.9606389+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:53:50.9606389+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>00fba694-2791-4cbf-9577-26a54c58d97a</Drug_Id>
<End_Date>2025-12-14T08:53:50.9606389+00:00</End_Date>
<Frequency>3</Frequency>
<FrequencyUnitType>sample string 9</FrequencyUnitType>
<FrequencyUnitTypeID>4</FrequencyUnitTypeID>
<Instructions_Note>sample string 2</Instructions_Note>
<Is_Current>true</Is_Current>
<PrescriptionDetail_Id>95d1326b-728f-41a7-a07f-b0179c7c5e6d</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:53:50.9606389+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:53:50.9606389+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>00fba694-2791-4cbf-9577-26a54c58d97a</Drug_Id>
<End_Date>2025-12-14T08:53:50.9606389+00:00</End_Date>
<Frequency>3</Frequency>
<FrequencyUnitType>sample string 9</FrequencyUnitType>
<FrequencyUnitTypeID>4</FrequencyUnitTypeID>
<Instructions_Note>sample string 2</Instructions_Note>
<Is_Current>true</Is_Current>
<PrescriptionDetail_Id>95d1326b-728f-41a7-a07f-b0179c7c5e6d</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:53:50.9606389+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>9ff4027e-3c7d-4f82-932b-1f4c3baca9ba</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Treament Plan ID
globally unique identifierResponse Formats
application/json, text/json
Sample:
"07815398-7665-41d3-84d1-a454849229e3"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">07815398-7665-41d3-84d1-a454849229e3</guid>