Skip to content

yanxuehe/healthcaredemos2i

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIS Healthcare DEMO

Healthcare information system are complex and problem comes from dealing with specific formats in healthcare industry it is highly complex, with multiple hierarchy and meanings, and that's not all there are more then one formats around. Beside the data format issue, the number of entities or system in healthcare are enormous, how do we make sure our HIS stays agile, lean, but at the same time integrating with all the necessary parties and ensures security, modularity of services and flexibility. Here is an example demo that shows how to achieve this with JBoss Fuse on OpenShift.

In this demo, we will be simulating Four different departments that are typically in hospital.

  • Registration
  • Clinic
  • Laboratory
  • Radiology

And a party that is very common outside the hospital itself,

  • Pharmacy

You will get to see - how to build microservice for each departments, - how to handle HL7, FHIR dataformat, - how to build a robust architecture, - how to talk in different protocol Through a normal medical visit in the demo.

Installation

In this version of healthcare, you don't need to compile or build anything, everything is build on top of OpenShift.
Just make sure you have openshift client installed in your local environment.

Login to OpenShfit

$ oc login -u YOUR_ID -p YOUR_PWD

Create template for A-MQ and Fuse. NOTE: This only apply those who runs CDK, if you are running your application on OpenShift 3.2 and above, please ignore this step.

	$ oc new-project openshift
	$ oc project openshift
	$ oc create -f https://raw.githubusercontent.com/jboss-fuse/application-templates/master/fis-image-streams.json
	$ oc create -f https://raw.githubusercontent.com/jboss-openshift/application-templates/master/amq/amq62-basic.json

Create new project to host all applications

	$ oc new-project fusedemo

Before we get started, first, create a messaging service

	$ oc new-app amq62-basic --param=MQ_PROTOCOL=openwire

Start build and deploying healthcare applications

$ oc new-app -f support_yaml/hisesb.yaml                    
$ oc new-app -f support_yaml/fhiresb.yaml
$ oc new-app -f support_yaml/clinichl7service.yaml
$ oc new-app -f support_yaml/laboratoryservice.yaml
$ oc new-app -f support_yaml/radiologyservice.yaml
$ oc new-app -f support_yaml/registryservice.yaml
$ oc new-app -f support_yaml/healthwebconsole.yaml

Expose all service to route.

	$ oc expose svc clinicservice
	$ oc expose svc fhiresb
	$ oc expose svc healthwebconsole
	$ oc expose svc hisesb
	$ oc expose svc laboratoryservice
	$ oc expose svc radiologyservice

Go to https://github.com/openshift-demo/healthcareweb, clone it to your own repository And go to 'health.html' and update the urls to your exposed routes.

 Replace all
 healthwebconsole-rhteapitemp.apps.ose.rhsummit.openshift.online 
 to 
 healthwebconsole-YOUR_OPENSHIFT_DOMAIN
 
 clinicservice-rhteapitemp.apps.ose.rhsummit.openshift.online
 to
 clinicservice-YOUR_OPENSHIFT_DOMAIN
 
 laboratoryservicews-rhteapitemp.apps.ose.rhsummit.openshift.online
 to
 laboratoryservicews-YOUR_OPENSHIFT_DOMAIN
 
 radiologyservice-rhteapitemp.apps.ose.rhsummit.openshift.online
 to
 radiologyservice-YOUR_OPENSHIFT_DOMAIN
 
 hisesb-rhteapitemp.apps.ose.rhsummit.openshift.online
 to
 hisesb-YOUR_OPENSHIFT_DOMAIN

Deploy healthcareweb onto OpenShift

	$ oc new-app --image-stream=openshift/php:5.5 --name=healthcareweb --code=https://github.com/YOURGITHUBACCOUNT/healthcareweb.git

Install GUI page and frontend for healthcare install

	$ oc expose svc healthcareweb                       

Finally, start playing with the demo by registering your info

http://healthcareweb-fusedemo.YOUR_OPENSHIFT_DOMAIN/health.html

Running the demo

Now, imagine you are working in a clinic or a hospital, you work in registration, a patient comes in, so first thing you will have to do is to register this patient, So type in patients' family name and first name, then enter an unqiue HIS number.

This registration information will then pass on and notify all departments in the medical center, there are two things here, we need to kwon where to send the registration information and since the registration system only generates HL7 data, we need some how to interpret it.

Supporting Articles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%