PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r4@0.2601.0
    http://health-samurai.io/fhir/core/StructureDefinition/App
{
  "description": "Application definition resource for Aidbox.",
  "_filename": "StructureDefinition-app.json",
  "package_name": "io.health-samurai.core.r4",
  "date": null,
  "derivation": "specialization",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "App",
  "abstract": false,
  "type": "App",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.2601.0",
  "status": "active",
  "id": "a9abe8e5-4760-4226-a88f-8d40f6b4a479",
  "kind": "resource",
  "url": "http://health-samurai.io/fhir/core/StructureDefinition/App",
  "version": "0.2601.0",
  "differential": {
    "element": [ {
      "id": "App",
      "max": "*",
      "min": 0,
      "path": "App"
    }, {
      "id": "App._source",
      "max": "1",
      "min": 0,
      "path": "App._source",
      "type": [ {
        "code": "string"
      } ],
      "short": "System Property. DO NOT USE IT."
    }, {
      "id": "App.type",
      "max": "1",
      "min": 1,
      "path": "App.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "Type of application.",
      "constraint": [ {
        "key": "enum-402",
        "human": "Type must be one of: app, addon",
        "severity": "error",
        "expression": "%context.subsetOf('app' | 'addon')"
      } ]
    }, {
      "id": "App.apiVersion",
      "max": "1",
      "min": 1,
      "path": "App.apiVersion",
      "type": [ {
        "code": "integer"
      } ],
      "short": "Version of the API this app uses."
    }, {
      "id": "App.endpoint",
      "max": "1",
      "min": 0,
      "path": "App.endpoint",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Endpoint configuration for the app."
    }, {
      "id": "App.endpoint.url",
      "max": "1",
      "min": 0,
      "path": "App.endpoint.url",
      "type": [ {
        "code": "string"
      } ],
      "short": "URL of the endpoint."
    }, {
      "id": "App.endpoint.secret",
      "max": "1",
      "min": 0,
      "path": "App.endpoint.secret",
      "type": [ {
        "code": "string"
      } ],
      "short": "Secret key for endpoint authentication."
    }, {
      "id": "App.endpoint.type",
      "max": "1",
      "min": 0,
      "path": "App.endpoint.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "Type of endpoint protocol.",
      "constraint": [ {
        "key": "enum-403",
        "human": "Endpoint type must be one of: http-rpc, ws-rpc, native",
        "severity": "error",
        "expression": "%context.subsetOf('http-rpc' | 'ws-rpc' | 'native')"
      } ]
    }, {
      "id": "App.migrations",
      "max": "*",
      "min": 0,
      "path": "App.migrations",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "List of migrations for this app."
    }, {
      "id": "App.migrations.id",
      "max": "1",
      "min": 1,
      "path": "App.migrations.id",
      "type": [ {
        "code": "string"
      } ],
      "short": "Unique identifier for the migration."
    }, {
      "id": "App.migrations.dateTime",
      "max": "1",
      "min": 1,
      "path": "App.migrations.dateTime",
      "type": [ {
        "code": "string"
      } ],
      "short": "Timestamp for the migration."
    }, {
      "id": "App.migrations.action",
      "max": "1",
      "min": 1,
      "path": "App.migrations.action",
      "type": [ {
        "code": "string"
      } ],
      "short": "Action to be performed for the migration."
    }, {
      "id": "App.hooks",
      "max": "1",
      "min": 0,
      "path": "App.hooks",
      "short": "Hooks configuration for the app.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    }, {
      "id": "App.subscriptions",
      "max": "1",
      "min": 0,
      "path": "App.subscriptions",
      "short": "Subscriptions configuration for the app.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    }, {
      "id": "App.entities",
      "max": "1",
      "min": 0,
      "path": "App.entities",
      "short": "Entities defined by the app.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    }, {
      "id": "App.operations",
      "max": "1",
      "min": 0,
      "path": "App.operations",
      "short": "Operations defined by the app.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}