Data Model Libraries
    Preparing search index...

    DeviceUseStatement Class

    A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.

    FHIR Specification

    • Short: Record of use of a device
    • Definition: A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getBasedOn setBasedOn addBasedOn hasBasedOn getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getSubject setSubject hasSubject getDerivedFrom setDerivedFrom addDerivedFrom hasDerivedFrom getTiming setTiming hasTiming getTimingTiming hasTimingTiming getTimingPeriod hasTimingPeriod getTimingDateTimeType hasTimingDateTimeType getRecordedOnElement setRecordedOnElement hasRecordedOnElement getRecordedOn setRecordedOn hasRecordedOn getSource setSource hasSource getDevice setDevice hasDevice getReasonCode setReasonCode addReasonCode hasReasonCode getReasonReference setReasonReference addReasonReference hasReasonReference getBodySite setBodySite hasBodySite getNote setNote addNote hasNote 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 initDerivedFrom initReasonCode initReasonReference initNote

    Constructors

    Properties

    identifier?: Identifier[]

    DeviceUseStatement.identifier Element

    FHIR Specification

    • Short: External identifier for this record
    • Definition: An external identifier for this statement such as an IRI.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    basedOn?: Reference[]

    DeviceUseStatement.basedOn Element

    FHIR Specification

    • Short: Fulfills plan, proposal or order
    • Definition: A plan, proposal or order that is fulfilled in whole or in part by this DeviceUseStatement.
    • Requirements: Allows tracing of authorization for the DeviceUseStatement and tracking whether proposals/recommendations were acted upon.
    • FHIR Type: Reference
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    deviceStatementStatusEnum: DeviceStatementStatusEnum

    FHIR CodeSystem: DeviceStatementStatus

    status: null | EnumCodeType

    DeviceUseStatement.status Element

    FHIR Specification

    • Short: active | completed | entered-in-error +
    • Definition: A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
    • Comment: DeviceUseStatment is a statement at a point in time. The status is only representative at the point when it was asserted. The value set for contains codes that assert the status of the use by the patient (for example, stopped or on hold) as well as codes that assert the status of the resource itself (for example, entered in error). This element is labeled as a modifier because the status contains the codes that mark the statement 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: DeviceStatementStatusEnum

    subject: null | Reference

    DeviceUseStatement.subject Element

    FHIR Specification

    derivedFrom?: Reference[]

    DeviceUseStatement.derivedFrom Element

    FHIR Specification

    timing?: IDataType

    DeviceUseStatement.timing[x] Element

    @ChoiceDataTypesMeta('DeviceUseStatement.timing[x]', ['Timing','Period','dateTime',]

    FHIR Specification

    • Short: How often the device was used
    • Definition: How often the device was used.
    • FHIR Types: 'Timing', 'Period', 'dateTime',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    recordedOn?: DateTimeType

    DeviceUseStatement.recordedOn Element

    FHIR Specification

    • Short: When statement was recorded
    • Definition: The time at which the statement was made/recorded.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    source?: Reference

    DeviceUseStatement.source Element

    FHIR Specification

    device: null | Reference

    DeviceUseStatement.device Element

    FHIR Specification

    reasonCode?: CodeableConcept[]

    DeviceUseStatement.reasonCode Element

    FHIR Specification

    • Short: Why device was used
    • Definition: Reason or justification for the use of the device.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    reasonReference?: Reference[]

    DeviceUseStatement.reasonReference Element

    FHIR Specification

    bodySite?: CodeableConcept

    DeviceUseStatement.bodySite Element

    FHIR Specification

    • Short: Target body site
    • Definition: Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).
    • Requirements: Knowing where the device is targeted is important for tracking if multiple sites are possible. If more information than just a code is required, use the extension http://hl7.org/fhir/StructureDefinition/bodySite.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    note?: Annotation[]

    DeviceUseStatement.note Element

    FHIR Specification

    • Short: Addition details (comments, instructions)
    • Definition: Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
    • FHIR Type: Annotation
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR DeviceUseStatement

      • OptionaloptSourceField: string

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

      Returns undefined | DeviceUseStatement

      DeviceUseStatement data model or undefined for DeviceUseStatement

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided Reference array value to the derivedFrom property.

      Parameters

      • value: undefined | Reference[]

        the derivedFrom array value

      Returns this

      this

      @ReferenceTargets('DeviceUseStatement.derivedFrom', ['ServiceRequest','Procedure','Claim','Observation','QuestionnaireResponse','DocumentReference',])

      InvalidTypeError for invalid data type or reference value

    • Add the provided Reference value to the derivedFrom array property.

      Parameters

      • value: undefined | Reference

        the derivedFrom value

      Returns this

      this

      @ReferenceTargets('DeviceUseStatement.derivedFrom', ['ServiceRequest','Procedure','Claim','Observation','QuestionnaireResponse','DocumentReference',])

      InvalidTypeError for invalid data type or reference value

    • Assigns the provided Reference array value to the reasonReference property.

      Parameters

      • value: undefined | Reference[]

        the reasonReference array value

      Returns this

      this

      @ReferenceTargets('DeviceUseStatement.reasonReference', ['Condition','Observation','DiagnosticReport','DocumentReference','Media',])

      InvalidTypeError for invalid data type or reference value

    • Add the provided Reference value to the reasonReference array property.

      Parameters

      • value: undefined | Reference

        the reasonReference value

      Returns this

      this

      @ReferenceTargets('DeviceUseStatement.reasonReference', ['Condition','Observation','DiagnosticReport','DocumentReference','Media',])

      InvalidTypeError for invalid data type or reference value

    • 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