Technical Specification — Patient Intake Portal

PDFTestCo · Healthcare · FlowClick Platform · v1.0

Architecture Overview

The portal is built as a server-side rendered (SSI) single-page application hosted on FlowClick's public folder infrastructure. Patient-facing HTML forms submit via HTTP GET to FlowClick flows, which validate fields, call an insurance verification webhook, persist records to the IntakeDatabase, and execute routing logic using conditional step branching. All PHI fields (SSN, insurance ID, DOB) are stored in encrypted password-mode columns. Department assignment is written back to the patient record and triggers a table-level automation that notifies the receiving department via email.

Database Schema — patients Table

ColumnData TypeSemantic TypeNotes
idtextRecord IDAuto-generated, primary key
full_nametextFull NameRequired, indexed
date_of_birthdateDateUsed for insurance matching
insurance_idpasswordPassword (encrypt)AES-encrypted at rest
insurance_providertextShort TextDrives routing logic
departmenttextShort TextSet by routing flow post-intake
statustextShort Textpending / verified / routed
created_atdatetimeCreated AtAuto-stamped on insert

Intake Workflow

1
Form SubmissionPatient completes HTML intake form; request.params passed to ProcessIntake flow.
2
Field Validationlogic_fn steps verify required fields (name, DOB, insurance ID) are non-empty; abort step fires on failure.
3
Insurance VerificationHTTP step POSTs to insurer API; extract step pulls verification status and coverage tier from response.
4
Record Persistencecrud_record create writes patient row including encrypted insurance_id and verified status.
5
Department Routinglogic_fn switch on insurance_provider and coverage tier sets department value; crud_record update persists assignment; table trigger fires department notification email.

Deployment Notes

• Environment Variables: Set smtp_host, smtp_user, smtp_password, and INSURANCE_API_KEY as Application-level Variables before go-live.
• Public Folder: Intake form served from /pub/PDFTestCo/IntakePortal/public/intake.html with isPublic:true.
• HIPAA Alignment: Enable Table Audit Logging (reads + writes) on the patients table immediately post-deployment.
• Rollout: Estimated deployment timeline is 8–12 business days including UAT, staff training, and DNS/SSO cutover.