Isan Cohort - Thai Care Cloud

National Health Database
Ministry of Public Health
National Health Database
Ministry of Public Health
National Health Database
Ministry of Public Health
Intranet HIS
Site Admin
•
•
•
•
•
•
•
•
•
Internet Care Cloud
Patients
Providers
Account
Apply for an account at ???.thaicarecloud.org
Click Module -> Download TDC
Install TDC in the HIS server
Operate the trigger in the web service of TDC
Any venders can joined TDC via Table view of SQL
MOPH required data = Standard data set
Each hospital can trigger any other data as required
Activate the TDC to transfer the data
All are voluntary basis
• Thai Care Cloud has been developed based on
PHP-MySQL under YII2 Framework.
• It’s a web application that is free of charge for
public use.
• Thai Care Cloud originated from CASCAP Cloud at
www.cascap.in.th – from one to any diseases.
• Key developers are at the Data Management and
Statistical Analysis Center (DAMASAC), Faculty of
Public Health, Khon Kaen university, under the
mission of the KKU's 50 years of social devotion.
• Create and edit unlimited number of online data collection forms
• Forms can be shared, hence, easily distributed
• Advanced features allow forms as if being created by professional database
programmers
–
–
–
–
–
–
–
More than 20 field types available
Hidden/View and Skip pattern
Reference across other forms
User’s written SQL or Java Script codes
Query management tools, Consultation tools
Mapping tools to utilize data from existing standard core data set
Mapping fields to standard medical terms such as SNOMED-CT, LOINC, ICD-10, ICD9-CM, HL7
• All forms were equipped with full data management tools
–
–
–
–
–
View and Exporting tools
Exploratory data analysis tools
Annotated CRF
Data dictionary
Purify tools
• Best complement of existing health information system (HIS)
• Combine several forms created by EzForm according to a
workflow to generate a single module
• A module looks as if an application in the Thai Care Cloud
“App Store”
• A module can be shared across the network
• Standard feature is sufficient for an ordinary module
• Advanced module requires a programmer to join the TDC
Team. They will develop additional features for the module
via GitLab and work collaboratively under YII2 Framework
• The TDC module can be transformed to a mobile
application using Functions and Libraries provided by TDC
Application Kits
Thai Care Cloud
Internet Server
Install TDC
Master
TDC Password
Slave: connected to internet
Firewall
HIS Internal Network
Internet
Summary data or
reports
Inbound rejected
CID, Name, Surname,
HouseNum, VillageNum
Data recorded based on
routine care
Data selected based on
standard data set
• HIS Server Admin
• Service provider
• Others who were
authorized by Site
Admin
• HIS Server Admin
• Service provider
• Others who were
authorized by Site
Admin
• EMR Owner
TDC
Web Service
Data encoded and encrypted
Individual record
EMR
Internet
Request commands from the TDC web service
Fields encrypted:
Inbound rejected
Internet Users
Standard data
structure provided via
web service
77
Provinces
13
Health
Zones
1
Main
Server
Individual
records
Summary
records
Report
only
• Report for
monitoring and
evaluation ->
Health
administrators
• General report ->
Any users
•
•
•
•
•
•
•
•
HIS needs NOT to open any ports. HIS remains confidentially closed as ever be.
No commands from outside can be sent to or executed within the HIS server.
TDC inside the firewall of the server requests commands from, and ONLY from, Thai Care
Cloud web service where all transactions were encrypted based on SSL (https) security
protocol.
Transparency: The HIS work load and data retrieved can be monitored via the TDC web
service.
Membership is absolutely voluntary: The TDC can be terminated at anytime. All data at the
TDC can be permanently deleted with NO any effects to the HIS. Also, the membership can
be re-initiated at anytime.
Flexible and dynamic: TDC Web Service provides tools to create data dictionary for the
required or so-called the core standard data set so that the HIS vendor can create the table
view accordingly -> data mapping. The data in the table view is the one to be transferred to
the TDC.
TDC architecture allow the data from the HIS to be transferred in real time manner with no
interference to and with a minimum load of the HIS server.
The trigger algorithms provoke only If there was INSERT, UPDATE, or DELETE to the HIS data
that specified by the Web Service. From that, the data will be sent to the TDC database
server. That is, TDC tasks involves only data transfer and modify nothing to the HIS data.
• There are tons of tools for data utilization including health and
medical care on the cloud- the Care Cloud System.
• All data can be seen as either the spreadsheet or the entry form
• Each data item has a tool for sharing with the default "Restricted"
meaning that only the Site Admin can see it.
• Data sharing can be any of these- Site members, Specify
members, Public which means all members within TDC.
• Data analysis can be done just a click to get results per Standard
reporting templates- they display results in real time basis.
• Data can be exported and downloaded for further complex
analysis or research purposes.
• The data being entered via HIS can be available in the Internet
TDC web site of their own- remains belong to them.
• In addition to the existing data, users can create any data
collection form at any time to collect any data they need.
• Each form can be able to link with the citizen identification
number (and CID).
• These can be done using the EzForm of the TDC.
• Module Maker can then be used to combine a set of forms to
do a single task systematically according to a desired workflow.
• The working module become a workbench.
• Each module can be shared for collaborative work without
border.
• TDC implemented using trigger algorithm
• A trigger is a set of SQL statements that is invoked automatically
when a change is made to the data on the associated table.
• A trigger can be defined to be invoked either before or after the
data is changed by INSERT, UPDATE or DELETE statement.
• MySQL Syntax example:
CREATE TRIGGER before_employee_update
BEFORE UPDATE ON employees
FOR EACH ROW
BEGIN
INSERT INTO employees_audit
SET action = 'update',
employeeNumber = OLD.employeeNumber,
lastname = OLD.lastname,
changedat = NOW();
END
CREATE TRIGGER before_employee_update
BEFORE UPDATE ON employees
FOR EACH ROW
BEGIN
INSERT INTO employees_audit
SET action = 'update',
employeeNumber = OLD.employeeNumber,
lastname = OLD.lastname,
changedat = NOW();
END
Trigger name
Table Views in HIS
Table in TDC Server
CREATE TRIGGER before_employee_update
BEFORE UPDATE ON employees
FOR EACH ROW
BEGIN
INSERT INTO employees_audit
SET action = 'update',
employeeNumber = OLD.employeeNumber,
lastname = OLD.lastname,
changedat = NOW();
END
Trigger name
Table Views in HIS
Table in TDC Server
Standard data set
(Data Dictionary)
Table Views
In the Web service
Table Views
In the HIS Server
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
PERSON
ADDRESS
DEAD
CARD
DRUGALLERGY
etc.
PERSON
ADDRESS
DEAD
CARD
DRUGALLERGY
etc.
PERSON
ADDRESS
DEAD
CARD
DRUGALLERGY
etc.
• Database
• Enormous number of
data tables
• Those tables are differ
according to venders
• Table Views
• Each vender designs
the table view
according to the Data
dictionary of the
Standard data set in
the Web service of
their own account
• TDC
• Works for the web service
• Trigger
• Created based on the Web
service
• Web service
• กำหนด Standard data
่ 43 แฟ้ ม
set เชน
• สร ้ำง Data dictionary
• มีเครือ
่ งมือสร ้ำง Table
Views
• ทดสอบคำสงั่ ทีส
่ ร ้ำง
Table Views จนผ่ำน
• สร ้ำง Trigger สง่ ให ้ TDC
โดยอัตโนมัต ิ
• Monitor activity
เกีย
่ วกับ Server load
และสถำนะกำรสง่ ข ้อมูล
• Data Storage and
Data Processing
• รับข ้อมูลจำก Trigger
• จัดกำรข ้อมูล
้
• ใชประโยชน์
ข ้อมูล
• Report
• Refer
• Epi
• Vaccine
• ANC
• Cancer
• CKD
• Etc.
• User added forms
• สร ้ำงฟอร์มเก็บข ้อมูลเพิม
่
ด ้วย EzForm
• Share forms ได ้โดยง่ำย
• Database
• Database เดิม ปั จจุบน
ั
• Database ใหม่ สำหรับ
NHIS
• Table Views
• กำหนด Standard data
set สำหรับ NHIS
• Vender สร ้ำง Table
Views ตำมนัน
้
• TDC
• ติดตัง้ แล ้ว Run ตลอด
• Transfer ข ้อมูลเท่ำทีจ
่ ำเป็ น
ไปสู่ Thai Care Cloud
• Data entry
• พัฒนำ User interface ครอบ
NHIS Database
• สร ้ำงฟอร์มผ่ำน EzForm
• คียข
์ ้อมูลเข ้ำ HIS Server
• Web service
• กำหนด Standard data
set ให ้ครบทุกแฟ้ ม ที่
จำเป็ นสำหรับ NHIS
• สร ้ำง Data dictionary
• สร ้ำง Table Views
• ทดสอบคำสงั่ ทีส
่ ร ้ำง
Table Views จนผ่ำน
• สร ้ำง Trigger สง่ ให ้ TDC
โดยอัตโนมัต ิ
• Synch ข ้อมูลระหว่ำง
Thai Care Cloud กับ
NHIS เฉพำะทีต
่ ้องกำร
• Monitor activity
เกีย
่ วกับ Server load
และสถำนะกำรสง่ ข ้อมูล
• NHIS Interface
• คียเ์ ข ้ำข ้อมูล แล ้ว ข ้อมูล
ไปอยูท
่ ัง้ HIS เดิม และ
NHIS database
• จัดกำรข ้อมูล
้
• ใชประโยชน์
ข ้อมูล
• Report
• Refer
• Epi
• Vaccine
• ANC
• Cancer
• CKD
• Etc.
• User added forms
• สร ้ำงฟอร์มเก็บข ้อมูลเพิม
่
ด ้วย EzForm
• Share forms ได ้โดยง่ำย
•
•
•
•
•
•
•
Unique Database structure
User interface can be tailored to one need
One way encoded
EzForm for user to create CRF by their own
Real time data transfer
Real time data monitoring and evaluation
Provide DSS-Decision Supporting System for
policy maker and care provider at point of care
Add on applications to make use of data
Cancer Care Cloud
Palliative Care Cloud
DM/HT Care Cloud
CKD Care Cloud
Patient Social Network
Line Group
Smart Card Fast Tract
สำหรับผู ้ป่ วยโรค ???
Improve care, Reduce cost, Problem solved
Evidence-based practice
Data collection, analysis, and report