onc-healthit / ccda-scorecard

Source code for the C-CDA Scorecard
https://www.healthit.gov/scorecard
BSD 2-Clause "Simplified" License
21 stars 7 forks source link

C-CDA Scorecard

Support

GitHub Issues are not used to manage issues for this repository. Please report any issues you may have on the ETT Google Group. Our technical team will address all questions there. Thank you.

Overview

API

Setup Instructions

  Dependencies

  Database

  Tomcat

  Rules

  XML Configuration Path (Using pre-built WAR)

  Override Path (Building WAR from source)

Troubleshooting

  Public Certificate (PKIX)

Overview

API

Setup Instructions

( id integer NOT NULL DEFAULT nextval('scorecard_statistics_id_seq'::regclass), doctype character varying(100) COLLATE pg_catalog."default", docscore smallint NOT NULL, patientscore smallint NOT NULL, allergiessectionscore smallint NOT NULL, encounterssectionscore smallint NOT NULL, immunizationssectionscore smallint NOT NULL, medicationssectionscore smallint NOT NULL, problemssectionscore smallint NOT NULL, proceduressectionscore smallint NOT NULL, socialhistorysectionscore smallint NOT NULL, vitalssectionscore smallint NOT NULL, resultssectionscore smallint NOT NULL, miscscore smallint NOT NULL, docname character varying(500) COLLATE pg_catalog."default", createtimestamp timestamp without time zone DEFAULT now(), oneclickscorecard boolean NOT NULL DEFAULT false, patientissues smallint, allergiessectionissues smallint, encounterssectionissues smallint, immunizationssectionissues smallint, medicationssectionissues smallint, problemssectionissues smallint, proceduressectionissues smallint, socialhistorysectionissues smallint, vitalssectionissues smallint, resultssectionissues smallint, miscissues smallint, ccdadocumenttype character varying(100) COLLATE pg_catalog."default", directemailaddress character varying(100) COLLATE pg_catalog."default", CONSTRAINT scorecard_statistics_pkey PRIMARY KEY (id) )

WITH ( OIDS = FALSE )

TABLESPACE pg_default; ALTER TABLE public.scorecard_statistics OWNER to scorecarduser;


<span id="tomcat"></span>
* Tomcat
  * Inside the latest version of Tomcat, add the following snippet under the GlobalNamingResources tag in server.xml
```XML
<Resource auth="Container" 
      driverClassName="org.postgresql.Driver" 
      maxActive="100" 
      maxIdle="30" 
      maxWait="10000" 
      name="jdbc/site_scorecard" 
      password="scorecarduser" 
      type="javax.sql.DataSource" 
      url="jdbc:postgresql://localhost/site_scorecard" 
      username="scorecarduser"/>

Note: If building the WAR yourself vs using an appropriate local WAR from the releases page, you have the option to skip configuration via scorecard.xml. Otherwise, if using a pre-built WAR, you will need to configure with scorecard.xml as described next

Troubleshooting