POST api/ProviderService/AddTreatmentPlan
Add 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": "ed4b9cbf-6d22-435d-bc0a-812ecf0c2980",
"TreatmentDetails": [
{
"Drug_Id": "6a47d18a-376b-4da4-8bd6-9a96708e3353",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:17:11.0731936+00:00",
"End_Date": "2026-02-04T02:17:11.0731936+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "b434b64a-314c-4c8c-8d64-94a32a00aaa5",
"Consult_Date": "2026-02-04T02:17:11.0731936+00:00",
"Authority": "sample string 8",
"Is_Current": true,
"DrugCategory_Id": 1,
"FrequencyUnitType": "sample string 9",
"DrugCategoryName": "sample string 10"
},
{
"Drug_Id": "6a47d18a-376b-4da4-8bd6-9a96708e3353",
"Instructions_Note": "sample string 2",
"Frequency": 3,
"FrequencyUnitTypeID": 4,
"Repeat": "sample string 5",
"Quantity": 6.0,
"Start_Date": "2026-02-04T02:17:11.0731936+00:00",
"End_Date": "2026-02-04T02:17:11.0731936+00:00",
"DrugName": "sample string 7",
"PrescriptionDetail_Id": "b434b64a-314c-4c8c-8d64-94a32a00aaa5",
"Consult_Date": "2026-02-04T02:17:11.0731936+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": "be3eab10-62cb-4afb-9fe6-5366a1afa246",
"TreatmentDate": "2026-02-04T02:17:11.0731936+00:00",
"Authority": "sample string 4",
"PatientID": "fa65f54d-68ee-4004-ad0b-fa2d69e4c178",
"Count": 1,
"DrugID": "08f0f78e-e421-4335-8d6a-d7b67a7169b4",
"ApplicationID": "c7a59c1a-359f-4c9e-ad54-37e811d49cb9"
}
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>c7a59c1a-359f-4c9e-ad54-37e811d49cb9</ApplicationID>
<Count>1</Count>
<DrugID>08f0f78e-e421-4335-8d6a-d7b67a7169b4</DrugID>
<PatientID>fa65f54d-68ee-4004-ad0b-fa2d69e4c178</PatientID>
<Authority>sample string 4</Authority>
<TreatmentDate>2026-02-04T02:17:11.0731936+00:00</TreatmentDate>
<TreatmentDetails>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:17:11.0731936+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>6a47d18a-376b-4da4-8bd6-9a96708e3353</Drug_Id>
<End_Date>2026-02-04T02:17:11.0731936+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>b434b64a-314c-4c8c-8d64-94a32a00aaa5</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:17:11.0731936+00:00</Start_Date>
</TreatmentInfoViewModel>
<TreatmentInfoViewModel>
<Authority>sample string 8</Authority>
<Consult_Date>2026-02-04T02:17:11.0731936+00:00</Consult_Date>
<DrugCategoryName>sample string 10</DrugCategoryName>
<DrugCategory_Id>1</DrugCategory_Id>
<DrugName>sample string 7</DrugName>
<Drug_Id>6a47d18a-376b-4da4-8bd6-9a96708e3353</Drug_Id>
<End_Date>2026-02-04T02:17:11.0731936+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>b434b64a-314c-4c8c-8d64-94a32a00aaa5</PrescriptionDetail_Id>
<Quantity>6</Quantity>
<Repeat>sample string 5</Repeat>
<Start_Date>2026-02-04T02:17:11.0731936+00:00</Start_Date>
</TreatmentInfoViewModel>
</TreatmentDetails>
<TreatmentNote>sample string 2</TreatmentNote>
<TreatmentPlanID>ed4b9cbf-6d22-435d-bc0a-812ecf0c2980</TreatmentPlanID>
</TreatmentPlan>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Treament Plan ID
globally unique identifierResponse Formats
application/json, text/json
Sample:
"4c933f32-07b8-43be-ac47-55457c4e6ca1"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4c933f32-07b8-43be-ac47-55457c4e6ca1</guid>