
3.0.7 - Reference Platform CDA Library
----------------------------------------------------
- Updated the narrative in the CDA Library to align with the Best Practice Guidelines for Clinical Document Presentation
- Included a class called OIDHelper to assist in converting an UUID to an OID 
- The ICodableText - CodeSystemName is now an optional field not a mandatory field in CDA Library
- Updated the samples to include valid Snomed and NCTIS codes 
- Removed Date of Resolution from event Summary as this field is not included in the Implementation Guide
- Fixed the bug where an empty string for Medical History Item Comment produced an invalid CDA structure
- Removed all free text (structDoc.Text) from the Narrative and placed it in a (strucDocText.paragraph)
- Added 'Not stated' to omit the address purpose in all addresses


3.0.6 - Compliant with CCA Validator version 1.12.5
----------------------------------------------------
- The Administration Observation sections are optional for point to point delivery
- Updated the Report Content Other Test Result section to allow plain text or a file attachment
- Updated the ‘Mode of Separation’ for discharge summary to display friendly display names
  (note this change will only be compatible with the next release of Schematron)
- Enable the ability to specify the file location for an attached LOGO file


3.0.5 - Compliant with CCA Validator version 1.12.3
----------------------------------------------------
- Include validation to ensure that the Logo.png file is included in the output directory

3.0.4 - Compliant with CCA Validator version 1.12.3
----------------------------------------------------
- Restriction DateOfResolutionRemission must have a precision of 'Day', 'Hour' or 'Year' with no Time Zone specified"
- Restriction ReferralDateTime must have a precision to the 'Second'
- Remove space from tele details for a ElectronicCommunicationDetail
- Added helper function to allow the addition of EI (Employee Number) as an EntityIdentifier
- Include integrity check for logo and 1A attachments

3.0.3 - Compliant with CCA Validator version 1.12.2
----------------------------------------------------
- Updated section display name from 'Diagnostic Test Result’ to 'Diagnostic Investigation'
- Allow multiple 'Diagnostic Investigation' sections

3.0.2 - Compliant with CCA Validator version 1.12.2
----------------------------------------------------
- Added section Diagnostic Test Result to Diagnostic Investigations
- Updated the narrative exclusion statements to appear on one line

3.0.1 - Compliant with CCA Validator version 1.12.2
----------------------------------------------------
- Update the validation message for the object IAdverseReactionsWithoutExclusions where no AdverseReactions exists
- Fixed the Nominated Contact Provider so that person names appear when no address or identifiers are specified 

3.0.0 - Compliant with CCA Validator version 1.12.2
----------------------------------------------------
- Changed narrative Imaging Examination Result Details for Diagnostic Investigations 
- Allow NullFlavours in Discharge Mode of Separation 
- Removed brackets from the Date Time narrative display to be compliant with the rendering specification
- Updated the Discharge Summary disposition code display name to be compliment with the IG 
- Added the ability to add a custom narrative for every section using the 'CustomNarrative' variable
- Removed NarrativeHL7Text because this is overridden by the 'CustomNarrative' 
- Fixed the duplication of the ‘Recipient Name’ in the Narrative
- Removed the conformance Level 1a, 1b and 2 level documents for the consumer because the minimum conformance level for consumer documents is 3A
- Refactored the Time narrative attribute and removed ISO8601DateTimeFormatter to be constant with how are narrative items are generated 
- Allow the ‘Unit of Age’ to be specified for the subject of cares ‘Age’ 
- Merged enums DocumentTemplateType & CDADocumentType because they contained the same values
- Removed DocumentType cdaContext from the each CDA document because the variable was never used in the generator
- Changed the type of setId to Identifier to allow additional elements
- Added DocumentId to cdaContext as an Identifier


2.0.8 - Compliant with CCA Validator version 1.12
--------------------------------------------------
- Update narrative structure for Record of 'Recommendations and Information Provided' &  'Arranged Services '


2.0.7 - Compliant with CCA Validator version 1.12
--------------------------------------------------
- Update for PathologyTestResult model to allow for XPre narrative.
- Added support for nullFlavors for various elements.
+ Support for consumer documents:
  + Consumer Entered Notes
  + Consumer Entered Health Summary
  + Advanced Care Directive custodian Record
- Administrative observations has been moved to the bottom of the CDA document.
- Various updates for compliance with CDA validator version 1.12.


2.0.6 - Compliant with CCA Validator version 1.11
--------------------------------------------------
- Updated the CDA sample code to generate 1a, 1b, 2, 3A min/max conformance documents for each document type.


2.0.5 - Compliant with CCA Validator version 1.10
--------------------------------------------------
- Updated CDA identifiers to enable a root (valid uid or oid) and extension attribute. 
- Updated Coadable text validation to only allow a displayName or code if a codesystem exists.
- Updated 'Result Group Specimen Detail' & 'Test Specimen Detail' code for Specialist Letter to show the correct code.
- Updated the library to show comments at the top of the CDA documents to show the current version and compliant CDA Validator version.
- Added an attribute to allow a XSL Stylesheet to be included in the App.config. This field is empty by default.
- Updated sample code to be compliant to level 3B for the CDA libraries.
- Updated Gender display names.
- Removed validation for HPIO in identifier lists.


2.0.4
-----
- Updated the table view of the Requested Services in the Narrative.


2.0.3
-----
- Updated ISO8601DateTime so that any time that is more specific than a day SHALL include a timezone.
- Removed the duplication of Requested Services in the Narrative.


2.0.2
-----
- Introduced a new type for recording date/time and duration that allows a specified level of precision, and also for a setting for a time span
- Fixed NullFlavor='OTH' issue
- Changed identifiers for specimen type from string to a complex Identifier type


