Data Model Libraries
    Preparing search index...

    EncounterAdmissionComponent Class

    FHIR Specification

    • Short: Details about the admission to a healthcare service
    • Definition: Details about the stay during which a healthcare service is provided. This does not describe the event of admitting the patient, but rather any information that is relevant from the time of admittance until the time of discharge.
    • Comment: An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included. The duration recorded in the period of this encounter covers the entire scope of this admission record.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    preAdmissionIdentifier?: Identifier

    Encounter.admission.preAdmissionIdentifier Element

    FHIR Specification

    • Short: Pre-admission identifier
    • Definition: Pre-admission identifier.
    • FHIR Type: Identifier
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    origin?: Reference

    Encounter.admission.origin Element

    FHIR Specification

    admitSource?: CodeableConcept

    Encounter.admission.admitSource Element

    FHIR Specification

    • Short: From where patient was admitted (physician referral, transfer)
    • Definition: From where patient was admitted (physician referral, transfer).
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    reAdmission?: CodeableConcept

    Encounter.admission.reAdmission Element

    FHIR Specification

    • Short: Indicates that the patient is being re-admitted
    • Definition: Indicates that this encounter is directly related to a prior admission, often because the conditions addressed in the prior admission were not fully addressed.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    destination?: Reference

    Encounter.admission.destination Element

    FHIR Specification

    dischargeDisposition?: CodeableConcept

    Encounter.admission.dischargeDisposition Element

    FHIR Specification

    • Short: Category or kind of location after discharge
    • Definition: Category or kind of location after discharge.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR EncounterAdmissionComponent

      • OptionaloptSourceField: string

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

      Returns undefined | EncounterAdmissionComponent

      EncounterAdmissionComponent data model or undefined for EncounterAdmissionComponent

      JsonError if the provided JSON is not a valid JSON object

    • 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; 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 modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • 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

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having 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 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

    • Returns boolean

      true if and only if the data model has required fields (min cardinality > 0) and at least one of those required fields in the instance is empty; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise