DBC GGz module (Netherlands)

drbosman wrote on Sunday, December 02, 2007:

We are nearly ready to add a DBC module for ambulatory mental health care (a DRG-like system used in the Netherlands) and the code changes work for us but we are not sure if our changes haven’t broken any of the original OpenEMR stuff (there will be a “DBC on/off switch” and we know that “on” works but haven’t tested the “off” position).
Basically we are looking for some volunteers testing the new code and making sure it does not interfere with their regular OpenEMR use.

So basically you add the new code and changed files to your system. If everything works as it should you should not notice any differences; since you will not be using the DBC module. This testing is essential before committing our diffs to CVS because of unanticipated effects of our changes on parts of OpenEMR we do not use ourselves (e.g., billing; claims; etc.)

lemonsoftwarero wrote on Monday, December 03, 2007:

Hello all,

This is a list with modified files for our DBC module:

DBC MODIFIED FILES
03.Dec.2007

(all the folders are starting from openemr root)

DBC specific files

library/

DBC_functions.php
different functions used in DBC system; somehow the ‘core’ for the system

DBC_files.php
there functions are used to generate the report files; independent from the system itself (it contains all th required functions, without any links to other files)

-----------------------------------
interface/patient_file/encounter/

as.php
functions used in AJAX methods from DBC module

dbc_aschoose.php
module used to select five DSM-IV diagnoses

dbc_close.php
used when we close a DBC

dbc_content
used to display content for a selected DBC

dbc_diagnose_as1 to dbc_diagnose_as5
used to select diagnoses from type I – V for a DBC
open different popup windows

dbc_history.php
keeps track of all DBC associated with a ZTN (care route)

-----------------------------------
js/

jquery.js
jquery-calendar.js
jquery-calendar.css -> jQuery 1.1.4 - New Wave Javascript

-----------------------------------
Common files
-----------------------------------

library/

patient.inc
new functions inserted (getPatientDataNL; getFacilities)
modified newPatientData() function -> new args ($nstreet, $nnr, $nadd, $prefixlast, $prefixlastpartner, $lastpartner)
new sql statements who deal with new args

-----------------------------------
interface/patient_file/encounter/

coding.php
implement specific DBC links: Add DSM-IV, etc…

encounter_bottom.php
implement some specific menu items (Content; DBC History)

-----------------------------------
interface/patient_file/summary/

demographics.php

demographics_full.php
addresses in dutch format
names in dutch format
care provider & referer new fields

demographics_save.php
modified patient date (added addresses, names and other infos – dutch specific)
call newPatientData() with new infos

-----------------------------------
/interface/usergroup/

user_admin.php
add job description dropdown for DBC

usergroup_admin.php
add job description dropdown for DBC

facility_admin.php
facilities updating statement (cl_facility_circuit)

-----------------------------------
interface/

globals.php – DBC switch ($GLOBALS[‘dutchpc’])

-----------------------------------
New Tables
-----------------------------------
cl_activiteit
cl_aux
cl_axes
cl_beroep
cl_careroute_numbers
cl_circuit
cl_circuit_dbc
cl_diagnose
cl_event_activiteit
cl_patient_number
cl_productgroep
cl_productgroep_dbc
cl_providers
cl_redensluiten
cl_redensluiten_dbc
cl_referers
cl_time_activiteit
cl_trace_dbc
cl_user_beroep
cl_zorg
cl_zorg_dbc

patient_data_NL
-----------------------------------