Which of the prescription fill's columns to return.
Endpoints
Prescription fills
/v0/prescription-fills/browseBrowse prescription fills
Queries the prescription fills on the patients visible to the caller.
Read-only. Uses the shared browse syntax described in
Browsing tables and returns the { table, aggregate, total } envelope as JSON, or the selected columns as CSV when you send
Accept: text/csv.
Until clinical data has finished loading after a service restart, the call
returns 503 with a Retry-After header rather than an empty table.
Request bodyapplication/json
Optional parameters
select.prescriptionFillobjectselect.prescriptionFill.refbooleanReference for this prescription dispensing record in the current output. It can change when clinical data is reprocessed.
select.prescriptionFill.ndcbooleanNational Drug Code identifying the product. Stored as an 11-digit normalized code without dashes. Preserve as text. Blank on a medication-list entry whose document names the drug only by its RxNorm code.
select.prescriptionFill.rxCuibooleanRxNorm concept identifier associated with the drug, when the product can be resolved in the reference data.
select.prescriptionFill.drugLabelbooleanDrug label supplied with the prescription data.
select.prescriptionFill.prescriptionNumberbooleanPrescription number assigned by the source pharmacy or prescription system. Preserve as text.
select.prescriptionFill.fillNumberbooleanFill sequence for the prescription. Zero means the original fill; one or greater means a refill.
select.prescriptionFill.daysSupplybooleanNumber of days the dispensed quantity is expected to cover, as reported by the source.
select.prescriptionFill.quantityDispensedbooleanQuantity dispensed for this fill. The unit depends on the drug or product; there is no separate quantity-unit field.
select.prescriptionFill.strengthbooleanDrug strength or dosage text supplied with the prescription record.
select.prescriptionFill.totalRefillsAllowedbooleanTotal number of refills authorized for the prescription, as reported by the source.
select.prescriptionFill.fcraDisputebooleanSource-reported Fair Credit Reporting Act (FCRA) dispute flag associated with the prescription record. Blank means no flag was supplied.
select.prescriptionFill.fillDatebooleanDate the prescription was filled or refilled. For a medication-list entry, the date the patient started the medication, when the document gives one.
select.prescriptionFill.kindbooleanWhat the row records: `dispensed` for a pharmacy dispense on the fill date, or `medicationListEntry` for a medication listed in a clinical document the patient's provider returned, which says the patient was prescribed or taking it but records no dispense. A medication-list entry carries no pharmacy, fill number, days supply or quantity.
select.prescriptionFill.withheldbooleanPresent when the patient's authorization does not release the category this record falls in. The clinical fields are then blank and this value names the category that an updated authorization would release: mentalHealthInformation, hivAidsInformation, geneticTestingInformation, reproductiveHealthInformation or sexuallyTransmittedDiseaseInformation. Absent when the record is released.
select.prescriptionFill.createdAtbooleanTimestamp when the prescription-fill data was recorded in the platform. This is separate from the fill date.
select.prescriptionFill.companyIdbooleanPlatform identifier for the customer organization associated with the record.
select.prescriptionFill.projectIdbooleanPlatform identifier for the project containing the patient and record.
select.prescriptionFill.patientIdbooleanPlatform identifier for the patient associated with the record. Use with the company and project identifiers to identify the patient scope.
select.prescriptionFill.visitRefbooleanReference to the visit associated with this dispensing event. The reference may change when the data is reprocessed.
select.prescriptionFill.siteIdbooleanPlatform reference for the dispensing pharmacy associated with the prescription fill.
select.prescriptionFill.prescriberPractitionerIdbooleanPlatform practitioner reference for the prescribing provider, when that provider is resolved.
select.drugobject & objectWhich of the joined drug's columns to return. Absent when the row has no drug.
select.companyobject & objectWhich of the joined company's columns to return. Absent when the row has no company.
select.projectobject & objectWhich of the joined project's columns to return. Absent when the row has no project.
select.patientobject & objectWhich of the joined patient's columns to return. Absent when the row has no patient.
select.visitobject & objectWhich of the joined visit's columns to return. Absent when the row has no visit.
select.siteobject & objectWhich of the joined site's columns to return. Absent when the row has no site.
select.prescriberobject & objectWhich of the joined prescriber's columns to return. Absent when the row has no prescriber.
where.prescriptionFillobjectFilters on the prescription fill's columns.
where.prescriptionFill.refobject | object | object | object | object | object | object | string[]Reference for this prescription dispensing record in the current output. It can change when clinical data is reprocessed.
where.prescriptionFill.ndcobject | object | object | object | object | object | object | string[]National Drug Code identifying the product. Stored as an 11-digit normalized code without dashes. Preserve as text. Blank on a medication-list entry whose document names the drug only by its RxNorm code.
where.prescriptionFill.rxCuiobject | object | object | object | object | object | object | string[]RxNorm concept identifier associated with the drug, when the product can be resolved in the reference data.
where.prescriptionFill.drugLabelobject | object | object | object | object | object | object | string[]Drug label supplied with the prescription data.
where.prescriptionFill.prescriptionNumberobject | object | object | object | object | object | object | string[]Prescription number assigned by the source pharmacy or prescription system. Preserve as text.
where.prescriptionFill.fillNumberobject | object | object | object | object | object | object | object | string[]Fill sequence for the prescription. Zero means the original fill; one or greater means a refill.
where.prescriptionFill.daysSupplyobject | object | object | object | object | object | object | object | string[]Number of days the dispensed quantity is expected to cover, as reported by the source.
where.prescriptionFill.quantityDispensedobject | object | object | object | object | object | object | object | string[]Quantity dispensed for this fill. The unit depends on the drug or product; there is no separate quantity-unit field.
where.prescriptionFill.strengthobject | object | object | object | object | object | object | string[]Drug strength or dosage text supplied with the prescription record.
where.prescriptionFill.totalRefillsAllowedobject | object | object | object | object | object | object | object | string[]Total number of refills authorized for the prescription, as reported by the source.
where.prescriptionFill.fcraDisputeobject | object | object | object | string[]Source-reported Fair Credit Reporting Act (FCRA) dispute flag associated with the prescription record. Blank means no flag was supplied.
where.prescriptionFill.fillDateobject | object | object | object | object | object | object | object | string[]Date the prescription was filled or refilled. For a medication-list entry, the date the patient started the medication, when the document gives one.
where.prescriptionFill.kindobject | object | object | object | string[]What the row records: `dispensed` for a pharmacy dispense on the fill date, or `medicationListEntry` for a medication listed in a clinical document the patient's provider returned, which says the patient was prescribed or taking it but records no dispense. A medication-list entry carries no pharmacy, fill number, days supply or quantity.
where.prescriptionFill.withheldobject | object | object | object | string[]Present when the patient's authorization does not release the category this record falls in. The clinical fields are then blank and this value names the category that an updated authorization would release: mentalHealthInformation, hivAidsInformation, geneticTestingInformation, reproductiveHealthInformation or sexuallyTransmittedDiseaseInformation. Absent when the record is released.
where.prescriptionFill.createdAtobject | object | object | object | object | object | object | object | string[]Timestamp when the prescription-fill data was recorded in the platform. This is separate from the fill date.
where.prescriptionFill.companyIdobject | object | object | object | object | object | object | object | string[]Platform identifier for the customer organization associated with the record.
where.prescriptionFill.projectIdobject | object | object | object | object | object | object | string[]Platform identifier for the project containing the patient and record.
where.prescriptionFill.patientIdobject | object | object | object | object | object | object | string[]Platform identifier for the patient associated with the record. Use with the company and project identifiers to identify the patient scope.
where.prescriptionFill.visitRefobject | object | object | object | object | object | object | string[]Reference to the visit associated with this dispensing event. The reference may change when the data is reprocessed.
where.prescriptionFill.siteIdobject | object | object | object | object | object | object | string[]Platform reference for the dispensing pharmacy associated with the prescription fill.
where.prescriptionFill.prescriberPractitionerIdobject | object | object | object | object | object | object | string[]Platform practitioner reference for the prescribing provider, when that provider is resolved.
where.drugstring | object & objectFilters on the joined drug's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a drug.
where.companystring | object & objectFilters on the joined company's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a company.
where.projectstring | object & objectFilters on the joined project's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a project.
where.patientstring | object & objectFilters on the joined patient's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a patient.
where.visitstring | object & objectFilters on the joined visit's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a visit.
where.sitestring | object & objectFilters on the joined site's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a site.
where.prescriberstring | object & objectFilters on the joined prescriber's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a prescriber.
aggregate.prescriptionFill.countbooleanWhen true, return the number of rows that match the filter.
aggregate.prescriptionFill.sumobjectNumeric columns to total across the rows that match the filter.
aggregate.prescriptionFill.avgobjectNumeric columns to average across the rows that match the filter.
aggregate.prescriptionFill.minobjectNumeric columns to find the smallest value of across the rows that match the filter.
aggregate.prescriptionFill.maxobjectNumeric columns to find the largest value of across the rows that match the filter.
ReturnsTyped browse response for PrescriptionFillBrowseResponse
Conditional attributes
table[].prescriptionFillobjectThe prescription fill's columns, as selected by the request.
table[].prescriptionFill.refstringReference for this prescription dispensing record in the current output. It can change when clinical data is reprocessed.
table[].prescriptionFill.idstringDeprecatedLegacy alias of `ref`; prefer `ref`.
table[].prescriptionFill.ndcstringNational Drug Code identifying the product. Stored as an 11-digit normalized code without dashes. Preserve as text. Blank on a medication-list entry whose document names the drug only by its RxNorm code.
table[].prescriptionFill.rxCuistringRxNorm concept identifier associated with the drug, when the product can be resolved in the reference data.
table[].prescriptionFill.drugLabelstringDrug label supplied with the prescription data.
table[].prescriptionFill.prescriptionNumberstringPrescription number assigned by the source pharmacy or prescription system. Preserve as text.
table[].prescriptionFill.fillNumberintegerFill sequence for the prescription. Zero means the original fill; one or greater means a refill.
table[].prescriptionFill.daysSupplyintegerNumber of days the dispensed quantity is expected to cover, as reported by the source.
table[].prescriptionFill.quantityDispensedstringQuantity dispensed for this fill. The unit depends on the drug or product; there is no separate quantity-unit field.
table[].prescriptionFill.strengthstringDrug strength or dosage text supplied with the prescription record.
table[].prescriptionFill.totalRefillsAllowedintegerTotal number of refills authorized for the prescription, as reported by the source.
table[].prescriptionFill.fcraDisputebooleanSource-reported Fair Credit Reporting Act (FCRA) dispute flag associated with the prescription record. Blank means no flag was supplied.
table[].prescriptionFill.fillDatestringDate the prescription was filled or refilled. For a medication-list entry, the date the patient started the medication, when the document gives one.
table[].prescriptionFill.kindstringWhat the row records: `dispensed` for a pharmacy dispense on the fill date, or `medicationListEntry` for a medication listed in a clinical document the patient's provider returned, which says the patient was prescribed or taking it but records no dispense. A medication-list entry carries no pharmacy, fill number, days supply or quantity.
table[].prescriptionFill.withheldstringPresent when the patient's authorization does not release the category this record falls in. The clinical fields are then blank and this value names the category that an updated authorization would release: mentalHealthInformation, hivAidsInformation, geneticTestingInformation, reproductiveHealthInformation or sexuallyTransmittedDiseaseInformation. Absent when the record is released.
table[].prescriptionFill.createdAtstringTimestamp when the prescription-fill data was recorded in the platform. This is separate from the fill date.
table[].prescriptionFill.companyIdintegerPlatform identifier for the customer organization associated with the record.
The numeric id of the company (tenant) a resource belongs to.
table[].prescriptionFill.projectIdstringPlatform identifier for the project containing the patient and record.
table[].prescriptionFill.patientIdstringPlatform identifier for the patient associated with the record. Use with the company and project identifiers to identify the patient scope.
table[].prescriptionFill.visitRefstringReference to the visit associated with this dispensing event. The reference may change when the data is reprocessed.
table[].prescriptionFill.visitIdstringDeprecatedLegacy alias of `visitRef`; prefer `visitRef`.
table[].prescriptionFill.siteIdstringPlatform reference for the dispensing pharmacy associated with the prescription fill.
table[].prescriptionFill.prescriberPractitionerIdstringPlatform practitioner reference for the prescribing provider, when that provider is resolved.
table[].drugobject & objectThe joined drug's columns, as selected by the request. Absent when the row has no drug.
table[].companyobject & object & object & objectThe joined company's columns, as selected by the request. Absent when the row has no company.
table[].projectobject & object & objectThe joined project's columns, as selected by the request. Absent when the row has no project.
table[].patientobject & object & objectThe joined patient's columns, as selected by the request. Absent when the row has no patient.
table[].visitobject & object & objectThe joined visit's columns, as selected by the request. Absent when the row has no visit.
table[].siteobject & objectThe joined site's columns, as selected by the request. Absent when the row has no site.
table[].prescriberobject & objectThe joined prescriber's columns, as selected by the request. Absent when the row has no prescriber.
aggregate.prescriptionFill.countintegerNumber of rows that match the filter. Present when `count` was requested.
aggregate.prescriptionFill.sumobjectTotal of each requested numeric column across the rows that match the filter.
aggregate.prescriptionFill.avgobjectAverage of each requested numeric column across the rows that match the filter.
aggregate.prescriptionFill.minobjectSmallest value of each requested numeric column across the rows that match the filter.
aggregate.prescriptionFill.maxobjectLargest value of each requested numeric column across the rows that match the filter.
Errors
400401500503