Data Model Libraries
    Preparing search index...

    Class DeviceDefinitionCorrectiveActionComponent

    DeviceDefinitionCorrectiveActionComponent Class

    FHIR Specification

    • Short: Tracking of latest field safety corrective action
    • Definition: Tracking of latest field safety corrective action.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    recall: null | BooleanType

    DeviceDefinition.correctiveAction.recall Element

    FHIR Specification

    • Short: Whether the corrective action was a recall
    • Definition: Whether the last corrective action known for this device was a recall.
    • Comment: When a field safety action has been initiated but not yet resulted in a recall, this element will be set to 'false'.
    • FHIR Type: boolean
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    deviceCorrectiveactionscopeEnum: DeviceCorrectiveactionscopeEnum

    FHIR CodeSystem: DeviceCorrectiveactionscope

    scope?: EnumCodeType

    DeviceDefinition.correctiveAction.scope Element

    FHIR Specification

    • Short: model | lot-numbers | serial-numbers
    • Definition: The scope of the corrective action - whether the action targeted all units of a given device model, or only a specific set of batches identified by lot numbers, or individually identified devices identified by the serial name.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: DeviceCorrectiveactionscopeEnum

    period: null | Period

    DeviceDefinition.correctiveAction.period Element

    FHIR Specification

    • Short: Start and end dates of the corrective action
    • Definition: Start and end dates of the corrective action.
    • FHIR Type: Period
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR DeviceDefinitionCorrectiveActionComponent

      • OptionaloptSourceField: string

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

      Returns undefined | DeviceDefinitionCorrectiveActionComponent

      DeviceDefinitionCorrectiveActionComponent data model or undefined for DeviceDefinitionCorrectiveActionComponent

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