0% found this document useful (0 votes)
8 views8 pages

Manage User Information

The document outlines the process of managing user information within an application, detailing how users can create and edit their profiles. It describes three methods for creating user profiles: using health insurance codes, medical record numbers, or manual entry of information. The document also explains the validation checks performed on user inputs and the editing capabilities available after profile creation.

Uploaded by

Huyền Phạm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views8 pages

Manage User Information

The document outlines the process of managing user information within an application, detailing how users can create and edit their profiles. It describes three methods for creating user profiles: using health insurance codes, medical record numbers, or manual entry of information. The document also explains the validation checks performed on user inputs and the editing capabilities available after profile creation.

Uploaded by

Huyền Phạm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

<BPMN+DFD>

2.1.2. Manage user information:


Hình …: BPMN “Create and Edit information”
Explain:
- Create user profile:
After the user has successfully registered for an account and logged in, the application
next requires the user to create User Information for the application to manage and
store before the user can use other services. The system will collect information from
the user: Full name, date of birth, gender, phone number are mandatory information to
fill in; information: health insurance number, email address, address (hamlet/road,
commune, district, ward, province), identity card number, occupation, ethnicity of the
patient and the patient's information Relatives: Full name of relative, relationship with
patient, phone number, email address are optional information.
The operation in user profile management is as follows: First, the user clicks on the
"User profile" item. When entering this page, if the user has created information, the
system will display a list of records. The user can choose to view the created profile or
create a new one.
- If you select "View" the created profile, the user clicks on the profile he wants to
view, and the system uploads a form screen full of user information created.
- If the user selects “Create” a new user profile, the user clicks on the “Add” icon on
the screen. Now there will be 3 methods for the user to create a User Profile.
+ Method One: Create a User Profile with Health Insurance. The user selects the
"Generate with Health Insurance Code" button, the screen will display an input
box for the user to enter the Health Insurance code. The health insurance code
entered must be full of 10 characters, including only numbers; must be a
sequence of numbers that exists in the National Health Insurance database and
has never been used to create a user profile in this application before. If
incorrect, the system will display a warning, the user must re-enter the Health
Insurance code or choose to create a User Profile by another method. If
successful, the system will link to the Health Insurance database to download
the user information displayed on the form. Users select "Continue" to go to the
"Review information" page, select "Back" to change the information or select
"Confirm" to proceed with creating a User Profile. In the case of linked, most
information will not be allowed to change. The information users are allowed
to change are: Phone number, occupation, address, email address, and
information of relatives. After selecting the “Confirm” button, a new profile
will be created and stored in the application's database.
+ Second Method: Create a User Profile by entering the number on the Medical
Record. In case the user has been to this hospital for examination and already
has a Medical Record, each Patient Record will have a code. After the user
selects this method, the screen will display an input box for the user to enter
that Profile number. The system will check if this medical record number exists
in the hospital's database to report an error on the screen or go to the next step.
The next step, to check the correct person, the correct profile is created, the
user will be asked to enter the ID number in that medical record. The system
will check the full 9-digit ID card number, including only numbers; This ID
number exists and is correct in this Medical Record. If the test steps are wrong,
display an error message on the screen. If true, the application system linked to
the hospital database uploads user information to the form. The next procedure
is the same as in the first method.
+ Third method: Create a User Profile by entering each information on the form.
When choosing to create this way, the information form page will appear, the
information required for the user to fill is the minimum condition to be able to
go to the next step, the rest of the information the user can choose to adjust. or
not. The system checks the information the user fills in at the Front-end: Check
the email is in the correct format by checking if there is an @ character; Check
phone numbers with 10 to 12 numbers and include only numbers; mandatory
fields must be filled in completely; The date of birth cannot exceed the current
date. If checking in the front-end these entries are not required, the system will
display a warning under each incorrect entry. At the backend: Check if the
phone number already exists in the database or not? If yes, it means that this
phone number already belongs to 1 Other User Information, the system will
display a message that the phone number already exists and the user must enter
another phone number until satisfied. Health insurance must exist. If the
information is correct, the next steps are the same as in the first method.
- Edit user profile:
After the user creates the Patient Profile successfully, during the use of the
application, the user wants to change the information, at the "View" step of the User
Profile, the user can view and then exit or select the "Edit" button. edit" if you want to
change. Most of the information once linked will not be changed. The information
users are allowed to change are: Phone number, occupation, address, email address,
and information of relatives. After selecting the “Edit” button, the screen will display
an information form, the inputs will now allow the user to make input. After the user
enters, the system checks the front-end and backend again: Email address must have
"@" character; phone number must have from 10 to 12 numbers, cannot reuse
previously registered number. If false, the system will display a warning. If correct,
the user can select the “Continue” button and be directed to the “Review Information”
page to check the changed information. Select “Save” to update the edited information
for the User Profile and the system will also update the information to the datastore.
3.2. Manage user information
3.2.1. Diagram
DFD “Create and Edit information”
3.2.2. Explain
- “Get information”: has the function to record the information the user enters
on the screen: Receives input from the user including input user information, input
medical record number or health insurance number and returns the output as the
information entered by the user, pass this information to the “Check” processing box.
+ Information entered by the user to create a new user account includes required
and/or optional information. Including: Full name, date of birth, gender, phone
number are required information; information: health insurance number, email
address, address (hamlet/road, commune, district, ward, province), identity card
number, occupation, ethnicity of the patient and the patient's information
Relatives: Full name of relative, relationship with patient, phone number, email
address are optional information.
+ Or choose to enter your medical record number (if you have ever been
examined at this hospital) or Health Insurance number to update information
faster.
- Check: has the function to check the entered information, check the validity at
the front-end and the back-end: Receive input as "User's information" from the
output of the processing box "Get information". The Checkbox will check the validity
at the front-end and back-end of the input information. In order to be able to check
and be allowed to link to upload user information, “Check” sends the Health Insurance
number or/and the Medical Record number to the datastore as “Health insurance”
or/and “Medical record” to retrieve data from these 2 datastores. After receiving the
information from the datastore and processing the “Check”, if it is valid, the system
will continue and also upload the information linked to the external data system. Then,
this processing box will return 2 outputs in which: 1 output for the field used to notify
the status of the test true or false, display linked information, 1 output to transfer the
information checked and processed. handle for the Create handle.
- Create:
Receiving input is the information that has satisfied the test conditions, and is allowed
to create a new Profile. The system initiates a new User Profile, saves the new
information into the “User account information” data store.
- Edit:
First receiving an edit request from the user, “Edit” retrieves the “List of user profiles”
information and uploads the list of existing profiles this user has created. The user
selects a User Profile to edit, the system retrieves information from the datastore
“User account information” to display the information form of that profile on the
screen. Then the User will input information into "Edit", "Edit" receives information
and processes changes to old information or updates new information that the user has
entered. Finally, “Edit” returns 2 outputs, 1 output shows a screen for the user with
updated information, the other 1 output is updated with new information into the
“User account information” datastore.

