PUT api/PatientService/UpdateTreatmentPlan
Update patient 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": "35f05221-a31a-43ea-ab0c-1829363b1989",
"TreatmentDetails": [
{
"Drug_Id": "28920f29-6d61-4f22-b7be-1c594080eecf",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-03-22T22:12:59.2309242+00:00",
"End_Date": "2026-03-22T22:12:59.2309242+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "91e4d30b-6eb3-4502-b4f7-7daf6548fbf2",
"Consult_Date": "2026-03-22T22:12:59.2309242+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "28920f29-6d61-4f22-b7be-1c594080eecf",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-03-22T22:12:59.2309242+00:00",
"End_Date": "2026-03-22T22:12:59.2309242+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "91e4d30b-6eb3-4502-b4f7-7daf6548fbf2",
"Consult_Date": "2026-03-22T22:12:59.2309242+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": "57ad280a-d8ad-4017-83f7-05030c4ed616",
"TreatmentDate": "2026-03-22T22:12:59.2309242+00:00",
"Authority": "sample string 4",
"PatientID": "87a5035c-8dcd-4b12-8e93-617074f3fd9b",
"Count": 1,
"DrugID": "3e4a5222-05dd-41c2-9bb9-f862d47b2ea5",
"ApplicationID": "a686a7d7-c6d6-43ed-a6b2-97291a7cbe3e"
}
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>a686a7d7-c6d6-43ed-a6b2-97291a7cbe3e</ApplicationID>
<Count>1</Count>
<DrugID>3e4a5222-05dd-41c2-9bb9-f862d47b2ea5</DrugID>
<PatientID>87a5035c-8dcd-4b12-8e93-617074f3fd9b</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-03-22T22:12:59.2309242+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-03-22T22:12:59.2309242+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>28920f29-6d61-4f22-b7be-1c594080eecf</Drug_Id>
<End_Date>2026-03-22T22:12:59.2309242+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>91e4d30b-6eb3-4502-b4f7-7daf6548fbf2</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-03-22T22:12:59.2309242+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-03-22T22:12:59.2309242+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>28920f29-6d61-4f22-b7be-1c594080eecf</Drug_Id>
<End_Date>2026-03-22T22:12:59.2309242+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>91e4d30b-6eb3-4502-b4f7-7daf6548fbf2</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-03-22T22:12:59.2309242+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>35f05221-a31a-43ea-ab0c-1829363b1989</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f7aa06ea-bb2f-48db-afbb-a909c4a08129"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f7aa06ea-bb2f-48db-afbb-a909c4a08129</guid>