source: ccr/trunk/p/C0CCCR0.m@ 1006

Last change on this file since 1006 was 781, checked in by George Lilly, 14 years ago

encounters

File size: 22.1 KB
Line 
1C0CCCR0 ; CCDCCR/GPL - CCR TEMPLATE AND ACCESS ROUTINES; 5/31/08
2 ;;1.0;C0C;;May 19, 2009;Build 32
3 ;Copyright 2008,2009 George Lilly, University of Minnesota.
4 ;Licensed under the terms of the GNU General Public License.
5 ;See attached copy of the License.
6 ;
7 ;This program is free software; you can redistribute it and/or modify
8 ;it under the terms of the GNU General Public License as published by
9 ;the Free Software Foundation; either version 2 of the License, or
10 ;(at your option) any later version.
11 ;
12 ;This program is distributed in the hope that it will be useful,
13 ;but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;GNU General Public License for more details.
16 ;
17 ;You should have received a copy of the GNU General Public License along
18 ;with this program; if not, write to the Free Software Foundation, Inc.,
19 ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 ;
21 W "This is a CCR TEMPLATE with processing routines",!
22 W !
23 Q
24 ;
25ZT(ZARY,BAT,LINE) ; private routine to add a line to the ZARY array
26 ; ZARY IS PASSED BY NAME
27 ; BAT is a string identifying the section
28 ; LINE is a test which will evaluate to true or false
29 ; I '$G(@ZARY) D ;
30 ; . S @ZARY@(0)=0 ; initially there are no elements
31 ; . W "GOT HERE LOADING "_LINE,!
32 N CNT ; count of array elements
33 S CNT=@ZARY@(0) ; contains array count
34 S CNT=CNT+1 ; increment count
35 S @ZARY@(CNT)=LINE ; put the line in the array
36 ; S @ZARY@(BAT,CNT)="" ; index the test by battery
37 S @ZARY@(0)=CNT ; update the array counter
38 Q
39 ;
40ZLOAD(ZARY,ROUTINE) ; load tests into ZARY which is passed by reference
41 ; ZARY IS PASSED BY NAME
42 ; ZARY = name of the root, closed array format (e.g., "^TMP($J)")
43 ; ROUTINE = NAME OF THE ROUTINE - PASSED BY VALUE
44 K @ZARY S @ZARY=""
45 S @ZARY@(0)=0 ; initialize array count
46 N LINE,LABEL,BODY
47 N INTEST S INTEST=0 ; switch for in the TEMPLATE section
48 N SECTION S SECTION="[anonymous]" ; NO section LABEL
49 ;
50 N NUM F NUM=1:1 S LINE=$T(+NUM^@ROUTINE) Q:LINE="" D
51 . I LINE?." "1";<TEMPLATE>".E S INTEST=1 ; entering section
52 . I LINE?." "1";</TEMPLATE>".E S INTEST=0 ; leaving section
53 . I INTEST D ; within the section
54 . . I LINE?." "1";><".E D ; sub-section name found
55 . . . S SECTION=$P($P(LINE,";><",2),">",1) ; pull out name
56 . . I LINE?." "1";;".E D ; line found
57 . . . D ZT(ZARY,SECTION,$P(LINE,";;",2)) ; put the line in the array
58 Q
59 ;
60LOAD(ARY) ; LOAD A CCR TEMPLATE INTO ARY PASSED BY NAME
61 D ZLOAD(ARY,"C0CCCR0")
62 ; ZWR @ARY
63 Q
64 ;
65 ;<TEMPLATE>
66 ;;<?xml version="1.0" encoding="UTF-8"?>
67 ;;<?xml-stylesheet type="text/xsl" href="ccr.xsl"?>
68 ;;<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
69 ;;<CCRDocumentObjectID>@@CCRDOCOBJECTID@@</CCRDocumentObjectID>
70 ;;<Language>
71 ;;<Text>English</Text>
72 ;;</Language>
73 ;;<Version>V1.0</Version>
74 ;;<DateTime>
75 ;;<ExactDateTime>@@DATETIME@@</ExactDateTime>
76 ;;</DateTime>
77 ;;<Patient>
78 ;;<ActorID>@@ACTORPATIENT@@</ActorID>
79 ;;</Patient>
80 ;;<From>
81 ;;<ActorLink>
82 ;;<ActorID>@@ACTORFROM@@</ActorID>
83 ;;</ActorLink>
84 ;;<ActorLink>
85 ;;<ActorID>@@ACTORFROM2@@</ActorID>
86 ;;</ActorLink>
87 ;;</From>
88 ;;<To>
89 ;;<ActorLink>
90 ;;<ActorID>@@ACTORTO@@</ActorID>
91 ;;<ActorRole>
92 ;;<Text>@@ACTORTOTEXT@@</Text>
93 ;;</ActorRole>
94 ;;</ActorLink>
95 ;;</To>
96 ;;<Purpose>
97 ;;<Description>
98 ;;<Text>@@PURPOSEDESCRIPTION@@</Text>
99 ;;</Description>
100 ;;</Purpose>
101 ;;<Body>
102 ;;<Problems>
103 ;;<Problem>
104 ;;<CCRDataObjectID>@@PROBLEMOBJECTID@@</CCRDataObjectID>
105 ;;<DateTime>
106 ;;<ExactDateTime>@@PROBLEMDATEMOD@@</ExactDateTime>
107 ;;</DateTime>
108 ;;<Type>
109 ;;<Text>Problem</Text>
110 ;;</Type>
111 ;;<Description>
112 ;;<Text>@@PROBLEMDESCRIPTION@@</Text>
113 ;;<Code>
114 ;;<Value>@@PROBLEMCODEVALUE@@</Value>
115 ;;<CodingSystem>ICD9CM</CodingSystem>
116 ;;<Version>@@PROBLEMCODINGVERSION@@</Version>
117 ;;</Code>
118 ;;</Description>
119 ;;<Status>
120 ;;<Text>@@PROBLEMSTATUS@@</Text>
121 ;;</Status>
122 ;;<Source>
123 ;;<Actor>
124 ;;<ActorID>@@PROBLEMSOURCEACTORID@@</ActorID>
125 ;;</Actor>
126 ;;</Source>
127 ;;</Problem>
128 ;;</Problems>
129 ;;<Immunizations>
130 ;;<Immunization>
131 ;;<CCRDataObjectID>@@IMMUNEOBJECTID@@</CCRDataObjectID>
132 ;;<DateTime>
133 ;;<Type>
134 ;;<Text>@@IMMUNEDATETIMETYPETEXT@@</Text>
135 ;;</Type>
136 ;;<ExactDateTime>@@IMMUNEDATETIME@@</ExactDateTime>
137 ;;</DateTime>
138 ;;<Source>
139 ;;<Actor>
140 ;;<ActorID>@@IMMUNESOURCEACTORID@@</ActorID>
141 ;;</Actor>
142 ;;</Source>
143 ;;<Product>
144 ;;<ProductName>
145 ;;<Text>@@IMMUNEPRODUCTNAMETEXT@@</Text>
146 ;;<Code>
147 ;;<Value>@@IMMUNEPRODUCTCODE@@</Value>
148 ;;<CodingSystem>@@IMMUNEPRODUCTCODESYSTEM@@</CodingSystem>
149 ;;</Code>
150 ;;</ProductName>
151 ;;</Product>
152 ;;</Immunization>
153 ;;</Immunizations>
154 ;;<FamilyHistory>
155 ;;<FamilyProblemHistory>
156 ;;<CCRDataObjectID>@@FAMILYHISTORYOBJECTID@@</CCRDataObjectID>
157 ;;<Source>
158 ;;<Actor>
159 ;;<ActorID>@@FAMILYHISTORYACTORID@@</ActorID>
160 ;;</Actor>
161 ;;</Source>
162 ;;<FamilyMember>
163 ;;<ActorID>@@FAMILYMEMBERACTORID@@</ActorID>
164 ;;<ActorRole>
165 ;;<Text>@@FAMILYMEMBERACTORROLETEXT@@</Text>
166 ;;</ActorRole>
167 ;;<Source>
168 ;;<Actor>
169 ;;<ActorID>@@FAMILYMEMBERSOURCACTORID@@</ActorID>
170 ;;</Actor>
171 ;;</Source>
172 ;;</FamilyMember>
173 ;;<Problem>
174 ;;<Type>
175 ;;<Text>Problem</Text>
176 ;;</Type>
177 ;;<Description>
178 ;;<Text>@@FAMILYMEMBERPROBLEMDESCRIPTION@@</Text>
179 ;;<Code>
180 ;;<Value>@@FAMILYMEMBERPROBLEMCODE@@</Value>
181 ;;<CodingSystem>@@FAMILYMEMBERCODESYSTEM@@</CodingSystem>
182 ;;<Version>@@FAMILYMEMBERCODEVERSION@@</Version>
183 ;;</Code>
184 ;;</Description>
185 ;;<Source>
186 ;;<Actor>
187 ;;<ActorID>@@FAMILYMEMBERPROBLEMSOURCEID@@</ActorID>
188 ;;</Actor>
189 ;;</Source>
190 ;;</Problem>
191 ;;</FamilyProblemHistory>
192 ;;</FamilyHistory>
193 ;;<SocialHistory>
194 ;;<SocialHistoryElement>
195 ;;<CCRDataObjectID>@@SOCIALHISTORYOBJECTID@@</CCRDataObjectID>
196 ;;<Type>
197 ;;<Text>@@SOCIALHISTORYTYPETEXT@@</Text>
198 ;;</Type>
199 ;;<Description>
200 ;;<Text>@@SOCIALHISTORYDESCRIPTIONTEXT@@</Text>
201 ;;</Description>
202 ;;<Source>
203 ;;<Actor>
204 ;;<ActorID>@@SOCIALHISTORYSOURCACTORID@@</ActorID>
205 ;;</Actor>
206 ;;</Source>
207 ;;</SocialHistoryElement>
208 ;;<SocialHistoryElement>
209 ;;<CCRDataObjectID>BB0005</CCRDataObjectID>
210 ;;<Type>
211 ;;<Text>Ethnic Origin</Text>
212 ;;</Type>
213 ;;<Description>
214 ;;<Text>Not Hispanic or Latino</Text>
215 ;;</Description>
216 ;;<Source>
217 ;;<Actor>
218 ;;<ActorID>AA0001</ActorID>
219 ;;</Actor>
220 ;;</Source>
221 ;;</SocialHistoryElement>
222 ;;<SocialHistoryElement>
223 ;;<CCRDataObjectID>BB0006</CCRDataObjectID>
224 ;;<Type>
225 ;;<Text>Race</Text>
226 ;;</Type>
227 ;;<Description>
228 ;;<Text>White</Text>
229 ;;</Description>
230 ;;<Source>
231 ;;<Actor>
232 ;;<ActorID>AA0001</ActorID>
233 ;;</Actor>
234 ;;</Source>
235 ;;</SocialHistoryElement>
236 ;;<SocialHistoryElement>
237 ;;<CCRDataObjectID>BB0007</CCRDataObjectID>
238 ;;<Type>
239 ;;<Text>Occupation</Text>
240 ;;</Type>
241 ;;<Description>
242 ;;<Text>Physician</Text>
243 ;;</Description>
244 ;;<Source>
245 ;;<Actor>
246 ;;<ActorID>AA0001</ActorID>
247 ;;</Actor>
248 ;;</Source>
249 ;;</SocialHistoryElement>
250 ;;</SocialHistory>
251 ;;<Alerts>
252 ;;<Alert>
253 ;;<CCRDataObjectID>@@ALERTOBJECTID@@</CCRDataObjectID>
254 ;;<DateTime>
255 ;;<ExactDateTime>@@ALERTDATETIME@@</ExactDateTime>
256 ;;</DateTime>
257 ;;<Type>
258 ;;<Text>@@ALERTTYPE@@</Text>
259 ;;</Type>
260 ;;<Status>
261 ;;<Text>@@ALERTSTATUSTEXT@@</Text>
262 ;;</Status>
263 ;;<Description>
264 ;;<Text>@@ALERTDESCRIPTIONTEXT@@</Text>
265 ;;<Code>
266 ;;<Value>@@ALERTCODEVALUE@@</Value>
267 ;;<CodingSystem>@@ALERTCODESYSTEM@@</CodingSystem>
268 ;;</Code>
269 ;;</Description>
270 ;;<Source>
271 ;;<Actor>
272 ;;<ActorID>@@ALERTSOURCEID@@</ActorID>
273 ;;</Actor>
274 ;;</Source>
275 ;;<Agent>
276 ;;<Products>
277 ;;<Product>
278 ;;<CCRDataObjectID>@@ALERTAGENTPRODUCTOBJECTID@@</CCRDataObjectID>
279 ;;<Source>
280 ;;<Actor>
281 ;;<ActorID>@@ALERTSOURCEID@@</ActorID>
282 ;;</Actor>
283 ;;</Source>
284 ;;<Product>
285 ;;<ProductName>
286 ;;<Text>@@ALERTAGENTPRODUCTNAMETEXT@@</Text>
287 ;;<Code>
288 ;;<Value>@@ALERTAGENTPRODUCTCODEVALUE@@</Value>
289 ;;<CodingSystem>@@ALERTAGENTPRODUCTCODESYSTEM@@</CodingSystem>
290 ;;</Code>
291 ;;</ProductName>
292 ;;</Product>
293 ;;</Product>
294 ;;</Products>
295 ;;</Agent>
296 ;;<Reaction>
297 ;;<Description>
298 ;;<Text>@@ALERTREACTIOINDESCRIPTIONTEXT@@</Text>
299 ;;<Code>
300 ;;<Value>@@ALERTREACTIONCODEVALUE@@</Value>
301 ;;<CodingSystem>@@ALERTREACTIONCODESYSTEM@@</CodingSystem>
302 ;;</Code>
303 ;;</Description>
304 ;;</Reaction>
305 ;;</Alert>
306 ;;</Alerts>
307 ;;<Medications>
308 ;;<Medication>
309 ;;<CCRDataObjectID>@@MEDOBJECTID@@</CCRDataObjectID>
310 ;;<DateTime>
311 ;;<Type>
312 ;;<Text>@@MEDISSUEDATETXT@@</Text>
313 ;;</Type>
314 ;;<ExactDateTime>@@MEDISSUEDATE@@</ExactDateTime>
315 ;;</DateTime>
316 ;;<DateTime>
317 ;;<Type>
318 ;;<Text>@@MEDLASTFILLDATETXT@@</Text>
319 ;;</Type>
320 ;;<ExactDateTime>@@MEDLASTFILLDATE@@</ExactDateTime>
321 ;;</DateTime>
322 ;;<IDs>
323 ;;<Type>
324 ;;<Text>@@MEDRXNOTXT@@</Text>
325 ;;</Type>
326 ;;<ID>@@MEDRXNO@@</ID>
327 ;;</IDs>
328 ;;<Type>
329 ;;<Text>@@MEDTYPETEXT@@</Text>
330 ;;</Type>
331 ;;<Description>
332 ;;<Text>@@MEDDETAILUNADORNED@@</Text>
333 ;;</Description>
334 ;;<Status>
335 ;;<Text>@@MEDSTATUSTEXT@@</Text>
336 ;;</Status>
337 ;;<Source>
338 ;;<Actor>
339 ;;<ActorID>@@MEDSOURCEACTORID@@</ActorID>
340 ;;</Actor>
341 ;;</Source>
342 ;;<Product>
343 ;;<ProductName>
344 ;;<Text>@@MEDPRODUCTNAMETEXT@@</Text>
345 ;;<Code>
346 ;;<Value>@@MEDPRODUCTNAMECODEVALUE@@</Value>
347 ;;<CodingSystem>@@MEDPRODUCTNAMECODINGINGSYSTEM@@</CodingSystem>
348 ;;<Version>@@MEDPRODUCTNAMECODEVERSION@@</Version>
349 ;;</Code>
350 ;;</ProductName>
351 ;;<BrandName>
352 ;;<Text>@@MEDBRANDNAMETEXT@@</Text>
353 ;;</BrandName>
354 ;;<Strength>
355 ;;<Value>@@MEDSTRENGTHVALUE@@</Value>
356 ;;<Units>
357 ;;<Unit>@@MEDSTRENGTHUNIT@@</Unit>
358 ;;</Units>
359 ;;</Strength>
360 ;;<Form>
361 ;;<Text>@@MEDFORMTEXT@@</Text>
362 ;;</Form>
363 ;;<Concentration>
364 ;;<Value>@@MEDCONCVALUE@@</Value>
365 ;;<Units>
366 ;;<Unit>@@MEDCONCUNIT@@</Unit>
367 ;;</Units>
368 ;;</Concentration>
369 ;;</Product>
370 ;;<Quantity>
371 ;;<Value>@@MEDQUANTITYVALUE@@</Value>
372 ;;<Units>
373 ;;<Unit>@@MEDQUANTITYUNIT@@</Unit>
374 ;;</Units>
375 ;;</Quantity>
376 ;;<Directions>
377 ;;<Direction>
378 ;;<Description>
379 ;;<Text>@@MEDDIRECTIONDESCRIPTIONTEXT@@</Text>
380 ;;</Description>
381 ;;<DoseIndicator>
382 ;;<Text>@@MEDDOSEINDICATOR@@</Text>
383 ;;</DoseIndicator>
384 ;;<DeliveryMethod>
385 ;;<Text>@@MEDDELIVERYMETHOD@@</Text>
386 ;;</DeliveryMethod>
387 ;;<Dose>
388 ;;<Value>@@MEDDOSEVALUE@@</Value>
389 ;;<Units>
390 ;;<Unit>@@MEDDOSEUNIT@@</Unit>
391 ;;</Units>
392 ;;<Rate>
393 ;;<Value>@@MEDRATEVALUE@@</Value>
394 ;;<Units>
395 ;;<Unit>@@MEDRATEUNIT@@</Unit>
396 ;;</Units>
397 ;;</Rate>
398 ;;</Dose>
399 ;;<Vehicle>
400 ;;<Text>@@MEDVEHICLETEXT@@</Text>
401 ;;</Vehicle>
402 ;;<Route>
403 ;;<Text>@@MEDDIRECTIONROUTETEXT@@</Text>
404 ;;</Route>
405 ;;<Frequency>
406 ;;<Value>@@MEDFREQUENCYVALUE@@</Value>
407 ;;</Frequency>
408 ;;<Interval>
409 ;;<Value>@@MEDINTERVALVALUE@@</Value>
410 ;;<Units>
411 ;;<Unit>@@MEDINTERVALUNIT@@</Unit>
412 ;;</Units>
413 ;;</Interval>
414 ;;<Duration>
415 ;;<Value>@@MEDDURATIONVALUE@@</Value>
416 ;;<Units>
417 ;;<Unit>@@MEDDURATIONUNIT@@</Unit>
418 ;;</Units>
419 ;;</Duration>
420 ;;<Indication>
421 ;;<PRNFlag>
422 ;;<Text>@@MEDPRNFLAG@@</Text>
423 ;;</PRNFlag>
424 ;;<Problem>
425 ;;<CCRDataObjectID>@@MEDPROBLEMOBJECTID@@</CCRDataObjectID>
426 ;;<Type>
427 ;;<Text>@@MEDPROBLEMTYPETXT@@</Text>
428 ;;</Type>
429 ;;<Description>
430 ;;<Text>@@MEDPROBLEMDESCRIPTION@@</Text>
431 ;;<Code>
432 ;;<Value>@@MEDPROBLEMCODEVALUE@@</Value>
433 ;;<CodingSystem>@@MEDPROBLEMCODINGSYSTEM@@</CodingSystem>
434 ;;<Version>@@MEDPROBLEMCODINGVERSION@@</Version>
435 ;;</Code>
436 ;;</Description>
437 ;;<Source>
438 ;;<Actor>
439 ;;<ActorID>@@MEDPROBLEMSOURCEACTORID@@</ActorID>
440 ;;</Actor>
441 ;;</Source>
442 ;;</Problem>
443 ;;</Indication>
444 ;;<StopIndicator>
445 ;;<Text>@@MEDSTOPINDICATOR@@</Text>
446 ;;</StopIndicator>
447 ;;<DirectionSequenceModifier>@@MEDDIRSEQ@@</DirectionSequenceModifier>
448 ;;<MultipleDirectionModifier>
449 ;;<Text>@@MEDMULDIRMOD@@</Text>
450 ;;</MultipleDirectionModifier>
451 ;;</Direction>
452 ;;</Directions>
453 ;;<PatientInstructions>
454 ;;<Instruction>
455 ;;<Text>@@MEDPTINSTRUCTIONS@@</Text>
456 ;;</Instruction>
457 ;;</PatientInstructions>
458 ;;<FullfillmentInstructions>
459 ;;<Text>@@MEDFULLFILLMENTINSTRUCTIONS@@</Text>
460 ;;</FullfillmentInstructions>
461 ;;<Refills>
462 ;;<Refill>
463 ;;<Number>@@MEDRFNO@@</Number>
464 ;;</Refill>
465 ;;</Refills>
466 ;;</Medication>
467 ;;</Medications>
468 ;;<VitalSigns>
469 ;;<Result>
470 ;;<CCRDataObjectID>@@VITALSIGNSDATAOBJECTID@@</CCRDataObjectID>
471 ;;<DateTime>
472 ;;<Type>
473 ;;<Text>@@VITALSIGNSDATETIMETYPETEXT@@</Text>
474 ;;</Type>
475 ;;<ExactDateTime>@@VITALSIGNSEXACTDATETIME@@</ExactDateTime>
476 ;;</DateTime>
477 ;;<Description>
478 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
479 ;;</Description>
480 ;;<Source>
481 ;;<Actor>
482 ;;<ActorID>@@VITALSIGNSSOURCEACTORID@@</ActorID>
483 ;;</Actor>
484 ;;</Source>
485 ;;<Test>
486 ;;<CCRDataObjectID>@@VITALSIGNSTESTOBJECTID@@</CCRDataObjectID>
487 ;;<Type>
488 ;;<Text>@@VITALSIGNSTESTTYPETEXT@@</Text>
489 ;;</Type>
490 ;;<Description>
491 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
492 ;;<Code>
493 ;;<Value>@@VITALSIGNSDESCCODEVALUE@@</Value>
494 ;;<CodingSystem>@@VITALSIGNSDESCCODINGSYSTEM@@</CodingSystem>
495 ;;<Version>@@VITALSIGNSCODEVERSION@@</Version>
496 ;;</Code>
497 ;;</Description>
498 ;;<Source>
499 ;;<Actor>
500 ;;<ActorID>@@VITALSIGNSTESTSOURCEACTORID@@</ActorID>
501 ;;</Actor>
502 ;;</Source>
503 ;;<TestResult>
504 ;;<Value>@@VITALSIGNSTESTRESULTVALUE@@</Value>
505 ;;<Units>
506 ;;<Unit>@@VITALSIGNSTESTRESULTUNIT@@</Unit>
507 ;;</Units>
508 ;;</TestResult>
509 ;;</Test>
510 ;;</Result>
511 ;;</VitalSigns>
512 ;;<Results>
513 ;;<Result>
514 ;;<CCRDataObjectID>@@RESULTOBJECTID@@</CCRDataObjectID>
515 ;;<DateTime>
516 ;;<Type>
517 ;;<Text>Assessment Time</Text>
518 ;;</Type>
519 ;;<ExactDateTime>@@RESULTASSESSMENTDATETIME@@</ExactDateTime>
520 ;;</DateTime>
521 ;;<Description>
522 ;;<Text>@@RESULTDESCRIPTIONTEXT@@</Text>
523 ;;<Code>
524 ;;<Value>@@RESULTCODE@@</Value>
525 ;;<CodingSystem>@@RESULTCODINGSYSTEM@@</CodingSystem>
526 ;;</Code>
527 ;;</Description>
528 ;;<Status>
529 ;;<Text>@@RESULTSTATUS@@</Text>
530 ;;</Status>
531 ;;<Source>
532 ;;<Actor>
533 ;;<ActorID>@@RESULTSOURCEACTORID@@</ActorID>
534 ;;</Actor>
535 ;;</Source>
536 ;;<Test>
537 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
538 ;;<DateTime>
539 ;;<Type>
540 ;;<Text>Assessment Time</Text>
541 ;;</Type>
542 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
543 ;;</DateTime>
544 ;;<Description>
545 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
546 ;;<Code>
547 ;;<Value>@@RESULTTESTCODEVALUE@@</Value>
548 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
549 ;;</Code>
550 ;;</Description>
551 ;;<Status>
552 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
553 ;;</Status>
554 ;;<Source>
555 ;;<Actor>
556 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
557 ;;</Actor>
558 ;;</Source>
559 ;;<TestResult>
560 ;;<Value>@@RESULTTESTVALUE@@</Value>
561 ;;<Units>
562 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
563 ;;</Units>
564 ;;</TestResult>
565 ;;<NormalResult>
566 ;;<Normal>
567 ;;<Description>
568 ;;<Text>@@RESULTTESTNORMALDESCTEXT@@</Text>
569 ;;</Description>
570 ;;<Source>
571 ;;<Actor>
572 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
573 ;;</Actor>
574 ;;</Source>
575 ;;</Normal>
576 ;;</NormalResult>
577 ;;<Flag>
578 ;;<Text>@@RESULTTESTFLAG@@</Text>
579 ;;</Flag>
580 ;;</Test>
581 ;;</Result>
582 ;;</Results>
583 ;;<Procedures>
584 ;;<Procedure>
585 ;;<CCRDataObjectID>@@PROCOBJECTID@@</CCRDataObjectID>
586 ;;<DateTime>
587 ;;<Type>
588 ;;<Text>@@PROCDATETEXT@@</Text>
589 ;;</Type>
590 ;;<ExactDateTime>@@PROCDATETIME@@</ExactDateTime>
591 ;;</DateTime>
592 ;;<Description>
593 ;;<Text>@@PROCDESCTEXT@@</Text>
594 ;;<ObjectAttribute>
595 ;;<Attribute>@@PROCDESCOBJATTR@@</Attribute>
596 ;;<AttributeValue>
597 ;;<Value>@@PROCDESCOBJATTRVAL@@</Value>
598 ;;<Code>
599 ;;<Value>@@PROCDESCOBJATTRCODE@@</Value>
600 ;;<CodingSystem>@@PROCDESCOBJATTRCODESYS@@</CodingSystem>
601 ;;</Code>
602 ;;</AttributeValue>
603 ;;</ObjectAttribute>
604 ;;<Code>
605 ;;<Value>@@PROCCODE@@</Value>
606 ;;<CodingSystem>@@PROCCODESYS@@</CodingSystem>
607 ;;</Code>
608 ;;</Description>
609 ;;<Status>
610 ;;<Text>@@PROCSTATUS@@</Text>
611 ;;</Status>
612 ;;<Source>
613 ;;<Actor>
614 ;;<ActorID>@@PROCACTOROBJID@@</ActorID>
615 ;;</Actor>
616 ;;</Source>
617 ;;<InternalCCRLink>
618 ;;<LinkID>@@PROCLINKID@@</LinkID>
619 ;;<LinkRelationship>@@PROCLINKREL@@</LinkRelationship>
620 ;;</InternalCCRLink>
621 ;;</Procedure>
622 ;;</Procedures>
623 ;;<Encounters>
624 ;;<Encounter>
625 ;;<CCRDataObjectID>@@ENCOBJECTID@@</CCRDataObjectID>
626 ;;<DateTime>
627 ;;<ExactDateTime>@@ENCDATETIME@@</ExactDateTime>
628 ;;</DateTime>
629 ;;<Type>
630 ;;<Text>@@ENCTYPETXT@@</Text>
631 ;;<Code>
632 ;;<Value>@@ENCTYPECODE@@</Value>
633 ;;<CodingSystem>@@ENCTYPECODESYS@@</CodingSystem>
634 ;;</Code>
635 ;;</Type>
636 ;;<Description>
637 ;;<Text>@@ENCDESCTXT@@</Text>
638 ;;<Code>
639 ;;<Value>@@ENCDESCCODE@@</Value>
640 ;;<CodingSystem>@@ENCDESCCODESYS@@</CodingSystem>
641 ;;</Code>
642 ;;</Description>
643 ;;<Location>
644 ;;<Actor>
645 ;;<ActorID>@@ENCLOCACTORID@@</ActorID>
646 ;;</Actor>
647 ;;</Location>
648 ;;<Practioner>
649 ;;<Actor>
650 ;;<ActorID>@@ENCPRVACTORID@@</ActorID>
651 ;;</Actor>
652 ;;</Practioner>
653 ;;<Indication>
654 ;;<Text>@@ENCINDTXT@@</Text>
655 ;;<Code>
656 ;;<Value>@@ENCINDCODE@@</Value>
657 ;;<CodingSystem>@@ENCINDCODESYS@@</CodingSystem>
658 ;;</Code>
659 ;;</Indication>
660 ;;<Source>
661 ;;<Actor>
662 ;;<ActorID>@@ENCACTORID@@</ActorID>
663 ;;</Actor>
664 ;;</Source>
665 ;;<CommentID>@@ENCCOMMENTID@@</CommentID>
666 ;;</Encounter>
667 ;;</Encounters>
668 ;;<HealthCareProviders>
669 ;;<Provider>
670 ;;<ActorID>AA0005</ActorID>
671 ;;<ActorRole>
672 ;;<Text>Primary Provider</Text>
673 ;;</ActorRole>
674 ;;</Provider>
675 ;;</HealthCareProviders>
676 ;;</Body>
677 ;;<Actors>
678 ;;<ACTOR-PATIENT>
679 ;;<Actor>
680 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
681 ;;<Person>
682 ;;<Name>
683 ;;<CurrentName>
684 ;;<Given>@@ACTORGIVENNAME@@</Given>
685 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
686 ;;<Family>@@ACTORFAMILYNAME@@</Family>
687 ;;</CurrentName>
688 ;;</Name>
689 ;;<DateOfBirth>
690 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
691 ;;</DateOfBirth>
692 ;;<Gender>
693 ;;<Text>@@ACTORGENDER@@</Text>
694 ;;<Code>
695 ;;<Value>@@ACTORGENDERCODE@@</Value>
696 ;;<CodingSystem>HL7 AdministrativeGender</CodingSystem>
697 ;;</Code>
698 ;;</Gender>
699 ;;</Person>
700 ;;<IDs>
701 ;;<Type>
702 ;;<Text>@@ACTORSSNTEXT@@</Text>
703 ;;</Type>
704 ;;<ID>@@ACTORSSN@@</ID>
705 ;;<Source>
706 ;;<Actor>
707 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
708 ;;</Actor>
709 ;;</Source>
710 ;;</IDs>
711 ;;<Address>
712 ;;<Type>
713 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
714 ;;</Type>
715 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
716 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
717 ;;<City>@@ACTORADDRESSCITY@@</City>
718 ;;<State>@@ACTORADDRESSSTATE@@</State>
719 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
720 ;;</Address>
721 ;;<Telephone>
722 ;;<Value>@@ACTORRESTEL@@</Value>
723 ;;<Type>
724 ;;<Text>@@ACTORRESTELTEXT@@</Text>
725 ;;</Type>
726 ;;</Telephone>
727 ;;<Telephone>
728 ;;<Value>@@ACTORWORKTEL@@</Value>
729 ;;<Type>
730 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
731 ;;</Type>
732 ;;</Telephone>
733 ;;<Telephone>
734 ;;<Value>@@ACTORCELLTEL@@</Value>
735 ;;<Type>
736 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
737 ;;</Type>
738 ;;</Telephone>
739 ;;<EMail>
740 ;;<Value>@@ACTOREMAIL@@</Value>
741 ;;</EMail>
742 ;;<Source>
743 ;;<Actor>
744 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
745 ;;</Actor>
746 ;;</Source>
747 ;;</Actor>
748 ;;</ACTOR-PATIENT>
749 ;;<ACTOR-SYSTEM>
750 ;;<Actor>
751 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
752 ;;<InformationSystem>
753 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
754 ;;<Version>@@ACTORINFOSYSVER@@</Version>
755 ;;</InformationSystem>
756 ;;<Source>
757 ;;<Actor>
758 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
759 ;;</Actor>
760 ;;</Source>
761 ;;</Actor>
762 ;;</ACTOR-SYSTEM>
763 ;;<ACTOR-NOK>
764 ;;<Actor>
765 ;;<ActorObjectID>AA0003</ActorObjectID>
766 ;;<Person>
767 ;;<Name>
768 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
769 ;;</Name>
770 ;;</Person>
771 ;;<Relation>
772 ;;<Text>@@ACTORRELATION@@</Text>
773 ;;</Relation>
774 ;;<Source>
775 ;;<Actor>
776 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
777 ;;</Actor>
778 ;;</Source>
779 ;;</Actor>
780 ;;</ACTOR-NOK>
781 ;;<ACTOR-PROVIDER>
782 ;;<Actor>
783 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
784 ;;<Person>
785 ;;<Name>
786 ;;<CurrentName>
787 ;;<Given>@@ACTORGIVENNAME@@</Given>
788 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
789 ;;<Family>@@ACTORFAMILYNAME@@</Family>
790 ;;<Title>@@ACTORTITLE@@</Title>
791 ;;</CurrentName>
792 ;;</Name>
793 ;;</Person>
794 ;;<IDs>
795 ;;<Type>
796 ;;<Text>@@IDTYPE@@</Text>
797 ;;</Type>
798 ;;<ID>@@ID@@</ID>
799 ;;<IssuedBy>
800 ;;<Description>
801 ;;<Text>@@IDDESC@@</Text>
802 ;;</Description>
803 ;;</IssuedBy>
804 ;;</IDs>
805 ;;<Specialty>
806 ;;<Text>@@ACTORSPECIALITY@@</Text>
807 ;;</Specialty>
808 ;;<Address>
809 ;;<Type>
810 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
811 ;;</Type>
812 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
813 ;;<City>@@ACTORADDRESSCITY@@</City>
814 ;;<State>@@ACTORADDRESSSTATE@@</State>
815 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
816 ;;</Address>
817 ;;<Telephone>
818 ;;<Value>@@ACTORTELEPHONE@@</Value>
819 ;;<Type>
820 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
821 ;;</Type>
822 ;;</Telephone>
823 ;;<Email>
824 ;;<Value>@@ACTOREMAIL@@</Value>
825 ;;</Email>
826 ;;<Source>
827 ;;<Actor>
828 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
829 ;;</Actor>
830 ;;</Source>
831 ;;<InternalCCRLink>
832 ;;<LinkID>@@ACTORORGLINK@@</LinkID>
833 ;;<LinkRelationship>representedOrganization</LinkRelationship>
834 ;;</InternalCCRLink>
835 ;;</Actor>
836 ;;</ACTOR-PROVIDER>
837 ;;<ACTOR-ORG>
838 ;;<Actor>
839 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
840 ;;<Organization>
841 ;;<Name>@@ORGANIZATIONNAME@@</Name>
842 ;;</Organization>
843 ;;<Address>
844 ;;<Type>
845 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
846 ;;</Type>
847 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
848 ;;<City>@@ACTORADDRESSCITY@@</City>
849 ;;<State>@@ACTORADDRESSSTATE@@</State>
850 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
851 ;;</Address>
852 ;;<Telephone>
853 ;;<Value>@@ACTORTELEPHONE@@</Value>
854 ;;<Type>
855 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
856 ;;</Type>
857 ;;</Telephone>
858 ;;<Source>
859 ;;<Actor>
860 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
861 ;;</Actor>
862 ;;</Source>
863 ;;</Actor>
864 ;;</ACTOR-ORG>
865 ;;</Actors>
866 ;;<Signatures>
867 ;;<CCRSignature>
868 ;;<SignatureObjectID>S0001</SignatureObjectID>
869 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
870 ;;<Source>
871 ;;<ActorID>AA0001</ActorID>
872 ;;</Source>
873 ;;<Signature>
874 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
875 ;;<SignedInfo>
876 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
877 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
878 ;;<Reference URI="">
879 ;;<Transforms>
880 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
881 ;;</Transforms>
882 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
883 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
884 ;;</Reference>
885 ;;</SignedInfo>
886 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
887 ;;<KeyInfo>
888 ;;<KeyValue>
889 ;;<RSAKeyValue>
890 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
891 ;;<Exponent>AQAB</Exponent>
892 ;;</RSAKeyValue>
893 ;;</KeyValue>
894 ;;</KeyInfo>
895 ;;</Signature>
896 ;;</Signature>
897 ;;</CCRSignature>
898 ;;</Signatures>
899 ;;<Comments>
900 ;;<Comment>
901 ;;<CommentObjectID>@@COMMENTOBJECTID@@</CommentObjectID>
902 ;;<DateTime>
903 ;;<ExactDateTime>@@CMTDATETIME@@</ExactDateTime>
904 ;;</DateTime>
905 ;;<Description>
906 ;;<Text>
907 ;;</Text>
908 ;;</Description>
909 ;;<Source>
910 ;;<Actor>
911 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
912 ;;</Actor>
913 ;;</Source>
914 ;;</Comment>
915 ;;</Comments>
916 ;;</ContinuityOfCareRecord>
917 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.