QueryList

  • Type: array object[] · QueryList

    List of Stored Query resources.

    Stored Query content meta information.

    • name
      Type: string · QueryName
      required

      The (fully qualified) name of the query (when is registered as a stored query), in a format of [{namespace}::]{query-name}. The namespace prefix is optional, and when used it should be in a form of a reverse domain name.

    • q
      Type: string · AQL
      required

      The given AQL query.

    • saved
      Type: stringFormat: date-time
      required

      the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

    • type
      Type: string · QueryType
      required

      Query formalism type.

    • version
      Type: string · QueryVersion
      required

      The 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'"
  }
]