SQL on FHIR, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 2.1.0-pre 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
| Official URL: http://hl7.org/fhir/uv/sql-on-fhir/Library/ActivePatientAddressesQuery | Version: 2.1.0-pre | |||
| Standards status: Informative | Computable Name: ActivePatientAddressesQuery | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.77.28.1 | ||||
Joins the Active Patients view to patient
addresses. The active_patients label resolves to the referenced SQLView, which
the executing engine may materialise or inline.
SELECT
active_patients.patient_id,
active_patients.patient_name,
patient_address_view.city,
patient_address_view.state
FROM active_patients
JOIN patient_address_view
ON active_patients.patient_id = patient_address_view.patient_id
| Title: | Active Patient Addresses | ||
|---|---|---|---|
| Id: | ActivePatientAddressesQuery | ||
| Version: | 2.1.0-pre | ||
| Url: | Active Patient Addresses | ||
|
urn:oid:2.16.840.1.113883.4.642.40.77.28.1 |
|||
| Type: |
system: http://hl7.org/fhir/uv/sql-on-fhir/CodeSystem/LibraryTypesCodes code: sql-query |
||
| Date: | 2026-07-28 04:38:44+0000 | ||
| Publisher: | HL7 International / FHIR Infrastructure | ||
| Description: | Joins the Active Patients view to patient
addresses. The
|
||
| Jurisdiction: | 001 | ||
| Related Artifacts: |
Dependencies
|
||
|
|||