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": "ab714031-3fc8-4283-8113-4f03f83633c1",
"TreatmentDetails": [
{
"Drug_Id": "b52e0c0c-ada7-4a26-a88e-0f731be22c02",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:18:37.2147978+00:00",
"End_Date": "2026-02-04T02:18:37.2147978+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "1635cdc0-a2d2-46fa-8e9b-f5f52e5144b0",
"Consult_Date": "2026-02-04T02:18:37.2147978+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "b52e0c0c-ada7-4a26-a88e-0f731be22c02",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:18:37.2147978+00:00",
"End_Date": "2026-02-04T02:18:37.2147978+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "1635cdc0-a2d2-46fa-8e9b-f5f52e5144b0",
"Consult_Date": "2026-02-04T02:18:37.2147978+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": "bc096afa-8a6e-470f-8363-a29151c11f14",
"TreatmentDate": "2026-02-04T02:18:37.2147978+00:00",
"Authority": "sample string 4",
"PatientID": "a1190ee7-8572-4df2-a607-bcc722f36718",
"Count": 1,
"DrugID": "975de538-8a50-4bf8-bd22-755593bda85d",
"ApplicationID": "deb00a5a-24ed-4293-8eb2-891c691505ad"
}
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>deb00a5a-24ed-4293-8eb2-891c691505ad</ApplicationID>
<Count>1</Count>
<DrugID>975de538-8a50-4bf8-bd22-755593bda85d</DrugID>
<PatientID>a1190ee7-8572-4df2-a607-bcc722f36718</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-02-04T02:18:37.2147978+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:18:37.2147978+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>b52e0c0c-ada7-4a26-a88e-0f731be22c02</Drug_Id>
<End_Date>2026-02-04T02:18:37.2147978+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>1635cdc0-a2d2-46fa-8e9b-f5f52e5144b0</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:18:37.2147978+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:18:37.2147978+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>b52e0c0c-ada7-4a26-a88e-0f731be22c02</Drug_Id>
<End_Date>2026-02-04T02:18:37.2147978+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>1635cdc0-a2d2-46fa-8e9b-f5f52e5144b0</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:18:37.2147978+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>ab714031-3fc8-4283-8113-4f03f83633c1</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
globally unique identifierResponse Formats
application/json, text/json
Sample:
"aa63f25c-83cb-41f8-9da4-b57dc5976145"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">aa63f25c-83cb-41f8-9da4-b57dc5976145</guid>