Class CommunicationStatus

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class CommunicationStatus
    extends Code
    • Field Detail

      • PREPARATION

        public static final CommunicationStatus PREPARATION
        Preparation

        The core event has not started yet, but some staging activities have begun (e.g. surgical suite preparation). Preparation stages may be tracked for billing purposes.

      • IN_PROGRESS

        public static final CommunicationStatus IN_PROGRESS
        In Progress

        The event is currently occurring.

      • NOT_DONE

        public static final CommunicationStatus NOT_DONE
        Not Done

        The event was terminated prior to any activity beyond preparation. I.e. The 'main' activity has not yet begun. The boundary between preparatory and the 'main' activity is context-specific.

      • ON_HOLD

        public static final CommunicationStatus ON_HOLD
        On Hold

        The event has been temporarily stopped but is expected to resume in the future.

      • STOPPED

        public static final CommunicationStatus STOPPED
        Stopped

        The event was terminated prior to the full completion of the intended activity but after at least some of the 'main' activity (beyond preparation) has occurred.

      • COMPLETED

        public static final CommunicationStatus COMPLETED
        Completed

        The event has now concluded.

      • ENTERED_IN_ERROR

        public static final CommunicationStatus ENTERED_IN_ERROR
        Entered in Error

        This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "stopped" rather than "entered-in-error".).

      • UNKNOWN

        public static final CommunicationStatus UNKNOWN
        Unknown

        The authoring/source system does not know which of the status values currently applies for this event. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.

    • Method Detail

      • of

        public static CommunicationStatus of​(String value)
        Factory method for creating CommunicationStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating CommunicationStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating CommunicationStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code