Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@clinicalhelper/clinicalhelper
Advanced tools
Readme
Clinical Helper is a cloud-ready mental health practice management application that runs a Nodejs backend accessing a MySQL database and a React web application user interface. These components are available on NPM and github
clinicalhelper:
https://github.com/clinicalhelper/clinicalhelper
https://www.npmjs.com/package/@clinicalhelper/clinicalhelper
clinicalhelperclient:
https://github.com/clinicalhelper/clinicalhelperclient
https://www.npmjs.com/package/@clinicalhelper/clinicalhelperclient
The Clinical Helper application has been tested and verified on the AWS HIPAA reference architecture.
For a quick tour of the Clinical Helper application click here. For detailed information on simplenodeorm see simplenodeorm.pdf
A typical Clinical Helper deployment architecture would consist of:
To get started:
{
"testMode" : false,
"dbConfiguration" : "/<install-location>/clinicalhelper/dbconfig/dbconfig.json",
"defaultMaxJoinDepth" : 4,
"defaultDesignTableDepth": 4,
"createTablesIfRequired" : false,
"apiPort" : 8888,
"logFile" : "/<install-location>/clinicalhelper/logs/clinicalhelper.log",
"logLevel" : "info",
"maxRowsForGetAll" : 1000,
"authorizer": "auth/ClinicalHelperAuthorizer",
"chartjsurl": "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js",
"ormModuleRootPath": "orm",
"context": "clinicalhelper",
"queryDocumentRoot" : "/<install-location>/clinicalhelper/reports/docs/queries",
"reportDocumentRoot" : "/<install-location>/clinicalhelper/reports/docs/reports",
"reportDocumentGroupsDefinition": "/<install-location>/clinicalhelper/reports/docs/report-document-groups.json",
"queryDocumentGroupsDefinition": "/<install-location>/clinicalhelper/reports/docs/query-document-groups.json",
"formCacheTimeout": 3660,
"reportCacheTimeout": 3660,
"lookupListCacheTimeout": 600,
"reportHierarchyCacheTimeout": 3660,
"defaultCacheTimeout": 60,
"sessionCacheTimeout": 3660,
"websiteUrl": "<clinical-helper-client-url>,
"redisCache": false,
"redisClusterPort": 0,
"redisClusterHost": "",
"aliases" : {}
}
For more information on the appconfig.json settings see the simplenodeorm documentation simplenodeorm.pdf
{
"pools": [
{
"dbtype": "mysql",
"host": "localhost",
"user": "<my-user>",
"poolAlias": "<my-poolalias>",
"password": "<my-password>",
"database": "clinicalhelper",
"supportBigNumbers": true,
"waitForConnections": true,
"connectionLimit": 20
}
]
}
Utilities for generating the Clinical Helper database are found in /<install-location>/clinicalhelper/dbconfig
clinicalhelper.sql
practice-update.sh
Create an in input data initialization file with data as follows:
SCHEMA_NAME="my-db-schemaname"
DBUSER_NAME="my-db-username"
PRACTICE_NAME="my-practice-name"
SUPER_USER_ROOT_PASSWORD="application-super-user-password"
SUPER_USER_PASSWORD=`echo -n "$SUPER_USER_ROOT_PASSWORD" | md5sum | sed 's/ .*$//'`
DBUSER_PASSWORD="my-database-password"
PRACTICE_ADDRESS="my-practice-address"
PRACTICE_CITY="my-practice-city"
PRACTICE_STATE="my-practice-state-abbreviation"
PRACTICE_ZIP="my-practice-zipcode"
PRACTICE_PHONE="my-practice-phonenumber"
From a location that contains clinicalhelper.sql, practice-update.sh and the data file run the following from the the command line:
./practice-update.sh init.data
This will generate a file named init.sql that you can use to initialize the Clinical Helper schema.
info: creating connection pools...
info: <my-poolalias> connection pool created
info: loading api ORM definitions...
info: loading orm definitions...
info: orm definitions loaded
info: ORM definitions loaded
info: starting api server...
info: ClinicalHelper server started
info: api server is live on port 8888
<VirtualHost 10.0.0.3:443>
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /<clinicalhelper-install-location>/clinicalhelper/cert/server.crt
SSLCertificateKeyFile /<clinicalhelper-install-location>/clinicalhelper/cert/server.key
ProxyRequests off
ProxyPreserveHost on
ProxyVia Full
<Proxy *>
Require all granted
</Proxy>
<Location /node>
ProxyPass http://localhost:8888
ProxyPassReverse http://localhost:8888
</Location>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
FAQs
practice management for mental health
The npm package @clinicalhelper/clinicalhelper receives a total of 2 weekly downloads. As such, @clinicalhelper/clinicalhelper popularity was classified as not popular.
We found that @clinicalhelper/clinicalhelper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.