QueryList
- Type: array object[] · QueryList
List of Stored Query resources.
Stored Query content meta information.
- Type: string · QueryName
name requiredThe (fully qualified) name of the query (when is registered as a stored query), in a format of
[{namespace}::]{query-name}. Thenamespaceprefix is optional, and when used it should be in a form of a reverse domain name. - Type: string · AQL
q requiredThe given AQL query.
- Type: stringFormat: date-time
saved requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string · QueryType
type requiredQuery formalism type.
- Type: string · QueryVersion
version requiredThe SEMVER version number of the Stored Query.
Examples
[
{
"name": "org.openehr::compositions",
"type": "aql",
"version": "1.0.1",
"saved": "2017-07-16T19:20:30.450+01:00",
"q": "SELECT c FROM EHR e[ehr_id/value=$ehr_id] \n CONTAINS COMPOSITION c[$compositionid] \nWHERE c/name/value = 'Vitals'"
},
{
"name": "org.openehr::compositions",
"type": "aql",
"version": "1.1.7",
"saved": "2018-06-13T09:37:20.530+01:00",
"q": "SELECT c FROM EHR e[ehr_id/value=$ehr_id] \n CONTAINS COMPOSITION c[$uid] \nWHERE c/name/value = 'Vitals'"
}
]