Healthcare TrustHub
-------------------

The Healthcare TrustHub is a set of open-source, standards-based capabilities and web services
that demonstrate how a web services architecture solves the problem of physician/care provider
identity interoperability and portability in a healthcare federation that is readily
extensible, secure and preserves privacy.

Although the TrustHub normally runs on three seperate systems that represent three different
organizations in a healthcare federation, this distribution of software deploys the TrustHub
on a single system.

This distribution of the Healthcare TrustHub is logically separated into two applications:
I. Web Application and II. WorldVistA Connector.

References: The "Healthcare TrustHub Demonstration Walkthrough V1.0" provides a walkthrough
of a demonstration of the TrustHub in the context of a healthcare federation that consists
of three key entities: Hospital A, Hospital B and the TrustHub datastore.


I. Web Application 
------------------------

The Web Application is a bundle of components that implement healthcare services at Hospital A
and three web services: Put, Get and PatientRecord.

web.war.zip contains the web archive that deploys the Web Application on one JBoss container/system.
credentPhysician.zip is the zip file of source code for the Web Application. 

The web.war file should be deployed in the \server\default\deploy directory under the JBoss installation.

In this prototype, the database servers are hard-coded in the software.

The demo databases in Hospital A are created using the instructions in HospitalA_Login_Database.txt.

NOTE: To deploy the Web Application across three diferent JBoss containers/systems,
a rebuild would be requiured using the targets defined in build.xml.

Software Requirements: JBoss Application Server 4.2.3 GA; MySQL 5.0; JDK 1.5


II. WorldVistA Connector
------------------------

The WorldVistA Connector application is a bundle of components used by Hospital B that retrieves data from
a WorldVistA database, filters out non-physician records, transforms the data into the standard data model
used in the TrustHub datastore and invokes the Put web service.

credDataStore.war.zip contains the web archive that deploys the WorldVistA Connector application.
credDataStore+worldvista-source.zip is the zip file of source code for WorldVistA Connector.

The standard data model is contained in the ontology folder in credDatastore+worldvista-source.zip.
The standard data model is also used by the TrustHub data repository.

The sample data taken from WorldVistA is stored in i3pdump.sql.

Software Requirements: OpenVistA SemiViVa; MysQL 5.0; JBoss Application Server 4.2.3; Eclipse Ganymede

Running WorldVistA Connector: Main is at org.mitre.worldvista.Application; run with the following VM arguments: 
-Djava.security.auth.login.config="./config/jaas.config"