From 9cb30753a7c4cdf5cd6e83b579d3bb9204b10211 Mon Sep 17 00:00:00 2001 From: george Date: Mon, 16 Mar 2009 15:46:55 +0000 Subject: [PATCH] updated documentation --- p/CCR_1_0.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/p/CCR_1_0.txt b/p/CCR_1_0.txt index 33ac3f7..17ee7fa 100644 --- a/p/CCR_1_0.txt +++ b/p/CCR_1_0.txt @@ -8,7 +8,7 @@ EXPORT^C0CCCR A command line interface to export a single patient's CCR to a host directory by specifying the patient by name. EXPORT^C0CCCD -A command line interface to export a single patient's CCD to a host directory by specifying the patient by name. +A command line interface to export a single patient's CCD to a host directory by specifying the patient by name. An XSLT transformation is available to translate a CCR into a level 2 CCD. This tranformation has been tested and produces a CCD with all currently supported sections of the CCR. The EXPORT^C0CCCD only extracts the PROBLEMS section into a CCD. XPAT^C0CCCR(DFN,OUTDIR,OUTFILE) A command line and program interface to export a single patient's CCR using the IEN of the patient in the ^DPT file (DFN). @@ -73,7 +73,19 @@ GTM>D CPAT^C0CRIMA("RIMTBL_1") These are the 105 patient records included in category "RIMTBL_1" from the above example. DPATV^C0CRIMA(DFN,"SECTION") -A command line interface to display the values of variables for a patient. "SECTION" can be any of the CCR sections. ie "ALERTS","RESULTS","MEDS". If SECTION is ommitted, all sections will be shown. +A command line interface to display the values of variables for a patient. "SECTION" can be any of the CCR sections. ie "ALERTS","RESULTS","MEDS". If SECTION is ommitted, all sections will be shown. An example: + +GTM>D DPATV^C0CRIMA(2,"PROBLEMS") +1 1^PROBLEMCODEVALUE^V18.0 +2 1^PROBLEMCODINGVERSION^ +3 1^PROBLEMCONDITION^P +4 1^PROBLEMDATEMOD^2005-07-19T00:00:00-05:00 +5 1^PROBLEMDATEOFONSET^1700--T00:00:00-05:00 +6 1^PROBLEMDESCRIPTION^Family History of Diabetes Mellitus (ICD-9-CM V18.0) +7 1^PROBLEMDTREC^1701--T00:00:00-05:00 +8 1^PROBLEMHASCMT^ +9 1^PROBLEMIEN^8 +10 1^PROBLEMINACT^1700--T00:00:00-05:00 DCCR^C0CCCR(DFN) This will display the XML of a CCR that has been generated for a patient. It is run after generating the CCR with XPAT^C0CCCR or XCPAT^C0CRIMA.