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": "aa670c7d-09e4-40b4-a41b-de0f985beda1",
"TreatmentDetails": [
{
"Drug_Id": "bb310ad7-9f12-45a5-8db9-b3a9aaedc661",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:57:26.5603912+00:00",
"End_Date": "2025-12-14T08:57:26.5603912+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "855ac054-57e4-4c89-bae5-d6a7020c2bcc",
"Consult_Date": "2025-12-14T08:57:26.5603912+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "bb310ad7-9f12-45a5-8db9-b3a9aaedc661",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:57:26.5603912+00:00",
"End_Date": "2025-12-14T08:57:26.5603912+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "855ac054-57e4-4c89-bae5-d6a7020c2bcc",
"Consult_Date": "2025-12-14T08:57:26.5603912+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": "a7e8c42e-40c6-4207-8949-2e492ae452d4",
"TreatmentDate": "2025-12-14T08:57:26.5603912+00:00",
"Authority": "sample string 4",
"PatientID": "249aee6f-a3ce-48ce-bd15-8aecaba262f0",
"Count": 1,
"DrugID": "2bfbe024-c71a-4b7e-936c-a557e1f6d424",
"ApplicationID": "4fb09ff0-aa61-4963-b8b9-d121812b073a"
}
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>4fb09ff0-aa61-4963-b8b9-d121812b073a</ApplicationID>
<Count>1</Count>
<DrugID>2bfbe024-c71a-4b7e-936c-a557e1f6d424</DrugID>
<PatientID>249aee6f-a3ce-48ce-bd15-8aecaba262f0</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2025-12-14T08:57:26.5603912+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:57:26.5603912+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>bb310ad7-9f12-45a5-8db9-b3a9aaedc661</Drug_Id>
<End_Date>2025-12-14T08:57:26.5603912+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>855ac054-57e4-4c89-bae5-d6a7020c2bcc</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:57:26.5603912+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:57:26.5603912+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>bb310ad7-9f12-45a5-8db9-b3a9aaedc661</Drug_Id>
<End_Date>2025-12-14T08:57:26.5603912+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>855ac054-57e4-4c89-bae5-d6a7020c2bcc</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:57:26.5603912+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>aa670c7d-09e4-40b4-a41b-de0f985beda1</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
globally unique identifierResponse Formats
application/json, text/json
Sample:
"bbf16f48-1932-43d0-b06e-8adce16313be"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">bbf16f48-1932-43d0-b06e-8adce16313be</guid>