#CaboLabs EHRServer
Service-oriented clinical data repository for shared EHRs/EMRs/PHRs based on the openEHR standard.
- clinical data commit
- clinical data query (with aggregation and grouping capabilities)
- data synchronization (for backup and server clustering)
- multiformat XML/JSON
- web services (REST and SOAP)
- versioned openEHR objects
- data indexing
- Patient management
- EHR and contributions management
- Query building and testing
- Usage logs
- Clinical Record Managers
- EHR/EMR/PHR System Admins
- Healthcare Informatics Trainers & Students
- EHR/EMR/PHR apps should be written separately as clients of the EHRServer, but use the provided data services to access and send data from/to the EHRServer.
- Data analysis, data aggregation, business intelligence and other data processing related applications should be written separately from the EHRServer, all those systems can get data from the EHRServer using the provided data services.
/rest/ehrList(String format:XML|JSON, int max, int offset)
Get patients (this service will be obsolete when we move patient data to a specific demographic repo)
/rest/patientList(String format:XML|JSON, int max, int offset)
/rest/ehrForSubject(String subjectUid, String format:XML|JSON)
/rest/ehrGet(String ehrUid, String format:XML|JSON)
/rest/findCompositions(String ehrId)
/rest/queryList(String format:XML|JSON, int max, int offset)
/rest/query(String queryUid, String ehrId)
/rest/commit(String ehrUid, Collection versions, String auditSystemId, String auditCommitter)
- The XML should be valid against the XSD (see /xsd folder in project).
- version.uid should have this format: versioned_object_id::creating_system_id::version_tree_id.
- remember to use the archetype_id in the archetype_node_id attribute, of all the LOCATABLE elements inside version.data, when the node_id is 'at0000' (root node).
- for the encoding element in ENTRIES use 'Unicode' as the terminology and 'UTF-8' as the code_string, and be sure that the XML content is encoded with UTF-8.
- version.commit_audit.time_committed should be set by the client but will be overriden by the server
to be compliant with this rule:
- The time_committed attribute in both the Contribution and Version audits should reflect the time of committal to an EHR server, i.e. the time of availability to other users in the same system. It should therefore be computed on the server in implementations where the data are created in a separate client context.
- The parameters auditSystemId, auditTimeCommitted and auditCommitter are used to create the CONTRIBUTION for each commit.
To be compliant with the openEHR specs, the client system should use that data to create the VERSION.commit_audit structure. So
this rule is met:
- "CONTRIBUTION.audit captures to the time, place and committer of the committal act; these three attributes (system_id, committer, time_committed of AUDIT_DETAILS) should be copied into the corresponding attributes of the commit_audit of each VERSION included in the CONTRIBUTION..."
- list and show of EHRs, Compositions, Queries and Contributions (85% done)
- commit reception (just openEHR XML for now) (95% done)
- data indexing operation (90% done)
- openEHR archetype definition indexing (0% done)
- EHR management
- Directory management
- Composition management
- Query management
- Contribution management
- Patient management (should be externalized to a demographic server)
- User management
- Support rules for directory management (copying and moving compositions between folders)
- Composition versioning
- Persistent composition support
- Querying versioned objects
- Data syncrhonization between servers
- Support for AQL/EQL output (openEHR archetype-based query language)