from __future__ import annotations

from spark_auto_mapper_fhir.fhir_types.uri import FhirUri

from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode
from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType


# This file is auto-generated by generate_classes so do not edit manually
# noinspection PyPep8Naming
class EventStatusCode(GenericTypeCode):
    """
    EventStatus
    From: http://hl7.org/fhir/event-status in valuesets.xml
        Codes identifying the lifecycle stage of an event.
    """

    def __init__(self, value: AutoMapperTextInputType):
        super().__init__(value=value)

    """
    http://hl7.org/fhir/event-status
    """
    codeset: FhirUri = "http://hl7.org/fhir/event-status"


class EventStatusCodeValues:
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """

    Preparation = EventStatusCode("preparation")
    """
    The event is currently occurring.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    InProgress = EventStatusCode("in-progress")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    NotDone = EventStatusCode("not-done")
    """
    The event has been temporarily stopped but is expected to resume in the
    future.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    OnHold = EventStatusCode("on-hold")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Stopped = EventStatusCode("stopped")
    """
    The event has now concluded.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Completed = EventStatusCode("completed")
    """
    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".).
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    EnteredInError = EventStatusCode("entered-in-error")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Unknown = EventStatusCode("unknown")

from __future__ import annotations

from spark_auto_mapper_fhir.fhir_types.uri import FhirUri

from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode
from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType


# This file is auto-generated by generate_classes so do not edit manually
# noinspection PyPep8Naming
class EventStatusCode(GenericTypeCode):
    """
    EventStatus
    From: http://hl7.org/fhir/event-status in valuesets.xml
        Codes identifying the lifecycle stage of an event.
    """

    def __init__(self, value: AutoMapperTextInputType):
        super().__init__(value=value)

    """
    http://hl7.org/fhir/event-status
    """
    codeset: FhirUri = "http://hl7.org/fhir/event-status"


class EventStatusCodeValues:
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """

    Preparation = EventStatusCode("preparation")
    """
    The event is currently occurring.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    InProgress = EventStatusCode("in-progress")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    NotDone = EventStatusCode("not-done")
    """
    The event has been temporarily stopped but is expected to resume in the
    future.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    OnHold = EventStatusCode("on-hold")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Stopped = EventStatusCode("stopped")
    """
    The event has now concluded.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Completed = EventStatusCode("completed")
    """
    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".).
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    EnteredInError = EventStatusCode("entered-in-error")
    """
    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.
    From: http://hl7.org/fhir/event-status in valuesets.xml
    """
    Unknown = EventStatusCode("unknown")

# This file is auto-generated by generate_classes so do not edit manually # noinspection PyPep8Naming EventStatus     From: http://hl7.org/fhir/event-status in valuesets.xml         Codes identifying the lifecycle stage of an event. http://hl7.org/fhir/event-status 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.     From: http://hl7.org/fhir/event-status in valuesets.xml The event is currently occurring.     From: http://hl7.org/fhir/event-status in valuesets.xml 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.     From: http://hl7.org/fhir/event-status in valuesets.xml The event has been temporarily stopped but is expected to resume in the     future.     From: http://hl7.org/fhir/event-status in valuesets.xml 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.     From: http://hl7.org/fhir/event-status in valuesets.xml The event has now concluded.     From: http://hl7.org/fhir/event-status in valuesets.xml 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".).     From: http://hl7.org/fhir/event-status in valuesets.xml 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.     From: http://hl7.org/fhir/event-status in valuesets.xml