Namespace Core.CliniCore.Commands.Profile
Classes
- AssignPatientToPhysicianCommand
Command that establishes or updates a physician-patient care relationship. Supports setting a physician as a patient's primary care provider.
- AssignPatientToPhysicianCommand.Parameters
Defines the parameter keys used by AssignPatientToPhysicianCommand.
- CreateAdministratorCommand
Command that creates a new administrator profile and associated authentication account. Includes bootstrap logic allowing the first admin to be created without authentication.
- CreateAdministratorCommand.Parameters
Defines the parameter keys used by CreateAdministratorCommand.
- CreatePatientCommand
Command that creates a new patient profile and associated authentication account.
- CreatePatientCommand.Parameters
Defines the parameter keys used by CreatePatientCommand.
- CreatePhysicianCommand
Command that creates a new physician profile and associated authentication account. Validates license information, graduation date, and medical specializations.
- CreatePhysicianCommand.Parameters
Defines the parameter keys used by CreatePhysicianCommand.
- DeleteProfileCommand
Command that permanently deletes a user profile from the system. Performs dependency checks for clinical documents, appointments, and patient assignments before deletion. Supports force deletion with automatic cleanup of dependencies.
- DeleteProfileCommand.Parameters
Defines the parameter keys used by DeleteProfileCommand.
- ListPatientsCommand
Command that retrieves and displays a list of patient profiles. Supports filtering by assigned physician, search terms, and active/inactive status.
- ListPatientsCommand.Parameters
Defines the parameter keys used by ListPatientsCommand.
- ListPhysiciansCommand
Command that retrieves and displays a list of physician profiles. Supports filtering by medical specialization and search terms.
- ListPhysiciansCommand.Parameters
Defines the parameter keys used by ListPhysiciansCommand.
- ListProfileCommand
Command that retrieves and displays all user profiles in the system. Groups profiles by role (Administrator, Physician, Patient) for organized output.
- ListProfileCommand.Parameters
Defines the parameter keys used by ListProfileCommand.
- UpdateAdministratorProfileCommand
Command that updates an existing administrator profile. Supports updating common fields (name, address, birthdate) and administrator-specific fields (email). Only administrators can execute this command.
- UpdateAdministratorProfileCommand.Parameters
Defines the parameter keys used by UpdateAdministratorProfileCommand.
- UpdatePatientProfileCommand
Command that updates an existing patient profile. Supports updating common fields (name, address, birthdate) and patient-specific fields (gender, race). Patients can update their own profile; physicians can update their assigned patients.
- UpdatePatientProfileCommand.Parameters
Defines the parameter keys used by UpdatePatientProfileCommand.
- UpdatePhysicianProfileCommand
Command that updates an existing physician profile. Supports updating common fields (name, address, birthdate) and physician-specific fields (license number, graduation date, specializations). Physicians can update their own profile.
- UpdatePhysicianProfileCommand.Parameters
Defines the parameter keys used by UpdatePhysicianProfileCommand.
- UpdateProfileCommand
Router command that delegates to the appropriate profile-specific update command based on the profile type being updated. This allows for a single entry point while maintaining type-specific validation and field handling.
- UpdateProfileCommand.Parameters
Defines the parameter keys used by UpdateProfileCommand. Includes common fields shared by all profile types and role-specific fields.
- ViewAdministratorProfileCommand
Command that retrieves and displays detailed information for a specific administrator profile. Requires ViewAdministratorProfile permission.
- ViewAdministratorProfileCommand.Parameters
Defines the parameter keys used by ViewAdministratorProfileCommand.
- ViewPatientProfileCommand
Command that retrieves and displays detailed information for a specific patient profile. Includes demographics, primary physician assignment, and appointment/document counts.
- ViewPatientProfileCommand.Parameters
Defines the parameter keys used by ViewPatientProfileCommand.
- ViewPhysicianProfileCommand
Command that retrieves and displays detailed information for a specific physician profile. Includes credentials, specializations, patient roster, and appointment statistics.
- ViewPhysicianProfileCommand.Parameters
Defines the parameter keys used by ViewPhysicianProfileCommand.
- ViewPhysicianProfileCommand.Results
Defines the result data keys returned by this command.
- ViewProfileCommand
Generic command that retrieves and displays detailed information for any user profile. Automatically detects profile type (Patient, Physician, Administrator) and formats output appropriately. Use type-specific commands for additional functionality.
- ViewProfileCommand.Parameters
Defines the parameter keys used by ViewProfileCommand.