- Added throws IOException to the Test files and helper files
- New PdfMedia.java for when the attachment type is known to be PDF.
- references to AMTCode (v2) removed where AMTv3Code alternative is available and required for conformity
- removed dependency on Joda Time and replaced with java.time equivalents
- removed dependency on Schematron allowing library to be used without it
- removed dependency on nehta-smi-common-utils-1.2.jar and incorporated three classes into project instead
- removed dependency on nehta-vendorlibrary-java-common-1.0.1.jar
- removed dependency on nehta-rpvis-compiled-xsd-cda-common-2.1.jar (stored locally
- added dependency on cda-schema-2.1.1.jar available through Maven repository
- changed street number in common/address/AustralianAddress to allow for nulls and updated code to handle nulls
- code cleanup
- fixed optional date in Service Referral [SERVICE PROVIDER > Participation Period]
- fixed optional sections in event summary
- relaxed the HPII type for path/di allowing for other identifiers
- fixed location of generated shs min file
- removed validation check for telephone
- for PSML, made the urgency flag optional + updated sample
- for ES, updated error mess for attachment in helper
- removed 6 files no longer required
- Java library now supports following CDA documents' formats:
Sr# | CDA Document | Format 1A | Format 1B | Format 2 | Format 3A |
---|
- | Advanced Care Directive | ✗ | ✗ | ✗ | ✔
- | Advanced Care Planning | ✗ | ✗ | ✗ | ✔
- | Diagnostic Imaging Report | ✗ | ✗ | ✗ | ✔
- | Discharge Summary | ✔ | ✔ | ✔ | ✔
- | EReferral | ✔ | ✗ | ✗ | ✔
- | Event Summary | ✗ | ✗ | ✗ | ✔
- | Goals of Care | ✗ | ✗ | ✗ | ✔
- | Pathology Report | ✗ | ✗ | ✗ | ✔
- | Pharmacist Shared Medicines List | ✔ | ✗ | ✗ | ✗
- | Service Referral | ✔ | ✔ | ✗ | ✔
- | Shared Health Summary | ✗ | ✗ | ✗ | ✔
- | Specialist Letter | ✔ | ✔ | ✔ | ✔
- Updated nehta-schematron-check Jar to use File.pathSeparators
- Updated constructor for shs/es allowing for non snomed codes to be used in coded field.
- Implemented EventSummary
- Existing tests refactored
- Fixed up and improved previous tests
- added the 'Date time of Dispense Event' to the narrative
- added the entitlement duration to 'Subject of Care Entitlements'
- removed the dispense quantity field from the body and narrative
- added the dispense item identifier to the 'supply/id' field
- sample code included for NPDR, Pathology, Diagnostic Images and Shared Health Summary.
- included sample code for e-Referral 1A only