2.0.1
-----
- Corrected the header "Reason for Ceasing" to "Reason for Change" in section "Current Medications"
- Corrected duplicated value for "Quantity Supplied" in section "Current Medications"
- Changed the display name of "Snomed CT-AU" to "SNOMED CT-AU"
- Anatomical location image now renders correctly


2.0.0
-----
- Alignment to NCAP version Implementation Guides.

Known issues:
- Date and time is specified using the .NET type DateTime. This introduces a restriction where general date / time (eg: Jan 2008) cannot be set.
- Duration is represented by the "Duration" type in the CDA library, which allows the specification of a start and end date/time. It is currently not
possible to set a time span (eg: 6 weeks).
- NullFlavor='OTH' is set alongside OriginalText if CodeSystem isn't specified for codable text elements.


1.4.2
-----
- Resolved an issue with the narrative generator incorrectly displaying the difference between two dates.
- Added code that allows the re-use objects inherited from a base class in the header.
- Fixed the narrative for empty Adverse Substance Reactions.
- Fixed PCB enum to show No Benefit.


1.4.1
-----
- Resolved a number of issues with CCA Schematron Validator 1.7
- Updated DischargeSummary to allow for ICodableTranslation
- Fixed the E-Referral 'Other Medical History' to reflect the IG e-Referral CDA Implementation Guide 1.1 - 9 Sep 2011
- Updated the codableText for Shared Health Summary to remove the requirement for a mandatory CodeSystem


1.4.0
-----
- Fixed Typo spelling of E-Referral
- Updated legal authenticator to remove mandatory fields
- Resolved a number level 2 conformance for issues with Schematron for Event Summary, E-Referral and Shared Health Summary 


1.3.1
-----
- All CDA documents changed from ClinicalDocument/typeId/@extension="POCD_HD00040" to ClinicalDocument/typeId/@extension="POCD_HD000040"


1.3.0
-----
- Provide the ability hide Administrative Observations in the narrative
- Include the OID’s for Medicare Identifiers 
- Update code to address known CCA schematron issues
- Update to make HPII and IHI optional fields
- Update to make Date of Birth and Gender optional fields in Author
- Fixed the TimeSpan in Specialist Letter Recommendations section to show both dates


1.2.9
-----
- Updated the CDA Schema to 1.2
- Updated to include Prescription Request CDA document
- Updated to include Dispense Record CDA document
- Removed dormant reference to Shared Health Summary Review
- Fixed the spelling of “Diagnoses” throughout the solution
- Correct the narrative for “Response Details”  
- Added a templateID which references the CDA Rendering Guide


1.2.8
-----
- Split the solution into two seperate libaries 
  - V2 ETP solution this generates ETP documents that refer to 'http://ns.electronichealth.net.au/Ci/Cda/Extensions/2.0'
  - V3 CDA solution this generates CDA documents that refer to 'http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0'
- Updated to reflect changes from eReferral_Change_Document-1889
- Updated to reflect changes from eDischargeSummary_ChangeDocument-20111031
- Updated to reflect changes from Shared_Health_Summary_Change_Document-20111031
- Updated to reflect changes from Specialist_Letter_Change_Document-20111031
- Include Event Summary CDA document
- Include the ability to add a file into the narrative as a link by setting the media type to text
- Minor changes to the narrative


1.2.7
-----
- Allow multiple Medical Record Numbers (MRN) to be added to the asEntityIdentifier field in the record target
- Fixed all bugs relating to null checks
- Fix entitlements national identifiers for HPIO/HPII/IHI accross all CDA documents to use root and assigningAuthorityName
- Add encompassing encounter for Specialist Letter
- Change the template id to '1.2.36.1.2001.1001.101.100.16565' for Shared Health Summary
- Change the template id to '1.2.36.1.2001.1001.101.100.20000' for Discharge Summary
- Change the extension attribute to '1.1' for the Shared Health Summary
- Change the extension attribute to '1.1' for Referral
- Change the extension attribute to '1.1' for Specialist Letter
- Fixed a bug related to creating a DiagnosticInvestigations.PathologyTestResult.SpecimenDetail.HandlingAndProcessing.ReceivedDateTime the null check was incorrect
- Changed output to UTF-8


1.2.5
-----
- Fixed an issue where the narrative generation engine was using the displayName for codable text enetries, rather than utilizing the Orignial Text (if populated)
- Fixed some null references within the narrative generation engine when a minimal structured body is sent to the CDA generator and subsequently the narrative generation engine.


1.2.4
-----
- Fixed entitlement id to be the identifier and not a GUID (this affects all CDA documents)



1.2.6
-----
- Added ePrescription CDA generator
- Removed extensions from entity identifiers
- Updated discharge summary from change log 20110916
- updated shared health summary sample code to resemble PCEHR SHS long scenario


1.2.3
-----
- Added Discharge Summary 
- Added MRN to the CDA 
- Changed ID to GUIDs for all CDA Documents
- Added LOGO image to CDA document


1.2.2
-----
- Added Ms to the list of possible titles that can be associated with a person
- Added the ability to serialize the model
- Added a SerializeModel method to each of the document factories
- Applied XML Comments to Country and Occupation enums, thus removing all warnings from the solution.


1.2.1
-----
- Changed the display name on the Shared Health Summary CDA Doument to "Patient Summary"
- Changed the CDA Context Model to contain a root ID; this is an optional property allow for a root ID to be passed though to the document generator
- Changed the CodableTexty object to allow for a list of translation codes

- Added an StructedXMLBodyFile property, this allows for a document to be added as the body for the CDA document.
- Added an INarrativeGenerator interface, and modified to the section generation methods to accept a the interface, thus providing a means by which to easily change how the narrative for each section is generated.


1.2.0
-----
- Added SpecialistLetter


1.0.0 (Original release)
-----
- SharedHealthSummary
- E-Referal