Data Model Libraries
    Preparing search index...

    ProvenanceAgentComponent Class

    FHIR Specification

    • Short: Actor involved
    • Definition: An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.
    • Comment: Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.
    • Requirements: An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Provenance.agent.type Element

    FHIR Specification

    • Short: How the agent participated
    • Definition: The participation the agent had with respect to the activity.
    • Comment: For example: author, performer, enterer, attester, etc.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Provenance.agent.role Element

    FHIR Specification

    • Short: What the agents role was
    • Definition: The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.
    • Comment: For example: doctor, nurse, clerk, etc.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    who: null | Reference

    Provenance.agent.who Element

    FHIR Specification

    onBehalfOf?: Reference

    Provenance.agent.onBehalfOf Element

    FHIR Specification

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR ProvenanceAgentComponent

      • OptionaloptSourceField: string

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

      Returns undefined | ProvenanceAgentComponent

      ProvenanceAgentComponent data model or undefined for ProvenanceAgentComponent

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided Who object value to the who property.

      Parameters

      • value: undefined | null | Reference

        the who object value

      Returns this

      this

      @ReferenceTargets('Provenance.agent.who', ['Practitioner','PractitionerRole','RelatedPerson','Patient','Device','Organization',])

      InvalidTypeError for invalid data type or reference value

    • Assigns the provided OnBehalfOf object value to the onBehalfOf property.

      Parameters

      • value: undefined | Reference

        the onBehalfOf object value

      Returns this

      this

      @ReferenceTargets('Provenance.agent.onBehalfOf', ['Practitioner','PractitionerRole','RelatedPerson','Patient','Device','Organization',])

      InvalidTypeError for invalid data type or reference value

    • 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 the instance is a FHIR complex or primitive datatype; false otherwise