Re: [Caché] Extract Patient data from CCD file.

284 views
Skip to first unread message
Message has been deleted

Shilpi Yerramsetti

unread,
Jul 30, 2014, 4:03:57 AM7/30/14
to intersystems...@googlegroups.com
Hello Shiva,


You need to convert CCD to SDA(Standard Document Architecture from Intersystems). They have give some set of XSLT's to convert CCD's, Consolidated CCD's etc to SDA . 

Once your SDA , There are various options (At best of my knowledge)

1)If you are configuring Active Analytics, You probably have inbuilt productions to transform SDA to HSAA.Patient(Which holds all clinical data including Demographics)

2)Otherwise, You probably need to write Data transformation for getting Demographics data from SDA

Thanks
Shilpi Y




On Wed, Jul 30, 2014 at 10:56 AM, shivapannala reddy <shivapa...@gmail.com> wrote:
Hi All,

I'm working on a healthshare production to receive a CCD and then need to extract patient demographic data from the CCD. It would be great if someone can suggest me a procedure to do this. A example for this is helpful.


Regards,
Shiva

--
--
Caché, Ensemble, DeepSee

---
You received this message because you are subscribed to the Google Groups "Caché, Ensemble, DeepSee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-publi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted
Message has been deleted

Shilpi Yerramsetti

unread,
Jul 30, 2014, 6:29:14 AM7/30/14
to intersystems...@googlegroups.com
Hello Shiva,

I am not sure whether any inbuilt  Business Process available for fitting into your requirement .

I assume, HS.SDA3.Container holds the SDA3 data.  SDA3 document generated is type of this class.

In that, 
The Patient Property --> HS.SDA3.Patient class represents the patient. This class contains properties that store information like the following:
 Demographic information and other basics, for example: name, a list of addresses, gender, marital status, race, religion, and so on
 Patient numbers
You just need to retrieve Patient Property (i,e HS.SDA3.Patient object)  from HS.SDA3.Container  . Then you have the data you need :)

Thanks
Shilpi Y




On Wed, Jul 30, 2014 at 12:41 PM, shivapannala reddy <shivapa...@gmail.com> wrote:
Hello Shilpi,

I have added a service to pick sda files and send the file to business process.

1. I'm using EnsLib.EDI.XML.Document as source class for the DTL is this correct? output will be HL7.

2. Not sure which business process to choose for this scenario.

Any suggestions on the above?

Regards,
Shiva.








B Veach

unread,
Jul 30, 2014, 10:26:22 PM7/30/14
to intersystems...@googlegroups.com
You should be able to use an inbound service with EnsLib.EDI.XML.Service.FileService to poll for files and the EnsLib.MsgRouter.VDocRoutingEngine to route and define a transformation. Use msgClass=EnsLib.EDI.XML.Document in constraint of the routing rule.
 
Using the DOM-style path in your transformation (search for DOM-style path in the help), you can access the elements within the CCD file.
 
Unclear what you want to do once you have the data.
 
I tested a transformation to pad a value with leading zeros and then write the CCD to a file, but did not end up using it.
 
The transformation looks like this:
 

Class BMH.BMHCONV1.FromCcdFilePadPatientID Extends Ens.DataTransformDTL [ DependsOn = EnsLib.EDI.XML.Document ]
{

Parameter IGNOREMISSINGSOURCE = 1;

Parameter REPORTERRORS = 1;

XData DTL [ XMLNamespace = "http://www.intersystems.com/dtl]
{
<transform sourceClass='EnsLib.EDI.XML.Document' targetClass='EnsLib.EDI.XML.Document' create='copy' language='objectscript' >
<assign value='..Pad(source.{/ClinicalDocument/recordTarget/patientRole/id/@extension},-10,0)' property='target.{/ClinicalDocument/recordTarget/patientRole/id/@extension}' action='set' />
</transform>
}

}

Reply all
Reply to author
Forward
Message has been deleted
0 new messages