Open source medical record system on CakePHP (OMCAKE)

Related tags

Logging omcake
Overview

omcake v0.1

小さな診療所用の電子カルテ(もどき)です。

奥村晴彦先生のtwitter

オープンソースの電子カルテシステムで、WebベースでクライアントOSを選ばず、 サーバは普通のLinuxで動くPHPとか、ないんだろうか。

で唐突に召喚され、それ、ウチにありますけど〜、とノコノコ出てきた次第です。

奥村先生曰く、

もともとは、つるぎ町半田病院の電カルがランサムウェアにやられて 使えなくなったという話から始まりました。病院にお金がなく、業者もクソで、 もともと簡単に侵入できるような環境だったようです。 ちゃんとした電子カルテシステムがオープンソースであれば、 われわれもボランティアで苦境に立っている病院に導入するのをお手伝いできて、 クソ業者にひどい状態にされることもないだろうと思った次第です。

奥村先生の問題意識に共感される方、ぜひ御協力ください。

動作環境等

ORCAサーバ使用が前提です。

ウチでは ubuntu20.04 postgresql12 cakePHP4 で動いています。

  • ORCAとの連携はORCA→omcakeの一方向。
  • エラー処理してません!(CakePHPのデバッガが頼り^^;;)
  • セキュリティはIPアドレス制限のみ。ログイン機能なし。

チケットプリンタで「受付順番チケット」を発行する機能をつけてます。(bashを呼んでるだけです。)

ショボいけど、食べてみてください。味は保証しません!