—-
2.1.2. Manage user information:

- Create user profile:


Sau khi người dùng đã đăng ký tài khoản và đăng nhập thành công, tạo Thông tin
người dùng để ứng dụng quản lý, lưu trữ trước khi người dùng được sử dụng các dịch
vụ khác. Hệ thống sẽ thu thập các thông tin từ người dùng là: Họ và tên, ngày tháng
năm sinh, giới tính, số điện thoại là những thông tin bắt buộc điền; các thông tin: mã
số bảo hiểm y tế, địa chỉ email, địa chỉ (ấp/đường, xã, huyện, phường, tỉnh), số chứng
minh nhân dân của người bệnh và thông tin của người thân: Họ và tên người thân,
quan hệ với người bệnh, số điện thoại, địa chỉ email là những thông tin không bắt
buộc điền.
Thao tác trong quản lý hồ sơ người dùng như sau: Đầu tiên, bấm vào mục “Hồ sơ”, hệ
thống sẽ hiện danh sách các hồ sơ đã có (mặc định có 1 hồ sơ tạo từ khi đăng ký thành
công). Người dùng có thể chọn xem hồ sơ đã tạo hoặc tạo thêm hồ sơ mới.
- Nếu chọn “Xem” hồ sơ đã tạo: Bấm vào hồ sơ muốn xem thì hệ thống tải lên
màn hình biểu mẫu có các thông tin hệ thống tự động tạo từ đăng ký hoặc
thông tin do người dùng tự tạo.
- Nếu người dùng chọn “Tạo” hồ sơ người dùng mới: Bấm vào biểu tượng
“Thêm” trên góc phải màn hình. Lúc này sẽ có 3 phương thức để người dùng
tạo Hồ sơ người dùng.
+ Phương thức thứ nhất: Tạo Hồ sơ người dùng bằng Bảo hiểm y tế.
Người dùng chọn nút “Tạo bằng Mã số Bảo hiểm y tế” màn hình sẽ hiện
ra 1 ô input để người dùng nhập mã số Bảo hiểm y tế. Mã số Bảo hiểm y
tế được nhập phải có đủ 10 ký tự, chỉ bao gồm số; phải là dãy số có tồn
tại trong kho dữ liệu Bảo hiểm y tế của cả nước và trước đó chưa từng
được dùng để tạo hồ sơ người dùng trong ứng dụng này. Nếu sai, hệ
thống sẽ hiển thị cảnh báo, người dùng phải nhập lại mã số Bảo hiểm y
tế hoặc chọn tạo Hồ sơ người dùng bằng phương thức khác. Nếu thành
công, hệ thống sẽ liên kết với kho dữ liệu Bảo hiểm y tế tải thông tin
người dùng hiển thị trên biểu mẫu. Người dùng chọn “Tiếp tục” để sang
trang “Xem lại thông tin”, chọn “Quay lại” để thay đổi các thông tin
hoặc chọn “Xác nhận” để tiến hành tạo Hồ sơ người dùng. Trong trường
hợp đã liên kết, phần lớn thông tin sẽ không được phép thay đổi. Các
thông tin người dùng được phép thay đổi là: Số điện thoại, địa chỉ, địa
chỉ email, và thông tin của người thân. Sau khi chọn nút “Xác nhận”,
một hồ sơ mới sẽ được tạo và được lưu trữ vào cơ sở dữ liệu của ứng
dụng.
+ Phương thức thứ hai: Tạo Hồ sơ người dùng bằng cách nhập số trên Hồ
sơ. Trong trường hợp người dùng đã từng đến bệnh viện này khám và đã
có số Hồ sơ (Số hồ sơ là số được ghi trên toa thuốc, phiếu chỉ định, hoặc
phiếu trả kết quả lâm sàng). Màn hình hiển thị 1 ô input, người dùng
nhập mã số Hồ sơ đó. Hệ thống sẽ kiểm tra mã số Hồ sơ này có tồn tại
trong kho dữ liệu của bệnh viện và liên kết với kho dữ liệu của bệnh
viện tải thông tin người dùng lên biểu mẫu hoặc nếu kiểm tra ra kết quả
sai thì thông báo lỗi ra màn hình. Quy trình tiếp theo tương tự như ở
phương thức thứ nhất.
+ Phương thức thứ ba: Tạo Hồ sơ người dùng bằng việc nhập từng thông
tin trên biểu mẫu. Khi chọn tạo theo cách này, trang biểu mẫu các thông
tin sẽ hiện ra, thông tin bắt buộc người dùng phải điền là điều kiện tối
thiểu để có thể đi đến bước tiếp theo, các thông tin còn lại người dùng
có thể chọn điều hoặc không. Hệ thống kiểm tra thông tin người dùng
điền tại Front-end: Check email có đúng định dạng chưa bằng cách
check xem có ký tự @ hay chưa; Check số điện thoại có từ 10 đến 12 số
và chỉ bao gồm số; các mục bắt buộc điền thì phải được điền đầy đủ;
ngày tháng năm sinh không được vượt quá ngày hiện tại. Nếu kiểm tra ở
front-end các mục này chưa đặt yêu cầu hệ thống sẽ hiện cảnh báo dưới
mỗi mục nhập sai. Tại backend: Check số điện thoại đã tồn tại trong cơ
sở dữ liệu hay chưa? Nếu có tức là số điện thoại này đã thuộc về 1
Thông tin người dùng khác, hệ thống sẽ hiện thông báo số điện thoại đã
tồn tại và người dùng phải nhập số điện thoại khác cho đến khi thỏa
mãn. Bảo hiểm y tế phải có tồn tại. Nếu các thông tin đều đúng, các
bước tiếp theo giống như quy trình tại phương thức thứ nhất.
- Edit user profile:
Sau khi người dùng tạo Hồ sơ bệnh nhân thành công, trong quá trình sử dụng ứng
dụng người dùng muốn thay đổi thông tin, tại bước “Xem” Hồ sơ người dùng, người
dùng có thể xem rồi thoát ra hoặc chọn nút “Chỉnh sửa” nếu muốn thay đổi. Trước hết
hệ thống sẽ kiểm tra hồ sơ này đã được lưu trữ liên kết với cơ sở dữ liệu Bảo hiểm y tế
hay chưa? Nếu chưa thì các thông tin sẽ được phép chỉnh sửa, nếu đã liên kết thì hầu
hết các thông tin sẽ không thể thay đổi. Các thông tin người dùng được phép thay đổi
sau khi đã liên kết là: Số điện thoại, địa chỉ, email, và thông tin của người thân. Sau
khi chọn nút “Chỉnh sửa”, màn hình sẽ hiển thị biểu mẫu thông tin, các input lúc này
sẽ cho phép người dùng thực hiện nhập. Sau khi người dùng nhập, hệ thống kiểm tra
lại front-end và backend: Địa chỉ email phải có ký tự “@”; số điện thoại phải có từ 10
đến 12 số, không được dùng lại số đã đăng ký trước đó. Nếu sai, hệ thống sẽ hiển thị
cảnh báo. Nếu đúng, người dùng được chọn nút “Tiếp tục” và được dẫn đến trang
“Xem lại thông tin” để kiểm tra thông tin vừa thay đổi. Chọn “Lưu” để cập nhật thông
tin đã chỉnh sửa cho Hồ sơ người dùng và hệ thống cũng sẽ cập nhật thông tin vào kho
dữ liệu.

