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": "25f6675d-9794-4cb1-984e-08e505d04b7a",
"TreatmentDetails": [
{
"Drug_Id": "4858e32b-8ab8-43f4-bcba-ee8267d8efab",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:54:16.6668511+00:00",
"End_Date": "2025-12-14T08:54:16.6668511+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "f4eea0f7-74b5-4967-9490-1b3f37ace086",
"Consult_Date": "2025-12-14T08:54:16.6668511+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "4858e32b-8ab8-43f4-bcba-ee8267d8efab",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2025-12-14T08:54:16.6668511+00:00",
"End_Date": "2025-12-14T08:54:16.6668511+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "f4eea0f7-74b5-4967-9490-1b3f37ace086",
"Consult_Date": "2025-12-14T08:54:16.6668511+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": "fcab89cf-3a97-4f8c-9965-37c9314d461f",
"TreatmentDate": "2025-12-14T08:54:16.6668511+00:00",
"Authority": "sample string 4",
"PatientID": "77a51a6a-3ef8-434d-9e9e-ff06459c3ca8",
"Count": 1,
"DrugID": "b4cd44a1-9498-4790-9bd0-86dc2af4e7b9",
"ApplicationID": "30c5a782-1dbe-4d74-b87e-2faeab6a9046"
}
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>30c5a782-1dbe-4d74-b87e-2faeab6a9046</ApplicationID>
<Count>1</Count>
<DrugID>b4cd44a1-9498-4790-9bd0-86dc2af4e7b9</DrugID>
<PatientID>77a51a6a-3ef8-434d-9e9e-ff06459c3ca8</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2025-12-14T08:54:16.6668511+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:54:16.6668511+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>4858e32b-8ab8-43f4-bcba-ee8267d8efab</Drug_Id>
<End_Date>2025-12-14T08:54:16.6668511+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>f4eea0f7-74b5-4967-9490-1b3f37ace086</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:54:16.6668511+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2025-12-14T08:54:16.6668511+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>4858e32b-8ab8-43f4-bcba-ee8267d8efab</Drug_Id>
<End_Date>2025-12-14T08:54:16.6668511+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>f4eea0f7-74b5-4967-9490-1b3f37ace086</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2025-12-14T08:54:16.6668511+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>25f6675d-9794-4cb1-984e-08e505d04b7a</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success
globally unique identifierResponse Formats
application/json, text/json
Sample:
"c3dd852c-c285-44f7-b5b8-ecef583ecaf8"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c3dd852c-c285-44f7-b5b8-ecef583ecaf8</guid>