PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r4@0.2601.0
    http://health-samurai.io/fhir/core/StructureDefinition/AccessPolicy
description: null
package_name: io.health-samurai.core.r4
derivation: specialization
name: AccessPolicy
type: AccessPolicy
elements:
  roleName: {type: string, short: Symbolic link to Role by name., index: 6}
  description: {type: string, short: A textual description of the access policy., index: 14}
  schema: {short: JSON Schema used to validate requests against the policy., index: 2}
  rpc: {short: Defines rules for Remote Procedure Calls (RPCs)., index: 11}
  or: {short: A list of conditions where at least one must be satisfied for the policy to grant access., array: true, index: 5}
  type:
    type: string
    short: The type or category of the access policy.
    constraint:
      enum-174: {human: 'Type must be one of: scope, rest, rpc', severity: error, expression: '%context.subsetOf(''scope'' | ''rest'' | ''rpc'')'}
    index: 9
  module: {type: string, short: Module that this policy belongs to., index: 4}
  matcho: {short: Defines rules using the Matcho pattern-matching syntax., index: 0}
  sql:
    type: BackboneElement
    short: SQL-based policy definition.
    index: 12
    elements:
      query: {type: string, short: SQL query used to evaluate access conditions., index: 13}
  link:
    type: Reference
    short: References to resources associated with this policy.
    refers: ['http://health-samurai.io/fhir/core/StructureDefinition/Client', 'http://health-samurai.io/fhir/core/StructureDefinition/Operation', 'http://health-samurai.io/fhir/core/StructureDefinition/User']
    array: true
    index: 8
  and: {short: A list of conditions that must all be satisfied for the policy to grant access., array: true, index: 7}
  engine:
    type: string
    short: Specifies the evaluation engine used for the policy.
    constraint:
      enum-175: {human: 'Engine must be one of: json-schema, allow, sql, complex, matcho, clj, matcho-rpc, allow-rpc, signed-rpc, smart-on-fhir', severity: error, expression: '%context.subsetOf(''json-schema'' | ''allow'' | ''sql'' | ''complex'' | ''matcho'' | ''clj'' | ''matcho-rpc'' | ''allow-rpc'' | ''signed-rpc'' | ''smart-on-fhir'')'}
    index: 10
  _source: {type: string, short: System Property. DO NOT USE IT., index: 3}
  clj: {type: string, short: Clojure code that defines access policy rules. DEPRECATED. DO NOT USE IT., index: 1}
package_version: 0.2601.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/core/StructureDefinition/AccessPolicy
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2601.0