Data Model Libraries
    Preparing search index...

    CatalogEntry Class

    Catalog entries are wrappers that contextualize items included in a catalog.

    FHIR Specification

    • Short: An entry in a catalog
    • Definition: Catalog entries are wrappers that contextualize items included in a catalog.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getType setType hasType getOrderableElement setOrderableElement hasOrderableElement getOrderable setOrderable hasOrderable getReferencedItem setReferencedItem hasReferencedItem getAdditionalIdentifier setAdditionalIdentifier addAdditionalIdentifier hasAdditionalIdentifier getClassification setClassification addClassification hasClassification getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getValidityPeriod setValidityPeriod hasValidityPeriod getValidToElement setValidToElement hasValidToElement getValidTo setValidTo hasValidTo getLastUpdatedElement setLastUpdatedElement hasLastUpdatedElement getLastUpdated setLastUpdated hasLastUpdated getAdditionalCharacteristic setAdditionalCharacteristic addAdditionalCharacteristic hasAdditionalCharacteristic getAdditionalClassification setAdditionalClassification addAdditionalClassification hasAdditionalClassification getRelatedEntry setRelatedEntry addRelatedEntry hasRelatedEntry 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 initAdditionalIdentifier initClassification initAdditionalCharacteristic initAdditionalClassification initRelatedEntry

    Constructors

    Properties

    identifier?: Identifier[]

    CatalogEntry.identifier Element

    FHIR Specification

    • Short: Unique identifier of the catalog item
    • Definition: Used in supporting different identifiers for the same product, e.g. manufacturer code and retailer code.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    CatalogEntry.type Element

    FHIR Specification

    • Short: The type of item - medication, device, service, protocol or other
    • Definition: The type of item - medication, device, service, protocol or other.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    orderable: null | BooleanType

    CatalogEntry.orderable Element

    FHIR Specification

    • Short: Whether the entry represents an orderable item
    • Definition: Whether the entry represents an orderable item.
    • FHIR Type: boolean
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    referencedItem: null | Reference

    CatalogEntry.referencedItem Element

    additionalIdentifier?: Identifier[]

    CatalogEntry.additionalIdentifier Element

    FHIR Specification

    • Short: Any additional identifier(s) for the catalog item, in the same granularity or concept
    • Definition: Used in supporting related concepts, e.g. NDC to RxNorm.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    classification?: CodeableConcept[]

    CatalogEntry.classification Element

    FHIR Specification

    • Short: Classification (category or class) of the item entry
    • Definition: Classes of devices, or ATC for medication.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    publicationStatusEnum: PublicationStatusEnum

    FHIR CodeSystem: PublicationStatus

    status?: EnumCodeType

    CatalogEntry.status Element

    FHIR Specification

    • Short: draft | active | retired | unknown
    • Definition: Used to support catalog exchange even for unsupported products, e.g. getting list of medications even if not prescribable.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: PublicationStatusEnum

    validityPeriod?: Period

    CatalogEntry.validityPeriod Element

    FHIR Specification

    • Short: The time period in which this catalog entry is expected to be active
    • Definition: The time period in which this catalog entry is expected to be active.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    validTo?: DateTimeType

    CatalogEntry.validTo Element

    FHIR Specification

    • Short: The date until which this catalog entry is expected to be active
    • Definition: The date until which this catalog entry is expected to be active.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    lastUpdated?: DateTimeType

    CatalogEntry.lastUpdated Element

    FHIR Specification

    • Short: When was this catalog last updated
    • Definition: Typically date of issue is different from the beginning of the validity. This can be used to see when an item was last updated.
    • Comment: Perhaps not needed - if we use fhir resource metadata.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    additionalCharacteristic?: CodeableConcept[]

    CatalogEntry.additionalCharacteristic Element

    FHIR Specification

    • Short: Additional characteristics of the catalog entry
    • Definition: Used for examplefor Out of Formulary, or any specifics.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    additionalClassification?: CodeableConcept[]

    CatalogEntry.additionalClassification Element

    FHIR Specification

    • Short: Additional classification of the catalog entry
    • Definition: User for example for ATC classification, or.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CatalogEntry.relatedEntry Element

    FHIR Specification

    • Short: An item that this catalog entry is related to
    • Definition: Used for example, to point to a substance, or to a device used to administer a medication.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR CatalogEntry

      • OptionaloptSourceField: string

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

      Returns undefined | CatalogEntry

      CatalogEntry data model or undefined for CatalogEntry

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided ReferencedItem object value to the referencedItem property.

      Parameters

      • value: undefined | null | Reference

        the referencedItem object value

      Returns this

      this

      @ReferenceTargets('CatalogEntry.referencedItem', ['Medication','Device','Organization','Practitioner','PractitionerRole','HealthcareService','ActivityDefinition','PlanDefinition','SpecimenDefinition','ObservationDefinition','Binary',])

      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