Skip to main content

Patient Management - Technical Specification

Core patient data management and demographics

Purpose

The Patient Management module serves as the foundational entry point for all medical-legal cases in the platform. It manages patient demographics, insurance information, and relationships to legal cases. Each patient can have multiple legal cases, and patient data is used throughout the system for prior authorizations, claims adjudication, medical records processing, and appointment scheduling.

Key Concepts

TermDefinition
PatientIndividual receiving medical care related to a legal case
DemographicsPersonal information including name, DOB, address, contact details
Insurance CarrierPrimary/secondary insurance providers
Legal Case RelationshipOne-to-many relationship between patient and legal cases
Patient IdentifierUnique system-generated ID for each patient
PHIProtected Health Information - regulated under HIPAA
ConsentPatient authorization for treatment and information sharing

User Roles

RoleDescriptionPermissions
Patient CoordinatorPrimary patient data managementCreate, Read, Update
Case ManagerView patient info for case managementRead only
Medical Records ClerkAttach documents to patient recordsRead, Upload Documents
Claims ProcessorVerify patient info for claimsRead only
System AdministratorFull access including deletionAll permissions
AttorneyView patients linked to their casesRead only (filtered)

Field Documentation - Patient Entity

Field NameTypeRequiredDescriptionValidation RulesRelated Entity
IDStringYesUnique patient identifier (CUID)Auto-generated, immutablePrimary Key
First NameStringYesPatient's legal first nameMax 100 chars, alpha only-
Middle NameStringNoPatient's middle name or initialMax 100 chars-
Last NameStringYesPatient's legal last nameMax 100 chars, required-
Date of BirthDateTimeYesPatient's date of birthMust be past date, format MM/DD/YYYY-
SSNStringNoSocial Security Number (encrypted)9 digits, unique, encrypted at rest-
GenderStringNoPatient's genderEnum: Male, Female, Other, Unknown-
Marital StatusStringNoCurrent marital statusEnum values-
EmailStringNoPrimary email addressValid email format-
PhoneStringYesPrimary phone number10 digits, format (XXX) XXX-XXXX-
Mobile PhoneStringNoMobile phone number10 digits, format validation-
AddressStringYesStreet addressMax 200 chars-
CityStringYesCityMax 100 chars-
StateStringYesState code2-letter state code-
Zip CodeStringYesZIP code5 or 9 digits-
Emergency Contact NameStringNoEmergency contact full nameMax 200 chars-
Emergency Contact PhoneStringNoEmergency contact phonePhone format validation-
Emergency Contact RelationStringNoRelationship to patientEnum values-
Primary Insurance CarrierStringNoPrimary insurance companyValidate against carrier list-
Primary Insurance Policy NumberStringNoPrimary policy numberAlphanumeric-
Primary Insurance Group NumberStringNoPrimary group numberAlphanumeric-
Secondary Insurance CarrierStringNoSecondary insurance companyValidate against carrier list-
Secondary Insurance Policy NumberStringNoSecondary policy numberAlphanumeric-
Secondary Insurance Group NumberStringNoSecondary group numberAlphanumeric-
Preferred LanguageStringNoPreferred communication languageISO language code-
Interpreter NeededBooleanNoRequires interpreter servicesDefault false-
Created AtDateTimeYesRecord creation timestampAuto-generated-
Updated AtDateTimeYesLast modification timestampAuto-updated-
Created ByUserNoUser who created recordValid user IDUser
Updated ByUserNoUser who last updatedValid user IDUser
Legal CasesLegalCase[]NoAssociated legal cases-LegalCase (1:Many)
DocumentsDocument[]NoAttached documents-Document (1:Many)
AppointmentsAppointment[]NoPatient appointments-Appointment (1:Many)

Workflows

Patient Registration Workflow

  1. Initial Data Collection

    • Collect demographic information
    • Verify SSN uniqueness
    • Capture insurance information
  2. Validation

    • Validate all required fields
    • Check for duplicate patients (SSN, DOB, Name match)
    • Verify insurance eligibility (if applicable)
  3. Patient Creation

    • Generate unique patient ID
    • Encrypt sensitive data (SSN, DOB)
    • Create audit log entry
    • Send welcome communication (if enabled)
  4. Post-Creation

    • Available for legal case assignment
    • Ready for appointment scheduling
    • Document upload enabled

Patient Search Workflow

  1. Search by name, DOB, SSN (last 4), patient ID
  2. Apply role-based filtering
  3. Return paginated results
  4. Display match confidence score

Patient Update Workflow

  1. Lock record for editing
  2. Validate changes against business rules
  3. Log all changes in audit trail
  4. Update timestamp and user
  5. Trigger dependent updates (if needed)

Business Rules

Required Fields

  • First Name, Last Name
  • Date of Birth
  • Phone Number
  • Address, City, State, Zip Code

Validation Rules

  • Patient must be at least 18 years old (or have guardian info)
  • SSN must be unique across system
  • Email format must be valid if provided
  • Phone numbers must be 10 digits
  • State must be valid US state code

Data Privacy Rules

  • SSN must be encrypted at rest
  • PHI access must be logged
  • Minimum necessary principle applies
  • Patient consent required for data sharing

Integrations

SystemIntegration TypePurpose
Legal Case ManagementDirect DatabasePatient assignment to cases
Appointment SchedulerDirect DatabasePatient appointment booking
Claims ProcessingDirect DatabasePatient verification for claims
Document ManagementFile SystemPatient document storage
Insurance VerificationExternal APIReal-time eligibility checks
Address ValidationExternal APIUSPS address standardization

Common Issues

IssueDescriptionResolution
Duplicate PatientsSame patient registered multiple timesMerge patient records tool
Invalid InsuranceInsurance information cannot be verifiedManual verification process
Missing DemographicsRequired fields incompleteData completion workflow
Address MismatchAddress doesn't validate with USPSManual override option

Screenshots Needed

  • Patient Registration Form
  • Patient Search Interface
  • Patient Profile View
  • Patient Edit Form
  • Insurance Information Tab
  • Document Upload Interface
  • Patient Merge Tool
  • Audit History View

Performance Considerations

  • Patient search should return results in < 2 seconds
  • Encryption/decryption should not impact user experience
  • Support for 100,000+ patient records
  • Concurrent user access handling

Security Considerations

  • Role-based access control (RBAC)
  • PHI encryption at rest and in transit
  • Audit logging for all patient data access
  • Session timeout for inactive users
  • Multi-factor authentication for sensitive operations

Notes

  • Patient records cannot be deleted, only deactivated
  • All patient data changes are audited
  • Integration with state immunization registries planned for future release