POST api/ProviderService/UpdateAdministeredDrugs

Update Drug Administration for patient

Request Information

URI Parameters

None.

Body Parameters

Drug administration information

DrugAdministerInfo
NameDescriptionTypeAdditional information
ApplicationID

Application using Absolute EMR API

globally unique identifier

Required

ID

globally unique identifier

None.

Patient_ID

globally unique identifier

None.

Provider_ID

globally unique identifier

None.

AdministeredByUser_ID

globally unique identifier

None.

DateAdministered

date

None.

PracticeID

globally unique identifier

None.

AdministeredSuccessfully

boolean

None.

Note

string

None.

Drug_ID

globally unique identifier

None.

PrescriptionDetail_Id

globally unique identifier

None.

Prescription_Id

globally unique identifier

None.

Quantity

decimal number

None.

Frequency

string

None.

Repeat

string

None.

Strength

string

None.

Instructions_Note

string

None.

Authority

string

None.

FrequencyUnitTypeID

integer

None.

DrugFormTypeID

integer

None.

DrugCategory_Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApplicationID": "92e39922-cfa7-42ba-8ea2-e1c17700c289",
  "ID": "2b171703-cbe0-4d13-af05-3f5e2b633cde",
  "Patient_ID": "4d41c2a7-f163-4aac-a204-bc454c1c5c5b",
  "Provider_ID": "9ef8d97e-0f5b-46d7-a34e-ee6a9a5e9859",
  "AdministeredByUser_ID": "1be94a99-5184-4026-822f-7f1ba49ebf92",
  "DateAdministered": "2025-06-08T02:11:57.2639485+00:00",
  "PracticeID": "c81eb1ce-2571-4d51-883e-54cba8a31d1e",
  "AdministeredSuccessfully": true,
  "Note": "sample string 7",
  "Drug_ID": "63d31aa7-26f6-4a6d-891b-573f9215377e",
  "PrescriptionDetail_Id": "8484dc9e-9536-4aae-b115-91ef9affaacf",
  "Prescription_Id": "581cad8e-1a62-486c-be0d-2a0e169ed95b",
  "Quantity": 1.0,
  "Frequency": "sample string 9",
  "Repeat": "sample string 10",
  "Strength": "sample string 11",
  "Instructions_Note": "sample string 12",
  "Authority": "sample string 13",
  "FrequencyUnitTypeID": 1,
  "DrugFormTypeID": 1,
  "DrugCategory_Id": 1
}

application/xml, text/xml

Sample:
<DrugAdministerInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <AdministeredByUser_ID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">1be94a99-5184-4026-822f-7f1ba49ebf92</AdministeredByUser_ID>
  <AdministeredSuccessfully xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">true</AdministeredSuccessfully>
  <Authority xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 13</Authority>
  <DateAdministered xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">2025-06-08T02:11:57.2639485+00:00</DateAdministered>
  <DrugCategory_Id xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">1</DrugCategory_Id>
  <DrugFormTypeID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">1</DrugFormTypeID>
  <Drug_ID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">63d31aa7-26f6-4a6d-891b-573f9215377e</Drug_ID>
  <Frequency xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 9</Frequency>
  <FrequencyUnitTypeID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">1</FrequencyUnitTypeID>
  <ID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">2b171703-cbe0-4d13-af05-3f5e2b633cde</ID>
  <Instructions_Note xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 12</Instructions_Note>
  <Note xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 7</Note>
  <Patient_ID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">4d41c2a7-f163-4aac-a204-bc454c1c5c5b</Patient_ID>
  <PracticeID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">c81eb1ce-2571-4d51-883e-54cba8a31d1e</PracticeID>
  <PrescriptionDetail_Id xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">8484dc9e-9536-4aae-b115-91ef9affaacf</PrescriptionDetail_Id>
  <Prescription_Id xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">581cad8e-1a62-486c-be0d-2a0e169ed95b</Prescription_Id>
  <Provider_ID xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">9ef8d97e-0f5b-46d7-a34e-ee6a9a5e9859</Provider_ID>
  <Quantity xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">1</Quantity>
  <Repeat xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 10</Repeat>
  <Strength xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">sample string 11</Strength>
  <ApplicationID>92e39922-cfa7-42ba-8ea2-e1c17700c289</ApplicationID>
</DrugAdministerInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DrugAdministerInfo'.

Response Information

Resource Description

DrugAdministrationInfo
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Patient_ID

globally unique identifier

None.

Provider_ID

globally unique identifier

None.

AdministeredByUser_ID

globally unique identifier

None.

DateAdministered

date

None.

PracticeID

globally unique identifier

None.

AdministeredSuccessfully

boolean

None.

Note

string

None.

Drug_ID

globally unique identifier

None.

PrescriptionDetail_Id

globally unique identifier

None.

Prescription_Id

globally unique identifier

None.

Quantity

decimal number

None.

Frequency

string

None.

Repeat

string

None.

Strength

string

None.

Instructions_Note

string

None.

Authority

string

None.

FrequencyUnitTypeID

integer

None.

DrugFormTypeID

integer

None.

DrugCategory_Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "c9f6d53c-679e-412a-8420-e7ccdbb5b284",
  "Patient_ID": "168637d8-59bc-41f2-ad68-15c049b30455",
  "Provider_ID": "b1d9dd0e-f5bf-493d-b01c-900401b3b87b",
  "AdministeredByUser_ID": "58bc1a00-9f04-4d73-83e2-c4283695de81",
  "DateAdministered": "2025-06-08T02:11:57.2639485+00:00",
  "PracticeID": "9e77977f-2e7d-4fe9-ab9b-a9fb0b09883e",
  "AdministeredSuccessfully": true,
  "Note": "sample string 6",
  "Drug_ID": "785b5b4a-7820-44d4-844a-b56ff6000e29",
  "PrescriptionDetail_Id": "bb442075-e23b-4597-b972-c960564132d3",
  "Prescription_Id": "bfe9829b-e54a-452c-ae95-27d50ec9c61c",
  "Quantity": 1.0,
  "Frequency": "sample string 8",
  "Repeat": "sample string 9",
  "Strength": "sample string 10",
  "Instructions_Note": "sample string 11",
  "Authority": "sample string 12",
  "FrequencyUnitTypeID": 1,
  "DrugFormTypeID": 1,
  "DrugCategory_Id": 1
}

application/xml, text/xml

Sample:
<DrugAdministrationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">
  <AdministeredByUser_ID>58bc1a00-9f04-4d73-83e2-c4283695de81</AdministeredByUser_ID>
  <AdministeredSuccessfully>true</AdministeredSuccessfully>
  <Authority>sample string 12</Authority>
  <DateAdministered>2025-06-08T02:11:57.2639485+00:00</DateAdministered>
  <DrugCategory_Id>1</DrugCategory_Id>
  <DrugFormTypeID>1</DrugFormTypeID>
  <Drug_ID>785b5b4a-7820-44d4-844a-b56ff6000e29</Drug_ID>
  <Frequency>sample string 8</Frequency>
  <FrequencyUnitTypeID>1</FrequencyUnitTypeID>
  <ID>c9f6d53c-679e-412a-8420-e7ccdbb5b284</ID>
  <Instructions_Note>sample string 11</Instructions_Note>
  <Note>sample string 6</Note>
  <Patient_ID>168637d8-59bc-41f2-ad68-15c049b30455</Patient_ID>
  <PracticeID>9e77977f-2e7d-4fe9-ab9b-a9fb0b09883e</PracticeID>
  <PrescriptionDetail_Id>bb442075-e23b-4597-b972-c960564132d3</PrescriptionDetail_Id>
  <Prescription_Id>bfe9829b-e54a-452c-ae95-27d50ec9c61c</Prescription_Id>
  <Provider_ID>b1d9dd0e-f5bf-493d-b01c-900401b3b87b</Provider_ID>
  <Quantity>1</Quantity>
  <Repeat>sample string 9</Repeat>
  <Strength>sample string 10</Strength>
</DrugAdministrationInfo>