謝辞

  • 半角から全角へ変換するpostgres用関数(https://postgresweb.com/post-2295) を使わせてもらっています。
  • 電子カルテでは変更履歴をすべて残しておく必要があります。omcakeではOpenDolphinと同じく、差分を記録しないで保存時刻の異なるデータが貯まるようにしています。そして、保存時刻が最新のレコードを普段は表示させるために「同一グループの中で最大のレコードを取得する SQL を書く」(https://www.timedia.co.jp/tech/selecting-max-record-in-group-by/) が必須でした。これを知ったのでomcakeはできたようなものです。
You might also like...
Cakephp-book allows you to search in the official CakePHP documentation directly from the console.

CakeDC/Book plugin for CakePHP cakephp-book allows you to search in the official CakePHP documentation directly from the console. Requirements CakePHP

A sample CakePHP api application using CakeDC/cakephp-api and swoole as server

CakePHP Application Skeleton composer create-project --prefer-dist cakephp/app Added sample data using https://github.com/annexare/Countries Created m

Inventory and Sales System of Biosys Medical Trading
Inventory and Sales System of Biosys Medical Trading

Inventory and Sales System of Biosys Medical Trading This system will provide an organize and up to date inventory to the company. This will allow the

Medical Master or
Medical Master or "Medic-M" was built to reduce the hassle of buying medicine, provide medicine to the sick in a short time. It is an HTML, CSS, JAVASCRIPT and PHP based system.

Medical Master (Medic-M) | WELCOME TO Medic-M(MEDICAL MASTER) | | Introduction | Medical Master or "Medic-M" was built to reduce the hassle of buying

PHP Machine Learning with Naive Bayes to classify the right contraceptive based on your medical history

What is php-ml-bayes PHP-ML Bayes is a Machine Learning with Naive Bayes Algorithm to classify the right contraceptive based on your medical history.

RecordManager is a metadata record management system intended to be used in conjunction with VuFind.

RecordManager is a metadata record management system intended to be used in conjunction with VuFind. It can also be used as an OAI-PMH repository and a generic metadata management utility.

Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.

Admidio Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

Asset Compress Asset Compress is CakePHP plugin for helping reduce the number of requests, and optimizing the remaining requests your application make

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

This is a port of the VCR Ruby library to PHP. Record your test suite's HTTP interactions and replay them during future test runs for fast, determinis

Record the change log from models in Laravel

This package will help you understand changes in your Eloquent models, by providing information about possible discrepancies and anomalies that could

Logs which process created or modified a record

It is sometimes very useful to know which process created or modified a particular record in your database. This package provides a trait to add to your Laravel models which automatically logs that for you.

Record created by, updated by and deleted by on Eloquent models automatically.

quarks/laravel-auditors Record created by, updated by and deleted by (if SoftDeletes added) on Eloquent models automatically. Installation composer re

Genealogy (Silsilah) application to record our family members.
Genealogy (Silsilah) application to record our family members.

Genealogy Application Development in progress In development progress, any changes of table structure will be updated directly to corresponding migrat

Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Place where I record all knowledge gained for GraphQL from Laracasts & other tutorials.

Knowledge from Laracasts series: https://laracasts.com/series/graphql-with-laravel-and-vue What is GraphQL It is a query language for your API, and it

Allow your model to record the creation, update and deletion of user fingerprints in laravel packages

This laravel package will allow your models to record the the created, updated and deleted by User FingerPrints

LERN is a Laravel package that will record exceptions into a database and will notify you via Email, Pushover or Slack.

LERN is a Laravel package that will record exceptions into a database and will notify you via Email, Pushover or Slack.

PHPBack is an open source feedback system
PHPBack is an open source feedback system

About PHPBack is an open source feedback system you can use for your website. It gives your customers a way to communicate their ideas to improve your

Comments
  • ログイン機能

    ログイン機能

    厚労省ガイドライン https://www.mhlw.go.jp/stf/shingi/0000516275_00002.html の基準を満たしていないと厚生局から指導を受けますよ、と厳しいご指摘をいただきました。

    これは「紙カルテ」なんです、と言い張るわけにもいかないし。

    実装の手法をご教示ください。

    opened by keiichif 3
Owner
古林 敬一
古林 敬一
Flexible and rock solid audit log tracking for CakePHP 3

AuditStash Plugin For CakePHP This plugin implements an "audit trail" for any of your Table classes in your application, that is, the ability of recor

José Lorenzo Rodríguez 68 Dec 15, 2022
DatabaseLog CakePHP plugin to log into DB instead of files. Better to filter and search.

CakePHP DatabaseLog Plugin DatabaseLog engine for CakePHP applications. This branch is for CakePHP 4.0+. See version map for details. Features Easy se

Mark Sch. 41 Jul 29, 2022
CakePHP plugin to allow passing currently logged in user to model layer.

Footprint This plugin allows you to pass the currently logged in user info to the model layer of a CakePHP application. It comes bundled with the Foot

Muffin 88 Nov 14, 2022
[READ-ONLY] Collection library in CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Collection Library The collection classes provide a set of tools to manipulate arrays or Traversable objects. If you have ever used underscore

CakePHP 85 Nov 28, 2022
[READ-ONLY] The event dispatcher library for CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Event Library This library emulates several aspects of how events are triggered and managed in popular JavaScript libraries such as jQuery: An

CakePHP 21 Oct 6, 2022
[READ-ONLY] Validation library from CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Validation Library The validation library in CakePHP provides features to build validators that can validate arbitrary arrays of data with eas

CakePHP 39 Oct 11, 2022
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Utility Classes This library provides a range of utility classes that are used throughout the CakePHP framework What's in the toolbox? Hash A

CakePHP 112 Feb 15, 2022
OpenEMR is a Free and Open Source electronic health records and medical practice management application

OpenEMR is a Free and Open Source electronic health records and medical practice management application. It features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. It runs on Windows, Linux, Mac OS X, and many other platforms.

OpenEMR 2.1k Jan 9, 2023
[READ-ONLY] Easy to use Caching library with support for multiple caching backends. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP Caching Library The Cache library provides a Cache service locator for interfacing with multiple caching backends using a simple to use interf

CakePHP 49 Sep 28, 2022
[READ-ONLY] A flexible, lightweight and powerful Object-Relational Mapper for PHP, implemented using the DataMapper pattern. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

CakePHP ORM The CakePHP ORM provides a powerful and flexible way to work with relational databases. Using a datamapper pattern the ORM allows you to m

CakePHP 146 Sep 28, 2022