3.2. Manage user information


3.2.1. Diagram
3.2.2. Explain
3.2. Manage user information
3.2.1. Diagram
3.2.2. Explain
Thông tin mà người dùng nhập vào để tạo tài khoản người dùng mới gồm có thông tin
bắt buộc và/ hoặc thông tin không bắt buộc. Gồm có: Họ và tên, ngày tháng năm sinh,
giới tính, số điện thoại là những thông tin bắt buộc điền; các thông tin: mã số bảo
hiểm y tế, địa chỉ email, địa chỉ (ấp/đường, xã, huyện, phường, tỉnh), số chứng minh
nhân dân, của người bệnh và thông tin của người thân: Họ và tên người thân, quan hệ
với người bệnh, số điện thoại, địa chỉ email là những thông tin không bắt buộc điền.
Hoặc chọn nhập số hồ sơ nếu người dùng đã từng đi khám tại bệnh viện này. Số hồ sơ
được in trên toa thuốc, phiếu chỉ định hoặc phiếu trả ra kết quả cận lâm sàng.
● Process “Get information”: có chức năng ghi nhận thông tin người dùng
nhập trên màn hình:
- Input: User information, profile number or health insurance number từ người
dùng.
- Output: Thông tin của người dùng đã nhập, chuyển thông tin này đến ô xử lý
“Check”.
● Process “Check”: có chức năng kiểm tra các thông tin đã nhập, kiểm tra
tính hợp lệ tại front-end và back-end của chúng:
- Input: User information từ output của ô xử lý “Get information” và từ 2
datastore.
- Output: Thông báo trạng thái kiểm tra, chuyển các thông tin đã kiểm tra và xử
lý qua cho ô xử lý Create; gửi mã số Bảo hiểm y tế hoặc/ và mã số Hồ sơ đến
datastore là “Health insurance” hoặc/ và “Medical record”.
● Process “Create”:
- Input: Các thông tin đã qua kiểm tra thành công.
- Output: Hồ sơ người dùng mới được tạo, thông báo thành công hoặc thất bại.
● Process “Edit”: nhận thông tin và xử lý đổi thông tin cũ hay cập nhật thông tin
mới mà người dùng đã nhập.
- Input: User information, user profile detail.
- Output: Hiển thị User information cho người dùng, cập nhật thông tin mới vào
datastore “User account information”.

