Releases: mdht/mdht-models
DS4P pre-release R1.1
Early version for testing purposes...
Attaching Sample code as a java file (DS4PValidationExample.java). To use, ensure you have a local samples folder in your project and replace the value of DS4P_TEST_FILE_NAME with the name of a DS4P XML file you place there.
Multithreaded Draft
This is an attempt to add multithreading to the validation This has not been completely vetted and not completely
tested
Attached is the eclipse projects used
modified org.openhealthtools.mdht.uml.cda.consol.tests.TestDischargeSummary to test threading
initial testing has resulted in no race or concurrency issues
threading approach used ThreadLocal for EOCL_ENV and all Query
unscientifically running with about 5 threads seems to be efficient - more tends to run slower
This might be the additional memory overhead as each thread instance now must have all the current ocl queries
code snippet
Add the ability to limit execution of validate only Errors
ValidationResult result = new ValidationResult();
for (int i = 0; i <= 10; i++) {
sw.reset();
sw.start();
ClinicalDocument cd = CDAUtil.load(
new FileInputStream(
"/Users/seanmuir/Documents/runtime-EclipseApplicationNeon/Temp/EDM_AIS_Test_1_CCDA_CCD.xml"));
sw.stop();
System.out.println(" CDAUtil.load " + sw);
sw.reset();
sw.start();
CDAUtil.validate(cd, result);
sw.stop();
System.out.println(" CDAUtil.validate just errors " + sw);
sw.start();
CDAUtil.validate(cd, result, Diagnostic.ERROR);
sw.stop();
System.out.println(" CDAUtil.validate just errors " + sw);
}
Consol1 and MU2 C-CDA R1.1 v2.5.18.20160819_Consol1
model: 2.5.18.20160819
plugins: 3.0.0.201608190501
Notable changes since last consol1 build (latest changes at bottom):
-Revert Administrative Gender value set code UNK to UN (model) (commit: f170140) (detail / githubweb)
-Revert Administrative Gender value set code UNK to UN (src) (commit: f08e089) (detail / githubweb)
-Revert Administrative Gender value set code UNK to UN (test) (commit: 98dee82) (detail / githubweb
-1st full MU2 xform/relod/regen post eclipse (src) (commit: e0fb604) (detail / githubweb)
-1st full MU2 xform/relod/regen post eclipse (test) (commit: 314cedf) (detail / githubweb)
Notes:
-Including WARs
-In the future we will stop consol1/MU2 releases as it will be deprecated in a sense. Instead, we will allow the use of MU2 in the consol2 model (and release that with consol2), which contains all of the R1.1 templates in addition to R2.1 templates. This way, R1.1 /MU2 validation can be done without ever needing a consol1 jar. In addition, all updates across the two specs will be in sync since they will be applied to the same (consol2) model. This also makes software implementation using our APIs easier/more seamless as less code/projects will be required. The source code for using the API will be exactly the same.
Consol2 C-CDA R2.1 v2.5.17.20160816
model: 2.5.17.20160816
plugins: 3.0.0.201608160501
Changes since last build (https://github.com/mdht/mdht-models/releases/tag/v2.5.16.20160725_Consol2):
-Implement R2.1 errata 1038 Comment Activity/Author Participation (uml) (commit: d01725d) (detail / githubweb)
-Implement R2.1 errata 1038 Comment Activity/Author Participation (src) (commit: 8e24360) (detail / githubweb)
-Implement R2.1 errata 1038 Comment Activity/Author Participation (test) (commit: 0105f78) (detail / githubweb)
-Fix CCD performer typeCode And implement errata 1017 (model) (commit: 54c6a84) (detail / githubweb)
-Fix CCD performer typeCode And implement errata 1017 (src) (commit: f72bcaa) (detail / githubweb)
-Fix CCD performer typeCode And implement errata 1017 (test) (commit: 7dd1c7e) (detail / githubweb)
-Implement errata 1045 Planned Medication Activity effectiveTime (model) (commit: 8bed5d3) (detail / githubweb)
-Implement errata 1045 Planned Medication Activity effectiveTime (src) (commit: fb7204f) (detail / githubweb)
-Implement errata 1045 Planned Medication Activity effectiveTime (test) (commit: fd5b933) (detail / githubweb)
-Initial version of DS4P (commit: f7feaff) (detail / githubweb)
Unfortunatley, a validation WAR has not been included with this build.
Consol2 C-CDA R2.1 v2.5.16.20160725
model: 2.5.16.20160725
plugins: 3.0.0.201607250501
Changes since last build (https://github.com/mdht/mdht-models/releases/tag/v2.5.15.20160713_Consol2):
-Relax Planned Supply (V2) rules '1098-' 32092/32093/32096 (model) (commit: a3767fb) drb.gfc / githubweb
-Relax Planned Supply (V2) rules '1098-' 32092/32093/32096 (src) (commit: b4a4f30) — drb.gfc / githubweb
-Relax Planned Supply (V2) rules '1098-' 32092/32093/32096 (test) (commit: 58feaff) — drb.gfc / githubweb
-Further isolate Planned Supply (V2) rules to their specific instances (commit: 0d3fcf3) — drb.gfc / githubweb
-Fix for ETT 2239 2240 2241 typeCode issues (model) (commit: 59e450f) — drb.gfc / githubweb
-Fix for ETT 2239 2240 2241 typeCode issues (src) (commit: 222c63b) — drb.gfc / githubweb
-Fix for ETT 2239 2240 2241 typeCode issues (test) (commit: 07a8bf0) — drb.gfc / githubweb
Adding Validation WAR with new build.
Consol2 C-CDA R2.1 v2.5.15.20160713
model: 2.5.15.20160713
plugins: 3.0.0.201607130501
Changes since last build (https://github.com/mdht/mdht-models/releases/tag/v2.5.13.20160630_Consol2):
-Allow MentalStatusObservation(V3) in an organizer (model) (commit: 583f6cb) — drb.gfc / githubweb
-Allow MentalStatusObservation(V3) in an organizer (src) (commit: 429776e) — drb.gfc / githubweb
-Allow MentalStatusObservation(V3) in an organizer (test) (commit: fc8c145) — drb.gfc / githubweb
-Medical Equipment Organizer CONF:1098-32380 XOR to OR (model) (commit: 8c5e348) — drb.gfc / githubweb
-Medical Equipment Organizer CONF:1098-32380 XOR to OR (src) (commit: 3f83f02) — drb.gfc / githubweb
-Medical Equipment Organizer CONF:1098-32380 XOR to OR (test) (commit: 26fb055) — drb.gfc / githubweb
Adding Validation WAR with new build.
Consol2 C-CDA R2.1 v2.5.14.20160708
model: 2.5.14.20160708
plugins: 3.0.0.201607080501
Changes since last build (https://github.com/mdht/mdht-models/releases/tag/v2.5.13.20160630_Consol2):
-Add Birth Sex Observation template (Test) (commit: 4f7c19e) (details)
-Add Birth Sex Observation to Social History Section (test) (commit: c91575a) (details)
-Add BirthSexObservationTest to test suite (commit: a40fe4c) (details)
-Limit enforcement of PatientReferralAct/ER/@typecode=SUBJ (test) (commit: 2cd9781) (details)
-Revert Administrative Gender valueSet code to UN (gen + test) (commit: 8ea8a77) (details)
Adding Validation WAR with new build.
Consol2 C-CDA R2.1 v2.5.13.20160630
Includes the 'mdht' and 'non_mdht' folders only. Does not include the build related dependencies.
This build is intended to be used to quickly update (replace the jars included with your current, older jars) an existing implementation such as one used for validation purposes.
Identical to v2.5.12.20160628_Consol2 except it includes the following fix:
Author Participation / assignedAuthor / representedOrganization no longer requires a classCode equal to ORG. The outdated R2.0 requirement (CONF:1098-31477) was removed.
@drbgfc Remove classCode=ORG 1098-31477 R2.0 rule from consol2 (model) 3e3f06c
@drbgfc Remove classCode=ORG 1098-31477 R2.0 rule from consol2 (gen) bbaa5ee
@drbgfc Remove classCode=ORG 1098-31477 R2.0 rule from consol2 (tests) 9ad24be
Consol2 C-CDA R2.1 v2.5.12.20160628
Includes the 'mdht' and 'non_mdht' folders only. Does not include the build related dependencies.
This build is intended to be used to quickly update (replace the jars included with your current, older jars) an existing implementation such as one used for validation purposes.
Identical to v2.5.11.20160627_Consol2 except it includes an implementation of Errata 1015.
Identical to v2.5.10.20160614_Consol2 except it includes an implementation of Errata 995 and 1015.
Related HL7 Errata links:
http://www.hl7.org/dstucomments/showdetail_comment.cfm?commentid=995
http://www.hl7.org/dstucomments/showdetail_comment.cfm?commentid=1015
Consol2 C-CDA R2.1 v2.5.11.20160627
'mdht' folder only as uses the same dependencies as previous builds otherwise (and really more for internal use).
Identical to the last June Consol2 release except it includes an implementation of Errata 995.
http://www.hl7.org/dstucomments/showdetail_comment.cfm?commentid=995