Data Model Libraries
    Preparing search index...

    ConsentProvisionComponent Class

    FHIR Specification

    • Short: Constraints to the base Consent.policyRule
    • Definition: An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    consentProvisionTypeEnum: ConsentProvisionTypeEnum

    FHIR CodeSystem: ConsentProvisionType

    type_?: EnumCodeType

    Consent.provision.type Element

    FHIR Specification

    • Short: deny | permit
    • Definition: Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: ConsentProvisionTypeEnum

    period?: Period

    Consent.provision.period Element

    FHIR Specification

    • Short: Timeframe for this rule
    • Definition: The timeframe in this rule is valid.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Consent.provision.actor Element

    FHIR Specification

    • Short: Who|what controlled by this rule (or group, by role)
    • Definition: Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    action?: CodeableConcept[]

    Consent.provision.action Element

    FHIR Specification

    • Short: Actions controlled by this rule
    • Definition: Actions controlled by this Rule.
    • Comment: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    securityLabel?: Coding[]

    Consent.provision.securityLabel Element

    FHIR Specification

    • Short: Security Labels that define affected resources
    • Definition: A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.
    • Comment: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
    • FHIR Type: Coding
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    purpose?: Coding[]

    Consent.provision.purpose Element

    FHIR Specification

    • Short: Context of activities covered by this rule
    • Definition: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.
    • Comment: When the purpose of use tag is on the data, access request purpose of use shall not conflict.
    • FHIR Type: Coding
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    class_?: Coding[]

    Consent.provision.class Element

    FHIR Specification

    • Short: e.g. Resource Type, Profile, CDA, etc.
    • Definition: The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.
    • Comment: Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
    • FHIR Type: Coding
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    Consent.provision.code Element

    FHIR Specification

    • Short: e.g. LOINC or SNOMED CT code, etc. in the content
    • Definition: If this code is found in an instance, then the rule applies.
    • Comment: Typical use of this is a Document code with class = CDA.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    dataPeriod?: Period

    Consent.provision.dataPeriod Element

    FHIR Specification

    • Short: Timeframe for data controlled by this rule
    • Definition: Clinical or Operational Relevant period of time that bounds the data controlled by this rule.
    • Comment: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Consent.provision.data Element

    FHIR Specification

    • Short: Data controlled by this rule
    • Definition: The resources controlled by this rule if specific resources are referenced.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    Consent.provision.provision Element

    FHIR Specification

    • Short: Nested Exception Rules
    • Definition: Rules which provide exceptions to the base rule or subrules.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided ConsentProvisionComponent JSON to instantiate the ConsentProvisionComponent data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR ConsentProvisionComponent

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to ConsentProvisionComponent

      Returns undefined | ConsentProvisionComponent

      ConsentProvisionComponent data model or undefined for ConsentProvisionComponent

      JsonError if the provided JSON is not a valid JSON object

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if and only if the data model has required fields (min cardinality > 0) and at least one of those required fields in the instance is empty; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise