DELETE api/PatientService/RemoveTreatmentPlan
Remove Patient Treatment Plan
Request Information
URI Parameters
None.
Body Parameters
Send only Treatment Plan ID
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": "0ac7b215-17c6-45ec-ac85-a418df6e4d90",
"TreatmentDetails": [
{
"Drug_Id": "649ff0d8-b7bf-4860-a21d-f7d67c70fdbf",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:17:41.2122555+00:00",
"End_Date": "2026-02-04T02:17:41.2122555+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "3522998f-5819-44c5-ad4b-e743c0547a24",
"Consult_Date": "2026-02-04T02:17:41.2122555+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "649ff0d8-b7bf-4860-a21d-f7d67c70fdbf",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:17:41.2122555+00:00",
"End_Date": "2026-02-04T02:17:41.2122555+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "3522998f-5819-44c5-ad4b-e743c0547a24",
"Consult_Date": "2026-02-04T02:17:41.2122555+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": "cb0f850b-d15e-400b-a42b-fb4adb470de8",
"TreatmentDate": "2026-02-04T02:17:41.2122555+00:00",
"Authority": "sample string 4",
"PatientID": "33c5f1f8-ad8d-4a5d-94ea-eaf15ae74b58",
"Count": 1,
"DrugID": "5af5257e-885a-4f99-bb1f-ef449b248e71",
"ApplicationID": "4b9cdfd0-83c3-441d-83fd-b1c05dc25b99"
}
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>4b9cdfd0-83c3-441d-83fd-b1c05dc25b99</ApplicationID>
<Count>1</Count>
<DrugID>5af5257e-885a-4f99-bb1f-ef449b248e71</DrugID>
<PatientID>33c5f1f8-ad8d-4a5d-94ea-eaf15ae74b58</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-02-04T02:17:41.2122555+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:17:41.2122555+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>649ff0d8-b7bf-4860-a21d-f7d67c70fdbf</Drug_Id>
<End_Date>2026-02-04T02:17:41.2122555+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>3522998f-5819-44c5-ad4b-e743c0547a24</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:17:41.2122555+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:17:41.2122555+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>649ff0d8-b7bf-4860-a21d-f7d67c70fdbf</Drug_Id>
<End_Date>2026-02-04T02:17:41.2122555+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>3522998f-5819-44c5-ad4b-e743c0547a24</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:17:41.2122555+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>0ac7b215-17c6-45ec-ac85-a418df6e4d90</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>