POST api/ProviderService/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": "64a892a1-4b98-4ae0-937a-6a2a9a6854df",
"TreatmentDetails": [
{
"Drug_Id": "ba3c60f4-9782-490a-8908-df88aff6cbad",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-05-07T13:20:32.5270691+00:00",
"End_Date": "2026-05-07T13:20:32.5270691+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "a8169716-2dcc-4e83-9327-c6dcd5d0777a",
"Consult_Date": "2026-05-07T13:20:32.5270691+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "ba3c60f4-9782-490a-8908-df88aff6cbad",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-05-07T13:20:32.5270691+00:00",
"End_Date": "2026-05-07T13:20:32.5270691+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "a8169716-2dcc-4e83-9327-c6dcd5d0777a",
"Consult_Date": "2026-05-07T13:20:32.5270691+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": "660f2d71-451b-4600-ba0d-e329d111313b",
"TreatmentDate": "2026-05-07T13:20:32.5270691+00:00",
"Authority": "sample string 4",
"PatientID": "f5ca9fc7-7d38-4197-a7d2-196875ccfe99",
"Count": 1,
"DrugID": "7ff5ce37-3d26-4aba-a437-b1f42ca37189",
"ApplicationID": "3f5cdbf7-d200-4107-b0a5-5cc3d81c81a3"
}
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>3f5cdbf7-d200-4107-b0a5-5cc3d81c81a3</ApplicationID>
<Count>1</Count>
<DrugID>7ff5ce37-3d26-4aba-a437-b1f42ca37189</DrugID>
<PatientID>f5ca9fc7-7d38-4197-a7d2-196875ccfe99</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-05-07T13:20:32.5270691+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-05-07T13:20:32.5270691+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>ba3c60f4-9782-490a-8908-df88aff6cbad</Drug_Id>
<End_Date>2026-05-07T13:20:32.5270691+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>a8169716-2dcc-4e83-9327-c6dcd5d0777a</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-05-07T13:20:32.5270691+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-05-07T13:20:32.5270691+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>ba3c60f4-9782-490a-8908-df88aff6cbad</Drug_Id>
<End_Date>2026-05-07T13:20:32.5270691+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>a8169716-2dcc-4e83-9327-c6dcd5d0777a</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-05-07T13:20:32.5270691+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>64a892a1-4b98-4ae0-937a-6a2a9a6854df</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Treament Plan ID
globally unique identifierResponse Formats
application/json, text/json
Sample:
"b29667ab-8e66-41b5-aa01-46e0109faa2a"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b29667ab-8e66-41b5-aa01-46e0109faa2a</guid>