Data Model Libraries
    Preparing search index...

    InventoryItem Class

    functional description of an inventory item used in inventory and supply-related workflows.

    FHIR Specification

    • Short: A functional description of an inventory item used in inventory and supply-related workflows
    • Definition: A functional description of an inventory item used in inventory and supply-related workflows.
    • FHIR Version: 5.0.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getCategory setCategory addCategory hasCategory getCode setCode addCode hasCode getName setName addName hasName getResponsibleOrganization setResponsibleOrganization addResponsibleOrganization hasResponsibleOrganization getDescription setDescription hasDescription getInventoryStatus setInventoryStatus addInventoryStatus hasInventoryStatus getBaseUnit setBaseUnit hasBaseUnit getNetContent setNetContent hasNetContent getAssociation setAssociation addAssociation hasAssociation getCharacteristic setCharacteristic addCharacteristic hasCharacteristic getInstance setInstance hasInstance getProductReference setProductReference hasProductReference 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 initCategory initCode initName initResponsibleOrganization initInventoryStatus initAssociation initCharacteristic

    Constructors

    Properties

    identifier?: Identifier[]

    InventoryItem.identifier Element

    FHIR Specification

    • Short: Business identifier for the inventory item
    • Definition: Business identifier for the inventory item.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    inventoryitemStatusEnum: InventoryitemStatusEnum

    FHIR CodeSystem: InventoryitemStatus

    status: null | EnumCodeType

    InventoryItem.status Element

    FHIR Specification

    • Short: active | inactive | entered-in-error | unknown
    • Definition: Status of the item entry.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: InventoryitemStatusEnum

    category?: CodeableConcept[]

    InventoryItem.category Element

    FHIR Specification

    • Short: Category or class of the item
    • Definition: Category or class of the item.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    InventoryItem.code Element

    FHIR Specification

    • Short: Code designating the specific type of item
    • Definition: Code designating the specific type of item.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    FHIR Specification

    • Short: The item name(s) - the brand name, or common name, functional name, generic name or others
    • Definition: The item name(s) - the brand name, or common name, functional name, generic name.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    InventoryItem.responsibleOrganization Element

    FHIR Specification

    • Short: Organization(s) responsible for the product
    • Definition: Organization(s) responsible for the product.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    InventoryItem.description Element

    FHIR Specification

    • Short: Descriptive characteristics of the item
    • Definition: The descriptive characteristics of the inventory item.
    • FHIR Type: BackboneElement
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    inventoryStatus?: CodeableConcept[]

    InventoryItem.inventoryStatus Element

    FHIR Specification

    • Short: The usage status like recalled, in use, discarded
    • Definition: The usage status e.g. recalled, in use, discarded... This can be used to indicate that the items have been taken out of inventory, or are in use, etc.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    baseUnit?: CodeableConcept

    InventoryItem.baseUnit Element

    FHIR Specification

    • Short: The base unit of measure - the unit in which the product is used or counted
    • Definition: The base unit of measure - the unit in which the product is used or counted.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    netContent?: Quantity

    InventoryItem.netContent Element

    FHIR Specification

    • Short: Net content or amount present in the item
    • Definition: Net content or amount present in the item.
    • FHIR Type: Quantity
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    InventoryItem.association Element

    FHIR Specification

    • Short: Association with other items or products
    • Definition: Association with other items or products.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    InventoryItem.characteristic Element

    FHIR Specification

    • Short: Characteristic of the item
    • Definition: The descriptive or identifying characteristics of the item.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    InventoryItem.instance Element

    FHIR Specification

    • Short: Instances or occurrences of the product
    • Definition: Instances or occurrences of the product.
    • FHIR Type: BackboneElement
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    productReference?: Reference

    InventoryItem.productReference Element

    FHIR Specification

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR InventoryItem

      • OptionaloptSourceField: string

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

      Returns undefined | InventoryItem

      InventoryItem data model or undefined for InventoryItem

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided ProductReference object value to the productReference property.

      Parameters

      • value: undefined | Reference

        the productReference object value

      Returns this

      this

      @ReferenceTargets('InventoryItem.productReference', ['Medication','Device','NutritionProduct','BiologicallyDerivedProduct',])

      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