DELETE api/PatientService/RemoveTreatmentPlan
Remove Patient Treatment Plan
Request Information
URI Parameters
None.
Body Parameters
Send only Treatment Plan ID
TreatmentPlanName | 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": "af4b18ce-a4f0-4911-8897-5bcf62e870d0", "TreatmentDetails": [ { "Drug_Id": "df954c3b-4fe3-41af-b248-ac22dcd6fea3", "Instructions_Note": "sample string 2", "Frequency": 3, "FrequencyUnitTypeID": 4, "Repeat": "sample string 5", "Quantity": 6.0, "Start_Date": "2025-06-08T02:27:19.5301657+00:00", "End_Date": "2025-06-08T02:27:19.5301657+00:00", "DrugName": "sample string 7", "PrescriptionDetail_Id": "77ff0adc-b081-4715-b07f-8d709ae333ca", "Consult_Date": "2025-06-08T02:27:19.5301657+00:00", "Authority": "sample string 8", "Is_Current": true, "DrugCategory_Id": 1, "FrequencyUnitType": "sample string 9", "DrugCategoryName": "sample string 10" }, { "Drug_Id": "df954c3b-4fe3-41af-b248-ac22dcd6fea3", "Instructions_Note": "sample string 2", "Frequency": 3, "FrequencyUnitTypeID": 4, "Repeat": "sample string 5", "Quantity": 6.0, "Start_Date": "2025-06-08T02:27:19.5301657+00:00", "End_Date": "2025-06-08T02:27:19.5301657+00:00", "DrugName": "sample string 7", "PrescriptionDetail_Id": "77ff0adc-b081-4715-b07f-8d709ae333ca", "Consult_Date": "2025-06-08T02:27:19.5301657+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": "186b15a8-5862-40c9-9371-03016e34a869", "TreatmentDate": "2025-06-08T02:27:19.5301657+00:00", "Authority": "sample string 4", "PatientID": "b3f242f0-1bb1-44e5-ad73-40ec0e3327f3", "Count": 1, "DrugID": "b210ac9d-8f9e-4e11-ae7c-bbb525c65d65", "ApplicationID": "8fd710e1-8339-43fe-afca-53501c17f804" }
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>8fd710e1-8339-43fe-afca-53501c17f804</ApplicationID> <Count>1</Count> <DrugID>b210ac9d-8f9e-4e11-ae7c-bbb525c65d65</DrugID> <PatientID>b3f242f0-1bb1-44e5-ad73-40ec0e3327f3</PatientID> <Authority>sample string 4</Authority> <TreatmentDate>2025-06-08T02:27:19.5301657+00:00</TreatmentDate> <TreatmentDetails> <TreatmentInfoViewModel> <Authority>sample string 8</Authority> <Consult_Date>2025-06-08T02:27:19.5301657+00:00</Consult_Date> <DrugCategoryName>sample string 10</DrugCategoryName> <DrugCategory_Id>1</DrugCategory_Id> <DrugName>sample string 7</DrugName> <Drug_Id>df954c3b-4fe3-41af-b248-ac22dcd6fea3</Drug_Id> <End_Date>2025-06-08T02:27:19.5301657+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>77ff0adc-b081-4715-b07f-8d709ae333ca</PrescriptionDetail_Id> <Quantity>6</Quantity> <Repeat>sample string 5</Repeat> <Start_Date>2025-06-08T02:27:19.5301657+00:00</Start_Date> </TreatmentInfoViewModel> <TreatmentInfoViewModel> <Authority>sample string 8</Authority> <Consult_Date>2025-06-08T02:27:19.5301657+00:00</Consult_Date> <DrugCategoryName>sample string 10</DrugCategoryName> <DrugCategory_Id>1</DrugCategory_Id> <DrugName>sample string 7</DrugName> <Drug_Id>df954c3b-4fe3-41af-b248-ac22dcd6fea3</Drug_Id> <End_Date>2025-06-08T02:27:19.5301657+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>77ff0adc-b081-4715-b07f-8d709ae333ca</PrescriptionDetail_Id> <Quantity>6</Quantity> <Repeat>sample string 5</Repeat> <Start_Date>2025-06-08T02:27:19.5301657+00:00</Start_Date> </TreatmentInfoViewModel> </TreatmentDetails> <TreatmentNote>sample string 2</TreatmentNote> <TreatmentPlanID>af4b18ce-a4f0-4911-8897-5bcf62e870d0</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>