Table & View Definitions
1upHealth’s SQL on FHIR product includes enrichment tables, FHIR data tables, and views that you can use to generate analytics and insights, and get visibility into your FHIR data. You can use these definitions to write SQL queries and to help you understand the context of the data in the SQL tables.
Enrichment Tables
You can use the following enrichment tables to help you analyze and get insights into your FHIR data. Some of the tables can also be combined with the views to increase your visibility into your data.
Enrichment Table |
Description |
---|---|
|
Map NCD codes and RX codes Use with the |
|
Map NCD codes and RX codes Use with the |
|
Map NCD codes and RX codes. Use with the |
|
Limited value sets from eCQM (Electronic Quality Measure) |
|
Latitude and longitude values for US ZIP codes Use to create geographic visualizations |
FHIR Data Tables
You can use these FHIR data tables to get more detailed information about your FHIR resource data. Each table contains the information for one type of FHIR resource, which is denoted in the final part of the table name. Within each table, the columns directly map to the attributes defined by the FHIR specification for that resource.
For more information about each of the columns and possible nested values, refer to the HL7 FHIR Documentation link for each resource.
FHIR Data Table |
FHIR Response Type |
---|---|
|
Condition • HL7 FHIR Documentation — Condition |
|
Coverage • HL7 FHIR Documentation — Coverage |
|
Encounter • HL7 FHIR Documentation — Encounter |
|
Explanation of Benefits • HL7 FHIR Documentation — Explanation of Benefit |
|
Observation • HL7 FHIR Documentation — Observation |
|
Organization • HL7 FHIR Documentation — Organization |
|
Patient • HL7 FHIR Documentation — Patient |
|
Practitioner • HL7 FHIR Documentation — Practitioner |
Views
You can use the following views to help you evaluate data quality and referential integrity. You can also use them to get view profile information for key FHIR tables, such as Patient, Practitioner, and Explanation of Benefits.
View |
Description |
---|---|
|
Count of resources loaded by day |
|
Aggregate information on referential integrity among resources If a FHIR resource contains a reference, this is the count of resources that exist (match) or don’t exist (mismatch). |
|
Detailed information on referential integrity Lists all references and whether they exist (match) or don’t exist (mismatch). |