Which of the visit's columns to return.
Endpoints
Visits
/v0/visits/browseBrowse visits
Queries the visits 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.visitobjectselect.visit.refbooleanReference for the visit in the current data output. This reference can change when data is reprocessed and should not be used as a permanent identifier.
select.visit.encounterTypebooleanSource-reported encounter category, such as inpatient or outpatient. Values depend on the contributing source and are not a fixed enumerated list.
select.visit.claimTypebooleanSource-reported numeric claim-type code. Source-specific and may be blank.
select.visit.earliestServiceDatebooleanEarliest service date reported for the visit. This describes the care event, not the date of the search.
select.visit.latestServiceDatebooleanLatest service date reported for the visit. It may equal the earliest service date for a single-day encounter.
select.visit.memberIdbooleanInsurance member identifier reported in the source claims data. Preserve as text, including any leading zeros.
select.visit.createdAtbooleanTimestamp associated with the visit data in the platform. For merged visits, this is the newest contributing data timestamp and can change when newer data contributes.
select.visit.ehrDiscoveredbooleanWhether an electronic health record discovery source contributed to this visit. Describes how the visit was found; whether a C-CDA request can be created for it is `ccda.actionable`.
select.visit.companyIdbooleanPlatform identifier for the customer organization associated with the record.
select.visit.projectIdbooleanPlatform identifier for the project containing the patient and record.
select.visit.patientIdbooleanPlatform identifier for the patient associated with the record. Use with the company and project identifiers to identify the patient scope.
select.visit.siteIdbooleanPlatform identifier of the facility the visit happened at, as recorded on the visit. Blank for a visit with an individual practitioner, and for a visit that names no provider. Can differ from site.id after facilities are merged; use site.id to identify the site.
select.visit.providerRefbooleanReference to the facility or individual practitioner the visit is attached to, as recorded on the visit. Blank when the visit names no provider. Can differ from site.id after facilities are merged; use site.id to identify the provider. Not guaranteed to stay the same over time.
select.visit.attendingProviderIdbooleanPlatform practitioner reference for the attending provider associated with the visit.
select.visit.renderingProviderIdbooleanPlatform practitioner reference for the rendering provider associated with the visit.
select.visit.operatingProviderIdbooleanPlatform practitioner reference for the operating provider associated with the visit.
select.visit.payorIdbooleanReference identifier for the payer associated with the visit. The payor join supplies the payer name when available.
select.visit.procedureCountbooleanNumber of procedure records linked to the visit.
select.visit.diagnosisCountbooleanNumber of diagnosis records linked to the visit.
select.visit.prescriptionFillCountbooleanNumber of prescription dispensing records linked to the visit.
select.requestPresenceobject & objectWhich of the joined request presence's columns to return. Absent when the row has no request presence.
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.ccdaobject & objectWhich of the joined ccda's columns to return. Absent when the row has no ccda.
select.siteobject & objectWhich of the joined site's columns to return. Absent when the row has no site.
select.attendingProviderobject & objectWhich of the joined attending provider's columns to return. Absent when the row has no attending provider.
select.renderingProviderobject & objectWhich of the joined rendering provider's columns to return. Absent when the row has no rendering provider.
select.operatingProviderobject & objectWhich of the joined operating provider's columns to return. Absent when the row has no operating provider.
select.payorobject & objectWhich of the joined payor's columns to return. Absent when the row has no payor.
where.visitobjectFilters on the visit's columns.
where.visit.refobject | object | object | object | object | object | object | string[]Reference for the visit in the current data output. This reference can change when data is reprocessed and should not be used as a permanent identifier.
where.visit.encounterTypeobject | object | object | object | object | object | object | string[]Source-reported encounter category, such as inpatient or outpatient. Values depend on the contributing source and are not a fixed enumerated list.
where.visit.claimTypeobject | object | object | object | object | object | object | object | string[]Source-reported numeric claim-type code. Source-specific and may be blank.
where.visit.earliestServiceDateobject | object | object | object | object | object | object | object | string[]Earliest service date reported for the visit. This describes the care event, not the date of the search.
where.visit.latestServiceDateobject | object | object | object | object | object | object | object | string[]Latest service date reported for the visit. It may equal the earliest service date for a single-day encounter.
where.visit.memberIdobject | object | object | object | object | object | object | string[]Insurance member identifier reported in the source claims data. Preserve as text, including any leading zeros.
where.visit.createdAtobject | object | object | object | object | object | object | object | string[]Timestamp associated with the visit data in the platform. For merged visits, this is the newest contributing data timestamp and can change when newer data contributes.
where.visit.ehrDiscoveredobject | object | object | object | string[]Whether an electronic health record discovery source contributed to this visit. Describes how the visit was found; whether a C-CDA request can be created for it is `ccda.actionable`.
where.visit.companyIdobject | object | object | object | object | object | object | object | string[]Platform identifier for the customer organization associated with the record.
where.visit.projectIdobject | object | object | object | object | object | object | string[]Platform identifier for the project containing the patient and record.
where.visit.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.visit.siteIdobject | object | object | object | object | object | object | string[]Platform identifier of the facility the visit happened at, as recorded on the visit. Blank for a visit with an individual practitioner, and for a visit that names no provider. Can differ from site.id after facilities are merged; use site.id to identify the site.
where.visit.providerRefobject | object | object | object | object | object | object | string[]Reference to the facility or individual practitioner the visit is attached to, as recorded on the visit. Blank when the visit names no provider. Can differ from site.id after facilities are merged; use site.id to identify the provider. Not guaranteed to stay the same over time.
where.visit.attendingProviderIdobject | object | object | object | object | object | object | string[]Platform practitioner reference for the attending provider associated with the visit.
where.visit.renderingProviderIdobject | object | object | object | object | object | object | string[]Platform practitioner reference for the rendering provider associated with the visit.
where.visit.operatingProviderIdobject | object | object | object | object | object | object | string[]Platform practitioner reference for the operating provider associated with the visit.
where.visit.payorIdobject | object | object | object | object | object | object | string[]Reference identifier for the payer associated with the visit. The payor join supplies the payer name when available.
where.visit.procedureCountobject | object | object | object | object | object | object | object | string[]Number of procedure records linked to the visit.
where.visit.diagnosisCountobject | object | object | object | object | object | object | object | string[]Number of diagnosis records linked to the visit.
where.visit.prescriptionFillCountobject | object | object | object | object | object | object | object | string[]Number of prescription dispensing records linked to the visit.
where.requestPresencestring | object & objectFilters on the joined request presence's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a request presence.
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.ccdastring | object & objectFilters on the joined ccda's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a ccda.
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.attendingProviderstring | object & objectFilters on the joined attending provider's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a attending provider.
where.renderingProviderstring | object & objectFilters on the joined rendering provider's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a rendering provider.
where.operatingProviderstring | object & objectFilters on the joined operating provider's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a operating provider.
where.payorstring | object & objectFilters on the joined payor's columns. `isNull` or `isNotNull` in place of the filters matches the rows without or with a payor.
aggregate.visit.countbooleanWhen true, return the number of rows that match the filter.
aggregate.visit.sumobjectNumeric columns to total across the rows that match the filter.
aggregate.visit.avgobjectNumeric columns to average across the rows that match the filter.
aggregate.visit.minobjectNumeric columns to find the smallest value of across the rows that match the filter.
aggregate.visit.maxobjectNumeric columns to find the largest value of across the rows that match the filter.
ReturnsTyped browse response for VisitBrowseResponse
Conditional attributes
table[].visitobject & objectThe visit's columns, as selected by the request.
table[].requestPresenceobject & objectThe joined request presence's columns, as selected by the request. Absent when the row has no request presence.
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[].ccdaobject & objectThe joined ccda's columns, as selected by the request. Absent when the row has no ccda.
table[].siteobject & objectThe joined site's columns, as selected by the request. Absent when the row has no site.
table[].attendingProviderobject & objectThe joined attending provider's columns, as selected by the request. Absent when the row has no attending provider.
table[].renderingProviderobject & objectThe joined rendering provider's columns, as selected by the request. Absent when the row has no rendering provider.
table[].operatingProviderobject & objectThe joined operating provider's columns, as selected by the request. Absent when the row has no operating provider.
table[].payorobject & objectThe joined payor's columns, as selected by the request. Absent when the row has no payor.
table[].actionsobjectComputed for every row; it is not selected, filtered or sorted on.
table[].actions.createRecordRequeststringRelative application link that opens a new record request for the patient and facility. Blank when the visit has no facility subject.
table[].actions.createCcdaRequeststringRelative application link that opens a C-CDA request. Available when the visit has a facility, that facility has a live electronic health record connection accepting requests for the visit's project (the visit's `ccda.actionable` value), and the viewer can create C-CDA requests. Whichever source found the visit does not matter.
table[].actions.existingRequestCountsobjectExisting record requests for this patient at this facility, counted by request type. All zero when the visit has no facility. Shared by every visit at the same facility, so do not sum across visits.
table[].actions.recordRequestCountintegerTotal existing medical, imaging, and billing requests for this patient at this facility. Excludes C-CDA requests. Do not sum across visits at the same facility.
table[].actions.ccdaRequestCountintegerNumber of existing C-CDA requests for this patient at this facility. Do not sum across visits at the same facility.
aggregate.visit.countintegerNumber of rows that match the filter. Present when `count` was requested.
aggregate.visit.sumobjectTotal of each requested numeric column across the rows that match the filter.
aggregate.visit.avgobjectAverage of each requested numeric column across the rows that match the filter.
aggregate.visit.minobjectSmallest value of each requested numeric column across the rows that match the filter.
aggregate.visit.maxobjectLargest value of each requested numeric column across the rows that match the filter.
Errors
400401500503