FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | Σ I | 0..* | Resource | Contains a collection of resources bdl-2: entry.search only when a search bdl-1: total only when a search or history bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId bdl-3: entry.transaction when (and only when) a transaction bdl-4: entry.transactionResponse when (and only when) a transaction-response |
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() | ?! Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: http://tools.ietf.org/html/bcp47 (required) | |
![]() ![]() ![]() | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: http://hl7.org/fhir/ValueSet/bundle-type (required) |
![]() ![]() ![]() | Σ I | 0..1 | unsignedInt | If search, the total number of matches |
![]() ![]() ![]() | Σ | 0..* | BackboneElement | Links related to this Bundle |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 1..1 | string | http://www.iana.org/assignments/link-relations/link-relations.xhtml |
![]() ![]() ![]() ![]() | Σ | 1..1 | uri | Reference details for the link |
![]() ![]() ![]() | Σ I | 0..* | BackboneElement | Entry in the bundle - will have a resource, or information bdl-5: must be a resource unless there's a transaction or transaction response bdl-6: The fullUrl element must be present when a resource is present, and not present otherwise |
![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() | Σ | 0..* | Links related to this entry | |
![]() ![]() ![]() ![]() | Σ | 0..1 | uri | Absolute URL for resource (server address, or UUID/OID) |
![]() ![]() ![]() ![]() | Σ | 0..1 | Resource | A resource in the bundle |
![]() ![]() ![]() ![]() | Σ I | 0..1 | BackboneElement | Search related information |
![]() ![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | code | match | include | outcome - why this is in the result set Binding: http://hl7.org/fhir/ValueSet/search-entry-mode (required) |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | decimal | Search ranking (between 0 and 1) |
![]() ![]() ![]() ![]() | Σ I | 0..1 | BackboneElement | Transaction Related Information |
![]() ![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | code | GET | POST | PUT | DELETE Binding: http://hl7.org/fhir/ValueSet/http-verb (required) |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | For managing cache currency |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | instant | For managing update contention |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | For managing update contention |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | For conditional creates |
![]() ![]() ![]() ![]() | Σ I | 0..1 | BackboneElement | Transaction Related Information |
![]() ![]() ![]() ![]() ![]() | 0..1 | id | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional Content defined by implementations | |
![]() ![]() ![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() ![]() ![]() | Σ | 1..1 | string | Status return code for entry |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | uri | The location, if the operation returns a location |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | string | The etag for the resource (if relevant) |
![]() ![]() ![]() ![]() ![]() | Σ | 0..1 | instant | Server's date time modified |
![]() ![]() ![]() | Σ | 0..1 | Signature | Digital Signature |
![]() |