Data Model Libraries
    Preparing search index...

    PractitionerRole Class

    A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.

    Need to track services that a healthcare provider is able to provide at an organization's location, and the services that they can perform there.

    FHIR Specification

    • Short: Roles/organizations the practitioner is associated with
    • Definition: A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getActiveElement setActiveElement hasActiveElement getActive setActive hasActive getPeriod setPeriod hasPeriod getPractitioner setPractitioner hasPractitioner getOrganization setOrganization hasOrganization getCode setCode addCode hasCode getSpecialty setSpecialty addSpecialty hasSpecialty getLocation setLocation addLocation hasLocation getHealthcareService setHealthcareService addHealthcareService hasHealthcareService getTelecom setTelecom addTelecom hasTelecom getAvailableTime setAvailableTime addAvailableTime hasAvailableTime getNotAvailable setNotAvailable addNotAvailable hasNotAvailable getAvailabilityExceptionsElement setAvailabilityExceptionsElement hasAvailabilityExceptionsElement getAvailabilityExceptions setAvailabilityExceptions hasAvailabilityExceptions getEndpoint setEndpoint addEndpoint hasEndpoint fhirType isEmpty copy toJSON getText setText hasText getContained setContained addContained hasContained getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension resourceType getIdElement setIdElement hasIdElement getId setId hasId getMeta setMeta hasMeta getImplicitRulesElement setImplicitRulesElement hasImplicitRulesElement getImplicitRules setImplicitRules hasImplicitRules getLanguageElement setLanguageElement hasLanguageElement getLanguage setLanguage hasLanguage isResource isRequiredFieldsEmpty isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initIdentifier initCode initSpecialty initLocation initHealthcareService initTelecom initAvailableTime initNotAvailable initEndpoint

    Constructors

    Properties

    identifier?: Identifier[]

    PractitionerRole.identifier Element

    FHIR Specification

    • Short: Business Identifiers that are specific to a role/location
    • Definition: Business Identifiers that are specific to a role/location.
    • Requirements: Often, specific identities are assigned for the agent.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    active?: BooleanType

    PractitionerRole.active Element

    FHIR Specification

    • Short: Whether this practitioner role record is in active use
    • Definition: Whether this practitioner role record is in active use.
    • Comment: If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.
    • Requirements: Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    period?: Period

    PractitionerRole.period Element

    FHIR Specification

    • Short: The period during which the practitioner is authorized to perform in these role(s)
    • Definition: The period during which the person is authorized to act as a practitioner in these role(s) for the organization.
    • Requirements: Even after the agencies is revoked, the fact that it existed must still be recorded.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    practitioner?: Reference

    PractitionerRole.practitioner Element

    FHIR Specification

    • Short: Practitioner that is able to provide the defined services for the organization
    • Definition: Practitioner that is able to provide the defined services for the organization.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    organization?: Reference

    PractitionerRole.organization Element

    FHIR Specification

    • Short: Organization where the roles are available
    • Definition: The organization where the Practitioner performs the roles associated.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    PractitionerRole.code Element

    FHIR Specification

    • Short: Roles which this practitioner may perform
    • Definition: Roles which this practitioner is authorized to perform for the organization.
    • Comment: A person may have more than one role.
    • Requirements: Need to know what authority the practitioner has - what can they do?
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    specialty?: CodeableConcept[]

    PractitionerRole.specialty Element

    FHIR Specification

    • Short: Specific specialty of the practitioner
    • Definition: Specific specialty of the practitioner.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    location?: Reference[]

    PractitionerRole.location Element

    FHIR Specification

    • Short: The location(s) at which this practitioner provides care
    • Definition: The location(s) at which this practitioner provides care.
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    healthcareService?: Reference[]

    PractitionerRole.healthcareService Element

    FHIR Specification

    • Short: The list of healthcare services that this worker provides for this role's Organization/Location(s)
    • Definition: The list of healthcare services that this worker provides for this role's Organization/Location(s).
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    telecom?: ContactPoint[]

    PractitionerRole.telecom Element

    FHIR Specification

    • Short: Contact details that are specific to the role/location/service
    • Definition: Contact details that are specific to the role/location/service.
    • Requirements: Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.
    • FHIR Type: ContactPoint
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    PractitionerRole.availableTime Element

    FHIR Specification

    • Short: Times the Service Site is available
    • Definition: A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.
    • Comment: More detailed availability information may be provided in associated Schedule/Slot resources.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    PractitionerRole.notAvailable Element

    FHIR Specification

    • Short: Not available during this time due to provided reason
    • Definition: The practitioner is not available or performing this role during this period of time due to the provided reason.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    availabilityExceptions?: StringType

    PractitionerRole.availabilityExceptions Element

    FHIR Specification

    • Short: Description of availability exceptions
    • Definition: A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    endpoint?: Reference[]

    PractitionerRole.endpoint Element

    FHIR Specification

    • Short: Technical endpoints providing access to services operated for the practitioner with this role
    • Definition: Technical endpoints providing access to services operated for the practitioner with this role.
    • Requirements: Organizations have multiple systems that provide various services and ,ay also be different for practitioners too. So the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR PractitionerRole

      • OptionaloptSourceField: string

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

      Returns undefined | PractitionerRole

      PractitionerRole data model or undefined for PractitionerRole

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided value to the text property.

      Parameters

      Returns this

      this

    • Returns boolean

      true if the text property exists and has a value; false otherwise

    • Assigns the provided Resource array value to the contained property.

      Parameters

      • value: undefined | IResource[]

        the contained array value

      Returns this

      this

    • Returns boolean

      true if the contained property exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • 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

    • 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

    • 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

      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

    • Assigns the provided PrimitiveType value to the id property.

      Parameters

      • element: undefined | IdType

        the id value

      Returns this

      this

    • Returns undefined | string

      the id property value as a primitive value

    • Assigns the provided primitive value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the id property exists and has a value; false otherwise

    • Assigns the provided value to the meta property.

      Parameters

      • value: undefined | Meta

        the meta value

      Returns this

      this

    • Returns boolean

      true if the meta property exists and has a value; false otherwise

    • Assigns the provided primitive value to the implicitRules property.

      Parameters

      • value: undefined | string

        the implicitRules value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns undefined | string

      the language property value as a primitive value

    • Assigns the provided primitive value to the language property.

      Parameters

      • value: undefined | string

        the language value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the language property exists and has a value; false otherwise

    • 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