Data Model Libraries
    Preparing search index...

    DeviceDispense Class

    Indicates that a device is to be or has been dispensed for a named person/patient. This includes a description of the product (supply) provided and the instructions for using the device.

    FHIR Specification

    • Short: A record of dispensation of a device
    • Definition: A record of dispensation of a device - i.e., assigning a device to a patient, or to a professional for their use.
    • FHIR Version: 5.0.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getBasedOn setBasedOn addBasedOn hasBasedOn getPartOf setPartOf addPartOf hasPartOf getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getStatusReason setStatusReason hasStatusReason getCategory setCategory addCategory hasCategory getDevice setDevice hasDevice getSubject setSubject hasSubject getReceiver setReceiver hasReceiver getEncounter setEncounter hasEncounter getSupportingInformation setSupportingInformation addSupportingInformation hasSupportingInformation getPerformer setPerformer addPerformer hasPerformer getLocation setLocation hasLocation getType setType hasType getQuantity setQuantity hasQuantity getPreparedDateElement setPreparedDateElement hasPreparedDateElement getPreparedDate setPreparedDate hasPreparedDate getWhenHandedOverElement setWhenHandedOverElement hasWhenHandedOverElement getWhenHandedOver setWhenHandedOver hasWhenHandedOver getDestination setDestination hasDestination getNote setNote addNote hasNote getUsageInstructionElement setUsageInstructionElement hasUsageInstructionElement getUsageInstruction setUsageInstruction hasUsageInstruction getEventHistory setEventHistory addEventHistory hasEventHistory fhirType isEmpty isRequiredFieldsEmpty 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 isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initIdentifier initBasedOn initPartOf initCategory initSupportingInformation initPerformer initNote initEventHistory

    Constructors

    Properties

    identifier?: Identifier[]

    DeviceDispense.identifier Element

    FHIR Specification

    • Short: Business identifier for this dispensation
    • Definition: Business identifier for this dispensation.
    • Comment: This is a business identifier, not a resource identifier.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    basedOn?: Reference[]

    DeviceDispense.basedOn Element

    FHIR Specification

    partOf?: Reference[]

    DeviceDispense.partOf Element

    FHIR Specification

    • Short: The bigger event that this dispense is a part of
    • Definition: The bigger event that this dispense is a part of.
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    devicedispenseStatusEnum: DevicedispenseStatusEnum

    FHIR CodeSystem: DevicedispenseStatus

    status: null | EnumCodeType

    DeviceDispense.status Element

    FHIR Specification

    • Short: preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown
    • Definition: A code specifying the state of the set of dispense events.
    • Comment: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: true
    • isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    • isSummary: true

    CodeSystem Enumeration: DevicedispenseStatusEnum

    statusReason?: CodeableReference

    DeviceDispense.statusReason Element

    FHIR Specification

    • Short: Why a dispense was or was not performed
    • Definition: Indicates the reason why a dispense was or was not performed.
    • FHIR Type: CodeableReference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    category?: CodeableConcept[]

    DeviceDispense.category Element

    FHIR Specification

    • Short: Type of device dispense
    • Definition: Indicates the type of device dispense.
    • Comment: The category can be used to include where the device is expected to be consumed or other types of dispenses. Invariants can be used to bind to different value sets when profiling to bind.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    device: null | CodeableReference

    DeviceDispense.device Element

    FHIR Specification

    subject: null | Reference

    DeviceDispense.subject Element

    FHIR Specification

    receiver?: Reference

    DeviceDispense.receiver Element

    FHIR Specification

    encounter?: Reference

    DeviceDispense.encounter Element

    FHIR Specification

    • Short: Encounter associated with event
    • Definition: The encounter that establishes the context for this event.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    supportingInformation?: Reference[]

    DeviceDispense.supportingInformation Element

    FHIR Specification

    • Short: Information that supports the dispensing of the device
    • Definition: Additional information that supports the device being dispensed.
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    DeviceDispense.performer Element

    FHIR Specification

    • Short: Who performed event
    • Definition: Indicates who or what performed the event.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    location?: Reference

    DeviceDispense.location Element

    FHIR Specification

    • Short: Where the dispense occurred
    • Definition: The principal physical location where the dispense was performed.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    DeviceDispense.type Element

    FHIR Specification

    • Short: Trial fill, partial fill, emergency fill, etc
    • Definition: Indicates the type of dispensing event that is performed.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    quantity?: Quantity

    DeviceDispense.quantity Element

    FHIR Specification

    • Short: Amount dispensed
    • Definition: The number of devices that have been dispensed.
    • FHIR Type: Quantity
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    preparedDate?: DateTimeType

    DeviceDispense.preparedDate Element

    FHIR Specification

    • Short: When product was packaged and reviewed
    • Definition: The time when the dispensed product was packaged and reviewed.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    whenHandedOver?: DateTimeType

    DeviceDispense.whenHandedOver Element

    FHIR Specification

    • Short: When product was given out
    • Definition: The time the dispensed product was made available to the patient or their representative.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    destination?: Reference

    DeviceDispense.destination Element

    FHIR Specification

    • Short: Where the device was sent or should be sent
    • Definition: Identification of the facility/location where the device was /should be shipped to, as part of the dispense process.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    note?: Annotation[]

    DeviceDispense.note Element

    FHIR Specification

    • Short: Information about the dispense
    • Definition: Extra information about the dispense that could not be conveyed in the other attributes.
    • FHIR Type: Annotation
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    usageInstruction?: MarkdownType

    DeviceDispense.usageInstruction Element

    FHIR Specification

    • Short: Full representation of the usage instructions
    • Definition: The full representation of the instructions.
    • Comment: The content of the renderedDosageInstructions must not be different than the dose represented in the dosageInstruction content.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    eventHistory?: Reference[]

    DeviceDispense.eventHistory Element

    FHIR Specification

    • Short: A list of relevant lifecycle events
    • Definition: A summary of the events of interest that have occurred, such as when the dispense was verified.
    • Comment: This might not include provenances for all versions of the request - only those deemed "relevant" or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a "relevant" change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR DeviceDispense

      • OptionaloptSourceField: string

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

      Returns undefined | DeviceDispense

      DeviceDispense data model or undefined for DeviceDispense

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