Data Model Libraries
    Preparing search index...

    Condition Class

    A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.

    FHIR Specification

    • Short: Detailed information about conditions, problems or diagnoses
    • Definition: A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.
    • FHIR Version: 4.3.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getClinicalStatus setClinicalStatus hasClinicalStatus getVerificationStatus setVerificationStatus hasVerificationStatus getCategory setCategory addCategory hasCategory getSeverity setSeverity hasSeverity getCode setCode hasCode getBodySite setBodySite addBodySite hasBodySite getSubject setSubject hasSubject getEncounter setEncounter hasEncounter getOnset setOnset hasOnset getOnsetDateTimeType hasOnsetDateTimeType getOnsetAge hasOnsetAge getOnsetPeriod hasOnsetPeriod getOnsetRange hasOnsetRange getOnsetStringType hasOnsetStringType getAbatement setAbatement hasAbatement getAbatementDateTimeType hasAbatementDateTimeType getAbatementAge hasAbatementAge getAbatementPeriod hasAbatementPeriod getAbatementRange hasAbatementRange getAbatementStringType hasAbatementStringType getRecordedDateElement setRecordedDateElement hasRecordedDateElement getRecordedDate setRecordedDate hasRecordedDate getRecorder setRecorder hasRecorder getAsserter setAsserter hasAsserter getStage setStage addStage hasStage getEvidence setEvidence addEvidence hasEvidence getNote setNote addNote hasNote 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 initBodySite initStage initEvidence initNote

    Constructors

    Properties

    identifier?: Identifier[]

    Condition.identifier Element

    FHIR Specification

    • Short: External Ids for this condition
    • Definition: Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
    • Comment: This is a business identifier, not a resource identifier (see discussion). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.
    • Requirements: Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    clinicalStatus?: CodeableConcept

    Condition.clinicalStatus Element

    FHIR Specification

    • Short: active | recurrence | relapse | inactive | remission | resolved
    • Definition: The clinical status of the condition.
    • Comment: The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: true
    • isModifierReason: This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.
    • isSummary: true
    verificationStatus?: CodeableConcept

    Condition.verificationStatus Element

    FHIR Specification

    • Short: unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
    • Definition: The verification status to support the clinical status of the condition.
    • Comment: verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status. The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: true
    • isModifierReason: This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.
    • isSummary: true
    category?: CodeableConcept[]

    Condition.category Element

    FHIR Specification

    • Short: problem-list-item | encounter-diagnosis
    • Definition: A category assigned to the condition.
    • Comment: The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    severity?: CodeableConcept

    Condition.severity Element

    FHIR Specification

    • Short: Subjective severity of condition
    • Definition: A subjective assessment of the severity of the condition as evaluated by the clinician.
    • Comment: Coding of the severity with a terminology is preferred, where possible.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Condition.code Element

    FHIR Specification

    • Short: Identification of the condition, problem or diagnosis
    • Definition: Identification of the condition, problem or diagnosis.
    • Requirements: 0..1 to account for primarily narrative only resources.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    bodySite?: CodeableConcept[]

    Condition.bodySite Element

    FHIR Specification

    • Short: Anatomical location, if relevant
    • Definition: The anatomical location where this condition manifests itself.
    • Comment: Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension bodySite. May be a summary code, or a reference to a very precise definition of the location, or both.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    subject: null | Reference

    Condition.subject Element

    FHIR Specification

    encounter?: Reference

    Condition.encounter Element

    FHIR Specification

    • Short: Encounter created as part of
    • Definition: The Encounter during which this Condition was created or to which the creation of this record is tightly associated.
    • Comment: This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a "new" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first "known".
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    onset?: IDataType

    Condition.onset[x] Element

    @ChoiceDataTypesMeta('Condition.onset[x]', ['dateTime','Age','Period','Range','string',]

    FHIR Specification

    • Short: Estimated or actual date, date-time, or age
    • Definition: Estimated or actual date or date-time the condition began, in the opinion of the clinician.
    • Comment: Age is generally used when the patient reports an age at which the Condition began to occur.
    • FHIR Types: 'dateTime', 'Age', 'Period', 'Range', 'string',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    abatement?: IDataType

    Condition.abatement[x] Element

    @ChoiceDataTypesMeta('Condition.abatement[x]', ['dateTime','Age','Period','Range','string',]

    FHIR Specification

    • Short: When in resolution/remission
    • Definition: The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
    • Comment: There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.
    • FHIR Types: 'dateTime', 'Age', 'Period', 'Range', 'string',
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    recordedDate?: DateTimeType

    Condition.recordedDate Element

    FHIR Specification

    • Short: Date record was first recorded
    • Definition: The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.
    • FHIR Type: dateTime
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    recorder?: Reference

    Condition.recorder Element

    FHIR Specification

    asserter?: Reference

    Condition.asserter Element

    FHIR Specification

    Condition.stage Element

    FHIR Specification

    • Short: Stage/grade, usually assessed formally
    • Definition: Clinical stage or grade of a condition. May include formal severity assessments.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Condition.evidence Element

    FHIR Specification

    • Short: Supporting evidence
    • Definition: Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.
    • Comment: The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    note?: Annotation[]

    Condition.note Element

    FHIR Specification

    • Short: Additional information about the Condition
    • Definition: Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
    • FHIR Type: Annotation
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR Condition

      • OptionaloptSourceField: string

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

      Returns undefined | Condition

      Condition data model or undefined for Condition

      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