GET api/patients/{patientId}/selfReportedMedications?startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

startDate

date

None.

endDate

date

None.

Body Parameters

None.

Response Information

Resource Description

ListResponseOfSelfReportedMedication
NameDescriptionTypeAdditional information
Items

Collection of SelfReportedMedication

None.

Result

Result

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "SelfReportedMedicationId": 1,
      "DateReported": "2024-05-17T07:01:05.0338797+00:00",
      "WrittenDate": "2024-05-17T07:01:05.0338797+00:00",
      "Directions": "sample string 1",
      "Quantity": "sample string 2",
      "DispenseUnitId": 1,
      "DispenseUnitDescription": "sample string 3",
      "Refills": "sample string 4",
      "DaysSupply": 1,
      "PatientMedicationId": 1,
      "MedicationStatus": 0,
      "Comment": "sample string 5",
      "DateInactive": "2024-05-17T07:01:05.0338797+00:00",
      "Encounter": "sample string 6",
      "DoseForm": "sample string 8",
      "Route": "sample string 9",
      "Strength": "sample string 10",
      "GenericProductName": "sample string 11",
      "GenericDrugName": "sample string 12",
      "LexiGenProductId": 13,
      "LexiDrugSynId": 14,
      "LexiSynonymTypeId": 15,
      "LexiGenDrugId": "sample string 16",
      "RxCUI": "sample string 17",
      "OTC": true,
      "NDC": "sample string 19",
      "Schedule": "sample string 20",
      "DisplayName": "sample string 21",
      "MonographPath": "sample string 22",
      "DrugClassification": "sample string 23",
      "StateSchedules": [
        {
          "StateName": "sample string 1",
          "Schedule": 2
        },
        {
          "StateName": "sample string 1",
          "Schedule": 2
        }
      ],
      "Brand": true,
      "CompoundIngredients": [
        {
          "LexiGenProductId": 1,
          "LexiDrugSynId": 1,
          "LexiSynonymTypeId": 1,
          "FreeText": "sample string 1",
          "DispenseUnitId": 2,
          "Quantity": "sample string 3",
          "IsFreeTextEPCS": true,
          "Schedule": 1,
          "StateSchedules": [
            {
              "StateName": "sample string 1",
              "Schedule": 2
            },
            {
              "StateName": "sample string 1",
              "Schedule": 2
            }
          ]
        },
        {
          "LexiGenProductId": 1,
          "LexiDrugSynId": 1,
          "LexiSynonymTypeId": 1,
          "FreeText": "sample string 1",
          "DispenseUnitId": 2,
          "Quantity": "sample string 3",
          "IsFreeTextEPCS": true,
          "Schedule": 1,
          "StateSchedules": [
            {
              "StateName": "sample string 1",
              "Schedule": 2
            },
            {
              "StateName": "sample string 1",
              "Schedule": 2
            }
          ]
        }
      ]
    },
    {
      "SelfReportedMedicationId": 1,
      "DateReported": "2024-05-17T07:01:05.0338797+00:00",
      "WrittenDate": "2024-05-17T07:01:05.0338797+00:00",
      "Directions": "sample string 1",
      "Quantity": "sample string 2",
      "DispenseUnitId": 1,
      "DispenseUnitDescription": "sample string 3",
      "Refills": "sample string 4",
      "DaysSupply": 1,
      "PatientMedicationId": 1,
      "MedicationStatus": 0,
      "Comment": "sample string 5",
      "DateInactive": "2024-05-17T07:01:05.0338797+00:00",
      "Encounter": "sample string 6",
      "DoseForm": "sample string 8",
      "Route": "sample string 9",
      "Strength": "sample string 10",
      "GenericProductName": "sample string 11",
      "GenericDrugName": "sample string 12",
      "LexiGenProductId": 13,
      "LexiDrugSynId": 14,
      "LexiSynonymTypeId": 15,
      "LexiGenDrugId": "sample string 16",
      "RxCUI": "sample string 17",
      "OTC": true,
      "NDC": "sample string 19",
      "Schedule": "sample string 20",
      "DisplayName": "sample string 21",
      "MonographPath": "sample string 22",
      "DrugClassification": "sample string 23",
      "StateSchedules": [
        {
          "StateName": "sample string 1",
          "Schedule": 2
        },
        {
          "StateName": "sample string 1",
          "Schedule": 2
        }
      ],
      "Brand": true,
      "CompoundIngredients": [
        {
          "LexiGenProductId": 1,
          "LexiDrugSynId": 1,
          "LexiSynonymTypeId": 1,
          "FreeText": "sample string 1",
          "DispenseUnitId": 2,
          "Quantity": "sample string 3",
          "IsFreeTextEPCS": true,
          "Schedule": 1,
          "StateSchedules": [
            {
              "StateName": "sample string 1",
              "Schedule": 2
            },
            {
              "StateName": "sample string 1",
              "Schedule": 2
            }
          ]
        },
        {
          "LexiGenProductId": 1,
          "LexiDrugSynId": 1,
          "LexiSynonymTypeId": 1,
          "FreeText": "sample string 1",
          "DispenseUnitId": 2,
          "Quantity": "sample string 3",
          "IsFreeTextEPCS": true,
          "Schedule": 1,
          "StateSchedules": [
            {
              "StateName": "sample string 1",
              "Schedule": 2
            },
            {
              "StateName": "sample string 1",
              "Schedule": 2
            }
          ]
        }
      ]
    }
  ],
  "Result": {
    "ResultCode": "sample string 1",
    "ResultDescription": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ListResponseOfSelfReportedMedication8Vkccj_Sk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
  <Result>
    <ResultCode>sample string 1</ResultCode>
    <ResultDescription>sample string 2</ResultDescription>
  </Result>
  <Items>
    <SelfReportedMedication>
      <Brand>true</Brand>
      <CompoundIngredients>
        <CompoundIngredientSchedule>
          <DispenseUnitId>2</DispenseUnitId>
          <FreeText>sample string 1</FreeText>
          <IsFreeTextEPCS>true</IsFreeTextEPCS>
          <LexiDrugSynId>1</LexiDrugSynId>
          <LexiGenProductId>1</LexiGenProductId>
          <LexiSynonymTypeId>1</LexiSynonymTypeId>
          <Quantity>sample string 3</Quantity>
          <Schedule>1</Schedule>
          <StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
          </StateSchedules>
        </CompoundIngredientSchedule>
        <CompoundIngredientSchedule>
          <DispenseUnitId>2</DispenseUnitId>
          <FreeText>sample string 1</FreeText>
          <IsFreeTextEPCS>true</IsFreeTextEPCS>
          <LexiDrugSynId>1</LexiDrugSynId>
          <LexiGenProductId>1</LexiGenProductId>
          <LexiSynonymTypeId>1</LexiSynonymTypeId>
          <Quantity>sample string 3</Quantity>
          <Schedule>1</Schedule>
          <StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
          </StateSchedules>
        </CompoundIngredientSchedule>
      </CompoundIngredients>
      <DispenseUnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">7</DispenseUnitId>
      <DisplayName>sample string 21</DisplayName>
      <DoseForm>sample string 8</DoseForm>
      <DrugClassification>sample string 23</DrugClassification>
      <GenericDrugName>sample string 12</GenericDrugName>
      <GenericProductName>sample string 11</GenericProductName>
      <LexiDrugSynId>14</LexiDrugSynId>
      <LexiGenDrugId>sample string 16</LexiGenDrugId>
      <LexiGenProductId>13</LexiGenProductId>
      <LexiSynonymTypeId>15</LexiSynonymTypeId>
      <MonographPath>sample string 22</MonographPath>
      <NDC>sample string 19</NDC>
      <OTC>true</OTC>
      <Route>sample string 9</Route>
      <RxCUI>sample string 17</RxCUI>
      <Schedule>sample string 20</Schedule>
      <StateSchedules>
        <StateSchedules>
          <Schedule>2</Schedule>
          <StateName>sample string 1</StateName>
        </StateSchedules>
        <StateSchedules>
          <Schedule>2</Schedule>
          <StateName>sample string 1</StateName>
        </StateSchedules>
      </StateSchedules>
      <Strength>sample string 10</Strength>
      <Comment>sample string 5</Comment>
      <DateInactive>2024-05-17T07:01:05.0338797+00:00</DateInactive>
      <Encounter>sample string 6</Encounter>
      <MedicationStatus>Unknown</MedicationStatus>
      <PatientMedicationId>1</PatientMedicationId>
      <DateReported>2024-05-17T07:01:05.0338797+00:00</DateReported>
      <DaysSupply>1</DaysSupply>
      <Directions>sample string 1</Directions>
      <DispenseUnitDescription>sample string 3</DispenseUnitDescription>
      <DispenseUnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">1</DispenseUnitId>
      <Quantity>sample string 2</Quantity>
      <Refills>sample string 4</Refills>
      <SelfReportedMedicationId>1</SelfReportedMedicationId>
      <WrittenDate>2024-05-17T07:01:05.0338797+00:00</WrittenDate>
    </SelfReportedMedication>
    <SelfReportedMedication>
      <Brand>true</Brand>
      <CompoundIngredients>
        <CompoundIngredientSchedule>
          <DispenseUnitId>2</DispenseUnitId>
          <FreeText>sample string 1</FreeText>
          <IsFreeTextEPCS>true</IsFreeTextEPCS>
          <LexiDrugSynId>1</LexiDrugSynId>
          <LexiGenProductId>1</LexiGenProductId>
          <LexiSynonymTypeId>1</LexiSynonymTypeId>
          <Quantity>sample string 3</Quantity>
          <Schedule>1</Schedule>
          <StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
          </StateSchedules>
        </CompoundIngredientSchedule>
        <CompoundIngredientSchedule>
          <DispenseUnitId>2</DispenseUnitId>
          <FreeText>sample string 1</FreeText>
          <IsFreeTextEPCS>true</IsFreeTextEPCS>
          <LexiDrugSynId>1</LexiDrugSynId>
          <LexiGenProductId>1</LexiGenProductId>
          <LexiSynonymTypeId>1</LexiSynonymTypeId>
          <Quantity>sample string 3</Quantity>
          <Schedule>1</Schedule>
          <StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
            <StateSchedules>
              <Schedule>2</Schedule>
              <StateName>sample string 1</StateName>
            </StateSchedules>
          </StateSchedules>
        </CompoundIngredientSchedule>
      </CompoundIngredients>
      <DispenseUnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">7</DispenseUnitId>
      <DisplayName>sample string 21</DisplayName>
      <DoseForm>sample string 8</DoseForm>
      <DrugClassification>sample string 23</DrugClassification>
      <GenericDrugName>sample string 12</GenericDrugName>
      <GenericProductName>sample string 11</GenericProductName>
      <LexiDrugSynId>14</LexiDrugSynId>
      <LexiGenDrugId>sample string 16</LexiGenDrugId>
      <LexiGenProductId>13</LexiGenProductId>
      <LexiSynonymTypeId>15</LexiSynonymTypeId>
      <MonographPath>sample string 22</MonographPath>
      <NDC>sample string 19</NDC>
      <OTC>true</OTC>
      <Route>sample string 9</Route>
      <RxCUI>sample string 17</RxCUI>
      <Schedule>sample string 20</Schedule>
      <StateSchedules>
        <StateSchedules>
          <Schedule>2</Schedule>
          <StateName>sample string 1</StateName>
        </StateSchedules>
        <StateSchedules>
          <Schedule>2</Schedule>
          <StateName>sample string 1</StateName>
        </StateSchedules>
      </StateSchedules>
      <Strength>sample string 10</Strength>
      <Comment>sample string 5</Comment>
      <DateInactive>2024-05-17T07:01:05.0338797+00:00</DateInactive>
      <Encounter>sample string 6</Encounter>
      <MedicationStatus>Unknown</MedicationStatus>
      <PatientMedicationId>1</PatientMedicationId>
      <DateReported>2024-05-17T07:01:05.0338797+00:00</DateReported>
      <DaysSupply>1</DaysSupply>
      <Directions>sample string 1</Directions>
      <DispenseUnitDescription>sample string 3</DispenseUnitDescription>
      <DispenseUnitId xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">1</DispenseUnitId>
      <Quantity>sample string 2</Quantity>
      <Refills>sample string 4</Refills>
      <SelfReportedMedicationId>1</SelfReportedMedicationId>
      <WrittenDate>2024-05-17T07:01:05.0338797+00:00</WrittenDate>
    </SelfReportedMedication>
  </Items>
</ListResponseOfSelfReportedMedication8Vkccj_Sk>