Huehive Logo

HueHive

#00ff00 Green
#000 Black
#ff0000 Red

hospital management system

Palette Description

mermaid
stateDiagram-v2
    classDef activeState fill:
                            
                            #00ff00
                        ,stroke:#000
    classDef inactiveState fill:
                            
                            #ff0000
                        ,stroke:#000
    classDef transitionStyle stroke:#000,stroke-width:2px

    [*] --> HospitalManagementSystem:::activeState

    state HospitalManagementSystem {
        [*] --> RegisterPatient
        RegisterPatient --> VerifyInsurance: PatientRegistered
        VerifyInsurance --> AssignRoom: InsuranceVerified
        AssignRoom --> [*]: RoomAssigned
        AssignRoom --> DischargePatient: DischargeRequested
        DischargePatient --> [*]: PatientDischarged

        state RegisterPatient {
            [*] --> EnterDetails
            EnterDetails --> SubmitForm: DetailsEntered
            SubmitForm --> [*]: FormSubmitted
        }

        state VerifyInsurance {
            [*] --> CallInsurance
            CallInsurance --> CheckCoverage: InsuranceCalled
            CheckCoverage --> [*]: CoverageChecked
        }

        state AssignRoom {
            [*] --> SelectRoom
            SelectRoom --> ConfirmRoom: RoomSelected
            ConfirmRoom --> [*]: RoomConfirmed
        }

        state DischargePatient {
            [*] --> ConfirmDischarge
            ConfirmDischarge --> [*]: DischargeConfirmed
        }
    }