SQL on FHIR
3.0.0-ballot - STU 3 Ballot International flag

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

Library: Active Patients

Official URL: http://hl7.org/fhir/uv/sql-on-fhir/Library/ActivePatientsView Version: 3.0.0-ballot
Standards status: Informative Computable Name: ActivePatientsView
Other Identifiers: OID:2.16.840.1.113883.4.642.40.77.28.2

Selects the identifier, name, and birth date of every active patient. Other queries reference this view by its canonical URL and use the active_patients label as a table name.

SELECT
  patient_view.id AS patient_id,
  patient_view.name AS patient_name,
  patient_view.birth_date
FROM patient_view
WHERE patient_view.active = true

Metadata
Title Active Patients
Version 3.0.0-ballot
Identifier urn:oid:2.16.840.1.113883.4.642.40.77.28.2
Jurisdiction World
Steward (Publisher) HL7 International / FHIR Infrastructure
Steward Contact HL7 International / FHIR Infrastructure
Description

Selects the identifier, name, and birth date of every active patient. Other queries reference this view by its canonical URL and use the active_patients label as a table name.

SELECT
  patient_view.id AS patient_id,
  patient_view.name AS patient_name,
  patient_view.birth_date
FROM patient_view
WHERE patient_view.active = true
Type sql-view from http://hl7.org/fhir/uv/sql-on-fhir/CodeSystem/LibraryTypesCodes
Dependency Resource: https://example.org/ViewDefinition/patient_view
Canonical URL: https://example.org/ViewDefinition/patient_view
Parameters
Parameter None
Library Content
application/sqlContent
Encoded data 
Generated using version 0.5.4 of the sample-content-ig Liquid templates