Data Model Libraries
    Preparing search index...

    ObservationDefinition Class

    Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.

    In a catalog of health-related services that use or produce observations and measurements, this resource describes the expected characteristics of these observation / measurements.

    FHIR Specification

    • Short: Definition of an observation
    • Definition: Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.
    • Comment: An instance of this resource informs the consumer of a health-related service (such as a lab diagnostic test or panel) about how the observations used or produced by this service will look like.
    • FHIR Version: 4.3.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getCategory setCategory addCategory hasCategory getCode setCode hasCode getIdentifier setIdentifier addIdentifier hasIdentifier getPermittedDataTypeEnumType setPermittedDataTypeEnumType addPermittedDataTypeEnumType hasPermittedDataTypeEnumType getPermittedDataTypeElement setPermittedDataTypeElement addPermittedDataTypeElement hasPermittedDataTypeElement getPermittedDataType setPermittedDataType addPermittedDataType hasPermittedDataType getMultipleResultsAllowedElement setMultipleResultsAllowedElement hasMultipleResultsAllowedElement getMultipleResultsAllowed setMultipleResultsAllowed hasMultipleResultsAllowed getMethod setMethod hasMethod getPreferredReportNameElement setPreferredReportNameElement hasPreferredReportNameElement getPreferredReportName setPreferredReportName hasPreferredReportName getQuantitativeDetails setQuantitativeDetails hasQuantitativeDetails getQualifiedInterval setQualifiedInterval addQualifiedInterval hasQualifiedInterval getValidCodedValueSet setValidCodedValueSet hasValidCodedValueSet getNormalCodedValueSet setNormalCodedValueSet hasNormalCodedValueSet getAbnormalCodedValueSet setAbnormalCodedValueSet hasAbnormalCodedValueSet getCriticalCodedValueSet setCriticalCodedValueSet hasCriticalCodedValueSet 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 initCategory initIdentifier initPermittedDataType initQualifiedInterval

    Constructors

    Properties

    category?: CodeableConcept[]

    ObservationDefinition.category Element

    FHIR Specification

    • Short: Category of observation
    • Definition: A code that classifies the general type of observation.
    • Comment: This element allows various categorization schemes based on the owner's definition of the category and effectively multiple categories can be used for one instance of ObservationDefinition. The level of granularity is defined by the category concepts in the value set.
    • Requirements: Used for filtering what kinds of observations are retrieved and displayed.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    code: null | CodeableConcept

    ObservationDefinition.code Element

    FHIR Specification

    • Short: Type of observation (code / type)
    • Definition: Describes what will be observed. Sometimes this is called the observation "name".
    • Requirements: Knowing what kind of observation is being made is essential to understanding the observation.
    • FHIR Type: CodeableConcept
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    identifier?: Identifier[]

    ObservationDefinition.identifier Element

    FHIR Specification

    • Short: Business identifier for this ObservationDefinition instance
    • Definition: A unique identifier assigned to this ObservationDefinition artifact.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    permittedDataTypeEnum: PermittedDataTypeEnum

    FHIR CodeSystem: PermittedDataType

    permittedDataType?: EnumCodeType[]

    ObservationDefinition.permittedDataType Element

    FHIR Specification

    • Short: Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period
    • Definition: The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: PermittedDataTypeEnum

    multipleResultsAllowed?: BooleanType

    ObservationDefinition.multipleResultsAllowed Element

    FHIR Specification

    • Short: Multiple results allowed
    • Definition: Multiple results allowed for observations conforming to this ObservationDefinition.
    • Comment: An example of observation allowing multiple results is "bacteria identified by culture". Conversely, the measurement of a potassium level allows a single result.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    ObservationDefinition.method Element

    FHIR Specification

    • Short: Method used to produce the observation
    • Definition: The method or technique used to perform the observation.
    • Comment: Only used if not implicit in observation code.
    • Requirements: In some cases, method can impact results.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    preferredReportName?: StringType

    ObservationDefinition.preferredReportName Element

    FHIR Specification

    • Short: Preferred report name
    • Definition: The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    ObservationDefinition.quantitativeDetails Element

    FHIR Specification

    • Short: Characteristics of quantitative results
    • Definition: Characteristics for quantitative results of this observation.
    • FHIR Type: BackboneElement
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    ObservationDefinition.qualifiedInterval Element

    FHIR Specification

    • Short: Qualified range for continuous and ordinal observation results
    • Definition: Multiple ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    validCodedValueSet?: Reference

    ObservationDefinition.validCodedValueSet Element

    FHIR Specification

    • Short: Value set of valid coded values for the observations conforming to this ObservationDefinition
    • Definition: The set of valid coded results for the observations conforming to this ObservationDefinition.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    normalCodedValueSet?: Reference

    ObservationDefinition.normalCodedValueSet Element

    FHIR Specification

    • Short: Value set of normal coded values for the observations conforming to this ObservationDefinition
    • Definition: The set of normal coded results for the observations conforming to this ObservationDefinition.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    abnormalCodedValueSet?: Reference

    ObservationDefinition.abnormalCodedValueSet Element

    FHIR Specification

    • Short: Value set of abnormal coded values for the observations conforming to this ObservationDefinition
    • Definition: The set of abnormal coded results for the observation conforming to this ObservationDefinition.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    criticalCodedValueSet?: Reference

    ObservationDefinition.criticalCodedValueSet Element

    FHIR Specification

    • Short: Value set of critical coded values for the observations conforming to this ObservationDefinition
    • Definition: The set of critical coded results for the observation conforming to this ObservationDefinition.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR ObservationDefinition

      • OptionaloptSourceField: string

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

      Returns undefined | ObservationDefinition

      ObservationDefinition data model or undefined for ObservationDefinition

      JsonError if the provided JSON is not a valid JSON object

    • 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