Giter Club home page Giter Club logo

Comments (6)

tienyuan avatar tienyuan commented on June 5, 2024 1

FYI @mitchellwandrews @jonmelvin

I did a quick comparison between the IA:Intake Form fields, the IA:Profile Page fields and the designed intake form (in progress)

Mostly matches. Fields in the Intake Form exist in the Profile Page. Note, the design is missing the legal agreement fields, the electronic sig fields and implies that Clinics Attended have dates. So best to continue to go by the Info Architecture doc

from heart.

jonmelvin avatar jonmelvin commented on June 5, 2024

-- The client whose tickets are to be dismissed
-- Note 1: instead of checkboxes for status when actions are done, dates are to be entered; that way time taken can be tracked
-- Note 2: The field _ID is a unique integer key; the other _... fields are tracking fields for who edited and when, subject to modification
-- Note 3: The structure of this table is subject to change as we refine the work flow with Gina
-- Note 4: The fields [Picture], [_file_Picture], and [type_Picture] are specific to the CSharp framework - they trigger generation of file upload controls for,
-- in this case, a photo of the user
CREATE TABLE [dbo].[Client
](
[_ID] [int] NOT NULL,
[ID] varchar NULL,
[Date_Record_Created] [datetime] NULL,
[First_Name] varchar NULL,
[Middle_Name] varchar NULL,
[Last_Name] varchar NULL,
[Drive's License] varchar NULL,
[SSN] varchar NULL,
[Date_of_Birth] [datetime] NULL,
[AKA_1] varchar NULL,
[AKA_2] varchar NULL,
[AKA_3] varchar NULL,
[Phone_1] varchar NULL,
[Phone_2] varchar NULL,
[Email_1] varchar NULL,
[Email_2] varchar NULL,
[Clinic_Attended] varchar NULL,
[Date Closed - No Obligation Form] [datetime] NULL,
[Date Closed - Client has Warrant] [datetime] NULL,
[Date Closed - Client has no Tickets] varchar NULL,
[Date Obligation Form Completed] varchar NULL,
[Date Waiting for background check] varchar NULL,
[Date of Attorney Review] [datetime] NULL,
[Date Sent to Court] [datetime] NULL,
[Date Received from Court] [datetime] NULL,
[Date Report Sent to Client] [datetime] NULL,
[Date Closed - Complete] [datetime] NULL,
[Picture] [image] NULL,
[_file_Picture] varchar NULL,
[_type_Picture] varchar NULL,
[_User] varchar NULL,
[_ModifyUser] varchar NULL,
[_CreateDate] [datetime] NULL,
[_ModifyDate] [datetime] NULL
)

-- One or more citations per client (CLIENT_ID is foreign key into [CLIENT].[ID] - this is many to one related to client)
CREATE TABLE [dbo].[Citation_](
[_ID] [int] NOT NULL,
[Client_ID] varchar NULL,
[ID] varchar NULL,
[Citation_Number] varchar NULL,
[Court_Code] varchar NULL,
[Violation_Number] varchar NULL,
[Citation_Status] varchar NULL,
[_User] varchar NULL,
[_ModifyUser] varchar NULL,
[_CreateDate] [datetime] NULL,
[_ModifyDate] [datetime] NULL
)

-- One or more services carried out by the client to dismiss citations (CLIENT_ID is foreign key into [CLIENT].[ID] - this is many to one related to client)
CREATE TABLE [dbo].[Service_](
[_ID] [int] NOT NULL,
[Client_ID] varchar NULL,
[ID] varchar NULL,
[Service] varchar NULL,
[Date_Completed] [datetime] NULL,
[Notes] varchar NULL,
[_User] varchar NULL,
[_ModifyUser] varchar NULL,
[_CreateDate] [datetime] NULL,
[_ModifyDate] [datetime] NULL)

-- database admins and users
CREATE TABLE [dbo].[User_](
[ID] [int] NOT NULL,
[Username
] varchar NULL,
[Password_] varchar NULL,
[Confirm_Password] varchar NULL,
[Disable__select_] char NULL,
[Group__lookup_] varchar NULL,
[First_Name] varchar NULL,
[Middle_Name] varchar NULL,
[Last_Name] varchar NULL,
[Phone_1] varchar NULL,
[Phone_2] varchar NULL,
[Number_] varchar NULL,
[Street_] varchar NULL,
[Apartment_Number] varchar NULL,
[City_] varchar NULL,
[State_] char NULL,
[Zipcode_] varchar NULL,
[Email_1] varchar NULL,
[Email_2] varchar NULL,
[Notes_] varchar NULL,
[Picture] [image] NULL,
[_file_Picture] varchar NULL,
[_type_Picture] varchar NULL,
[_User] varchar NULL,
[_ModifyUser] varchar NULL,
[_CreateDate] [datetime] NULL,
[_ModifyDate] [datetime] NULL,
)

-- other planned tables: Citation codes, Service descriptions, Clinics attended, Court document templates to merge (these last items can also
-- just be files residing in the server folder)

from heart.

tienyuan avatar tienyuan commented on June 5, 2024

👍 I look forward to hearing your thoughts on Monday. I'll study it a bit this weekend.

https://dataedo.com/kb/tools/ssms/create-database-diagram seems to say it's possible to generate a prettier version of the db schema so it's easier to see relationships

from heart.

jonmelvin avatar jonmelvin commented on June 5, 2024

Diagram from SQLServer management studio for the tables (does not include the update for having the picture in the client table - see text doc above for that).
heart_diagram

from heart.

tienyuan avatar tienyuan commented on June 5, 2024

We discussed the database during hacknight and an updated version of the schema is in progress

from heart.

tienyuan avatar tienyuan commented on June 5, 2024

Addressed in #32

from heart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.