PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r4@0.2601.0
    http://health-samurai.io/fhir/core/StructureDefinition/AidboxQuery
{
  "description": "Custom SQL query resource for Aidbox.",
  "_filename": "StructureDefinition-aidbox-query.json",
  "package_name": "io.health-samurai.core.r4",
  "date": null,
  "derivation": "specialization",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "AidboxQuery",
  "abstract": false,
  "type": "AidboxQuery",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.2601.0",
  "status": "active",
  "id": "6495b54e-fec3-46aa-b110-e6d107e7a210",
  "kind": "resource",
  "url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxQuery",
  "version": "0.2601.0",
  "differential": {
    "element": [ {
      "id": "AidboxQuery",
      "max": "*",
      "min": 0,
      "path": "AidboxQuery"
    }, {
      "id": "AidboxQuery._source",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery._source",
      "type": [ {
        "code": "string"
      } ],
      "short": "System Property. DO NOT USE IT."
    }, {
      "id": "AidboxQuery.params",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery.params",
      "short": "Parameters for the query.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    }, {
      "id": "AidboxQuery.query",
      "max": "1",
      "min": 1,
      "path": "AidboxQuery.query",
      "type": [ {
        "code": "string"
      } ],
      "short": "SQL query string."
    }, {
      "id": "AidboxQuery.count-query",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery.count-query",
      "type": [ {
        "code": "string"
      } ],
      "short": "SQL query to count total results."
    }, {
      "id": "AidboxQuery.enable-links",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery.enable-links",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Whether to generate FHIR links for pagination."
    }, {
      "id": "AidboxQuery.type",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery.type",
      "type": [ {
        "code": "string"
      } ],
      "short": "Type of query operation.",
      "constraint": [ {
        "key": "enum-183",
        "human": "Query type must be one of: query, execute",
        "severity": "error",
        "expression": "%context.subsetOf('query' | 'execute')"
      } ]
    }, {
      "id": "AidboxQuery.omit-sql",
      "max": "1",
      "min": 0,
      "path": "AidboxQuery.omit-sql",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Whether to omit SQL in response metadata."
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}