SQL on FHIR, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sql-on-fhir/ and changes regularly. See the Directory of published versions
This view acts on the Condition resource to produce a table named "condition_flat".
The table contains the following columns:
| Name | Fhir Type | SQL Type | Collection | Notes |
|---|---|---|---|---|
| id | string | String | ||
| patient_id | string | String | ||
| encounter_id | string | String | ||
| onset_datetime | dateTime | DateTime | ||
| system | uri | String | This column is not defined as a collection, but the path statement 'system' might return multiple values for the column 'system' for some inputs | |
| code | string | String | This column is not defined as a collection, but the path statement 'code' might return multiple values for the column 'code' for some inputs | |
| category | string | String | This column is not defined as a collection, but the path statement 'code' might return multiple values for the column 'category' for some inputs | |
| clinical_status | string | String | This column is not defined as a collection, but the path statement 'code' might return multiple values for the column 'clinical_status' for some inputs | |
| verification_status | string | String | This column is not defined as a collection, but the path statement 'code' might return multiple values for the column 'verification_status' for some inputs |
Selection Rules:
| Item | Coll | Type | Description |
|---|---|---|---|
![]() | Condition | ||
![]() ![]() | |||
![]() ![]() ![]() | getResourceKey() | ||
![]() ![]() ![]() | subject.getReferenceKey(Patient) | ||
![]() ![]() ![]() | encounter.getReferenceKey(Encounter) | ||
![]() ![]() ![]() | dateTime | onset.ofType(dateTime) | |
![]() ![]() | for each code.coding, or null | ||
![]() ![]() ![]() | uri | system | |
![]() ![]() ![]() | code | ||
![]() ![]() | for each category.coding, or null | ||
![]() ![]() ![]() | code | ||
![]() ![]() | for each clinicalStatus.coding, or null | ||
![]() ![]() ![]() | code | ||
![]() ![]() | for each verificationStatus.coding, or null | ||
![]() ![]() ![]() | code |