﻿********************************************************************************
		What is SDK for  CCD ?
********************************************************************************


C-DAC’s  Medical  Informatics  SDK  for Continuity of Care Document(CCD) is a set of object oriented APIs which can be used to make the Healthcare Applications compliant to HL7/ASTM CCD Release 1 specification. 

Note: This SDK is developed, build & tested on AdoptOpenJDK 1.8(202).
      Use this SDK for development purpose.

********************************************************************************
		 CCD SDK Prerequisite
********************************************************************************

1. JDK 1.8 or above should be installed on machine.

2. Set the environment variables for Java.

	e.g : Setting the environment variables for Java considering AdoptOpenJDK 1.8 is installed.
		JAVA_HOME - C:\Program Files\Java\jdk8u202-b08(System Environment Variable in case of Windows)
		JAVA_HOME - export JAVA_HOME=/usr/lib/jvm/jdk8u202-b08 (modify '/etc/profile' - in case of LINUX)

3.Append the path value for JAVA in the PATH environment variable.
	e.g :  C:\Program Files\Java\jdk8u202-b08\bin
	       export PATH=/usr/lib/jvm/jdk8u202-b08/bin:$PATH (modify '/etc/profile' - in case of LINUX)



********************************************************************************
	SDK's Folder Structure.
********************************************************************************

Extracted zip contains following:
1. samplecodes - Folder contains sample codes demonstrating SDK's features.
2. lib - Folder contains SDK jars.
3. Resources - Folder contains stylesheet.
4. readme.txt - assist you how to set up SDK.
5. license.txt and NOTICE.txt.

********************************************************************************
	Third Party Components
********************************************************************************
Download third party component jars listed below and include them in your project's build path
	jaxb-api-2.2.jar
	lucene-core-4.7.1.jar
	lucene-queryparser-4.7.1.jar
	csnolib.jar
Note: csnolib.jar can be obtained from C-DAC's Toolkit For SNOMED CT

********************************************************************************
		Copy HL7 CDA Schema to Resources
********************************************************************************
Please follow the instructions given below to use validate functionality.

1. Go to HL7 organization website and Register/Login.

2. Download HL7_CCD_final.zip which contain HL7 CDA Schema Package (http://www.hl7.org/documentcenter/private/standards/cda/igs/HL7_CCD_final.zip).

3. Copy CDA Schema Package with the folder name "CDASchemas" containing Packages(cda & processable Packages) to Resources Folder in extracted zip.

For example: C:\Users\Downloads\ccd_sdk\Resources\CDASchemas (ccd_sdk zip extracted in downloads folder)
	where, CDASchemas is package downloaded in step 2.
	
********************************************************************************
		Add SNOMED CT Database (Optional)
********************************************************************************

Please follow the instructions given below to use the SNOMED CT database(Created by C-DAC's Toolkit For SNOMED CT)

1. Add below lines of code in CCDWriterTestCode for SNOMED DataBase configuration
	
	CCDWriter objCCDWriter = new CCDWriter(objCCDHeader);

	objCCDWriter.addSNOMEDCodeSystem(dbPath);

	where,  objCCDHeader is populated header object.
		dbPath is Snomed Database Path.

********************************************************************************
 In case of any queries / feedback please write to us at:  sdk-enq@cdac.in
        