3.2. Manage user information


3.2.1. Diagram
3.2.2. Explain
3.2.3. Sequence
3.2.4. Mock up and explain
3.2.5. Validation
Hệ thống sẽ thu thập các thông tin từ người dùng là: Họ và tên, ngày tháng năm sinh,
giới tính, số điện thoại là những thông tin bắt buộc điền; các thông tin: mã số bảo
hiểm y tế, địa chỉ email, địa chỉ (ấp/đường, xã, huyện, phường, tỉnh), số chứng minh
nhân dân, nghề nghiệp, dân tộc của người bệnh và thông tin của người thân: Họ và tên
người thân, quan hệ với người bệnh, số điện thoại, địa chỉ email là những thông tin
không bắt buộc điền.
Rules: Họ và tên, ngày tháng năm sinh, giới tính, số điện thoại là những thông tin
bắt buộc điền.

Data Type Required Validation


Username nvarchar Yes
Date of birth datetime Yes
Phone/ email nvarchar Yes Số điện thoại phải có từ 10
đến 12 số và chỉ toàn số/
email phải có ký tự “@”
Gender boolean Yes
First and last name varchar Yes
Health insurance nvarchar(15) No
number
Address nvarchar No
Nationality nvarchar No
Số chứng minh varchar(12) No
nhân dân

Chọn menu → Edit user profile hong? → Show mess: Muốn cập nhật thông tin
từ BHYT qua đây hông? (2 button yes/ no)→ Yes: Show form input health
insurance → Enter health insurance number → Click OK → Link datastore
Health insurance → Update successful? → Yes: Show profile to screen → Click
“Continue” button → Input thông tin người giám hộ → Check FE (email) →
Click “Continue” → Show trang confirm → Confirm ok? → Yes → Save DB
No: Create relative profile hông? → Yes: Click on button Relative profile →

You might also like