PUT api/ProviderService/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": "e67f783b-fb14-419b-b22e-2b60025ba872",
"TreatmentDetails": [
{
"Drug_Id": "821f8907-d1ef-4ec1-8224-581ac18aa48b",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-05-07T13:21:11.4951364+00:00",
"End_Date": "2026-05-07T13:21:11.4951364+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "91ec4175-21cb-4056-b480-d6a46047c8c0",
"Consult_Date": "2026-05-07T13:21:11.4951364+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "821f8907-d1ef-4ec1-8224-581ac18aa48b",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-05-07T13:21:11.4951364+00:00",
"End_Date": "2026-05-07T13:21:11.4951364+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "91ec4175-21cb-4056-b480-d6a46047c8c0",
"Consult_Date": "2026-05-07T13:21:11.4951364+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": "285bd34f-78bb-4a99-bb3b-ae5eb0a49f79",
"TreatmentDate": "2026-05-07T13:21:11.4951364+00:00",
"Authority": "sample string 4",
"PatientID": "9388a6e8-4c92-4b02-997d-21d95ae955fb",
"Count": 1,
"DrugID": "08561d5f-342b-49b5-8cd4-191c4dd837a4",
"ApplicationID": "cd3cc0b9-b03f-4481-93b8-4e00e254857c"
}
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>cd3cc0b9-b03f-4481-93b8-4e00e254857c</ApplicationID>
<Count>1</Count>
<DrugID>08561d5f-342b-49b5-8cd4-191c4dd837a4</DrugID>
<PatientID>9388a6e8-4c92-4b02-997d-21d95ae955fb</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-05-07T13:21:11.4951364+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-05-07T13:21:11.4951364+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>821f8907-d1ef-4ec1-8224-581ac18aa48b</Drug_Id>
<End_Date>2026-05-07T13:21:11.4951364+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>91ec4175-21cb-4056-b480-d6a46047c8c0</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-05-07T13:21:11.4951364+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-05-07T13:21:11.4951364+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>821f8907-d1ef-4ec1-8224-581ac18aa48b</Drug_Id>
<End_Date>2026-05-07T13:21:11.4951364+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>91ec4175-21cb-4056-b480-d6a46047c8c0</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-05-07T13:21:11.4951364+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>e67f783b-fb14-419b-b22e-2b60025ba872</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
globally unique identifierResponse Formats
application/json, text/json
Sample:
"2c003ffa-8b09-48dd-a947-3eb600fbbc83"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2c003ffa-8b09-48dd-a947-3eb600fbbc83</guid>