Data Model Libraries
    Preparing search index...

    MedicinalProductPackaged Class

    A medicinal product in a container or package.

    FHIR Specification

    • Short: A medicinal product in a container or package
    • Definition: A medicinal product in a container or package.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getSubject setSubject addSubject hasSubject getDescriptionElement setDescriptionElement hasDescriptionElement getDescription setDescription hasDescription getLegalStatusOfSupply setLegalStatusOfSupply hasLegalStatusOfSupply getMarketingStatus setMarketingStatus addMarketingStatus hasMarketingStatus getMarketingAuthorization setMarketingAuthorization hasMarketingAuthorization getManufacturer setManufacturer addManufacturer hasManufacturer getBatchIdentifier setBatchIdentifier addBatchIdentifier hasBatchIdentifier getPackageItem setPackageItem addPackageItem hasPackageItem 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 initSubject initMarketingStatus initManufacturer initBatchIdentifier initPackageItem

    Constructors

    Properties

    identifier?: Identifier[]

    MedicinalProductPackaged.identifier Element

    FHIR Specification

    • Short: Unique identifier
    • Definition: Unique identifier.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    subject?: Reference[]

    MedicinalProductPackaged.subject Element

    FHIR Specification

    description?: StringType

    MedicinalProductPackaged.description Element

    FHIR Specification

    • Short: Textual description
    • Definition: Textual description.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    legalStatusOfSupply?: CodeableConcept

    MedicinalProductPackaged.legalStatusOfSupply Element

    FHIR Specification

    • Short: The legal status of supply of the medicinal product as classified by the regulator
    • Definition: The legal status of supply of the medicinal product as classified by the regulator.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    marketingStatus?: MarketingStatus[]

    MedicinalProductPackaged.marketingStatus Element

    FHIR Specification

    • Short: Marketing information
    • Definition: Marketing information.
    • FHIR Type: MarketingStatus
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    marketingAuthorization?: Reference

    MedicinalProductPackaged.marketingAuthorization Element

    FHIR Specification

    manufacturer?: Reference[]

    MedicinalProductPackaged.manufacturer Element

    FHIR Specification

    MedicinalProductPackaged.batchIdentifier Element

    FHIR Specification

    • Short: Batch numbering
    • Definition: Batch numbering.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    MedicinalProductPackaged.packageItem Element

    FHIR Specification

    • Short: A packaging item, as a contained for medicine, possibly with other packaging items within
    • Definition: A packaging item, as a contained for medicine, possibly with other packaging items within.
    • FHIR Type: BackboneElement
    • Cardinality: 1..*
    • isModifier: false
    • isSummary: true

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR MedicinalProductPackaged

      • OptionaloptSourceField: string

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

      Returns undefined | MedicinalProductPackaged

      MedicinalProductPackaged data model or undefined for MedicinalProductPackaged

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided MarketingAuthorization object value to the marketingAuthorization property.

      Parameters

      • value: undefined | Reference

        the marketingAuthorization object value

      Returns this

      this

      @ReferenceTargets('MedicinalProductPackaged.marketingAuthorization', ['MedicinalProductAuthorization',])

      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