PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r4@0.2601.0
    http://health-samurai.io/fhir/core/StructureDefinition/ui_snippet
{
  "description": "UI snippet resource for saved queries and commands in Aidbox console.",
  "_filename": "StructureDefinition-ui-snippet.json",
  "package_name": "io.health-samurai.core.r4",
  "date": null,
  "derivation": "specialization",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "ui_snippet",
  "abstract": false,
  "type": "ui_snippet",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.2601.0",
  "status": "active",
  "id": "18d149bd-f3de-4eae-8c05-7f9dd438782d",
  "kind": "resource",
  "url": "http://health-samurai.io/fhir/core/StructureDefinition/ui_snippet",
  "version": "0.2601.0",
  "differential": {
    "element": [ {
      "id": "ui_snippet",
      "max": "*",
      "min": 0,
      "path": "ui_snippet"
    }, {
      "id": "ui_snippet._source",
      "max": "1",
      "min": 0,
      "path": "ui_snippet._source",
      "type": [ {
        "code": "string"
      } ],
      "short": "System Property. DO NOT USE IT."
    }, {
      "id": "ui_snippet.title",
      "max": "1",
      "min": 0,
      "path": "ui_snippet.title",
      "type": [ {
        "code": "string"
      } ],
      "short": "Title of the snippet."
    }, {
      "id": "ui_snippet.command",
      "max": "1",
      "min": 0,
      "path": "ui_snippet.command",
      "type": [ {
        "code": "string"
      } ],
      "short": "Command or query content."
    }, {
      "id": "ui_snippet.user",
      "max": "1",
      "min": 0,
      "path": "ui_snippet.user",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/User" ]
      } ],
      "short": "Reference to the user who created the snippet."
    }, {
      "id": "ui_snippet.collection",
      "max": "1",
      "min": 0,
      "path": "ui_snippet.collection",
      "type": [ {
        "code": "string"
      } ],
      "short": "Collection the snippet belongs to."
    }, {
      "id": "ui_snippet.type",
      "max": "1",
      "min": 0,
      "path": "ui_snippet.type",
      "type": [ {
        "code": "string"
      } ],
      "short": "Type of snippet.",
      "constraint": [ {
        "key": "enum-199",
        "human": "Type must be one of: http, sql",
        "severity": "error",
        "expression": "%context.subsetOf('http' | 'sql')"
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}