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

Last change on this file since 751 was 695, checked in by George Lilly, 15 years ago

put Procedures and Encounters back in the template

File size: 20.9 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>871bd605-e8f8-4b80-9918-4b03f781129e</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>@@ENCTYPE@@</Text>
631 ;;<Code>
632 ;;<Value>@@ENCCODE@@</Value>
633 ;;<CodingSystem>@@ENCCODESYS@@</CodingSystem>
634 ;;</Code>
635 ;;</Type>
636 ;;<Source>
637 ;;<Actor>
638 ;;<ActorID>@@ENCACTORID@@</ActorID>
639 ;;</Actor>
640 ;;</Source>
641 ;;<Locations>
642 ;;<Location>
643 ;;<Actor>
644 ;;<ActorID>@@ENCLOCACTORID@@</ActorID>
645 ;;</Actor>
646 ;;</Location>
647 ;;</Locations>
648 ;;<CommentID>@@ENCCOMMENTID@@</CommentID>
649 ;;</Encounter>
650 ;;</Encounters>
651 ;;<HealthCareProviders>
652 ;;<Provider>
653 ;;<ActorID>AA0005</ActorID>
654 ;;<ActorRole>
655 ;;<Text>Primary Provider</Text>
656 ;;</ActorRole>
657 ;;</Provider>
658 ;;</HealthCareProviders>
659 ;;</Body>
660 ;;<Actors>
661 ;;<ACTOR-PATIENT>
662 ;;<Actor>
663 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
664 ;;<Person>
665 ;;<Name>
666 ;;<CurrentName>
667 ;;<Given>@@ACTORGIVENNAME@@</Given>
668 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
669 ;;<Family>@@ACTORFAMILYNAME@@</Family>
670 ;;</CurrentName>
671 ;;</Name>
672 ;;<DateOfBirth>
673 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
674 ;;</DateOfBirth>
675 ;;<Gender>
676 ;;<Text>@@ACTORGENDER@@</Text>
677 ;;<Code>
678 ;;<Value>@@ACTORGENDER@@</Value>
679 ;;<CodingSystem>2.16.840.1.113883.5.1</CodingSystem>
680 ;;</Code>
681 ;;</Gender>
682 ;;</Person>
683 ;;<IDs>
684 ;;<Type>
685 ;;<Text>@@ACTORSSNTEXT@@</Text>
686 ;;</Type>
687 ;;<ID>@@ACTORSSN@@</ID>
688 ;;<Source>
689 ;;<Actor>
690 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
691 ;;</Actor>
692 ;;</Source>
693 ;;</IDs>
694 ;;<Address>
695 ;;<Type>
696 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
697 ;;</Type>
698 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
699 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
700 ;;<City>@@ACTORADDRESSCITY@@</City>
701 ;;<State>@@ACTORADDRESSSTATE@@</State>
702 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
703 ;;</Address>
704 ;;<Telephone>
705 ;;<Value>@@ACTORRESTEL@@</Value>
706 ;;<Type>
707 ;;<Text>@@ACTORRESTELTEXT@@</Text>
708 ;;</Type>
709 ;;</Telephone>
710 ;;<Telephone>
711 ;;<Value>@@ACTORWORKTEL@@</Value>
712 ;;<Type>
713 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
714 ;;</Type>
715 ;;</Telephone>
716 ;;<Telephone>
717 ;;<Value>@@ACTORCELLTEL@@</Value>
718 ;;<Type>
719 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
720 ;;</Type>
721 ;;</Telephone>
722 ;;<EMail>
723 ;;<Value>@@ACTOREMAIL@@</Value>
724 ;;</EMail>
725 ;;<Source>
726 ;;<Actor>
727 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
728 ;;</Actor>
729 ;;</Source>
730 ;;</Actor>
731 ;;</ACTOR-PATIENT>
732 ;;<ACTOR-SYSTEM>
733 ;;<Actor>
734 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
735 ;;<InformationSystem>
736 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
737 ;;<Version>@@ACTORINFOSYSVER@@</Version>
738 ;;</InformationSystem>
739 ;;<Source>
740 ;;<Actor>
741 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
742 ;;</Actor>
743 ;;</Source>
744 ;;</Actor>
745 ;;</ACTOR-SYSTEM>
746 ;;<ACTOR-NOK>
747 ;;<Actor>
748 ;;<ActorObjectID>AA0003</ActorObjectID>
749 ;;<Person>
750 ;;<Name>
751 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
752 ;;</Name>
753 ;;</Person>
754 ;;<Relation>
755 ;;<Text>@@ACTORRELATION@@</Text>
756 ;;</Relation>
757 ;;<Source>
758 ;;<Actor>
759 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
760 ;;</Actor>
761 ;;</Source>
762 ;;</Actor>
763 ;;</ACTOR-NOK>
764 ;;<ACTOR-PROVIDER>
765 ;;<Actor>
766 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
767 ;;<Person>
768 ;;<Name>
769 ;;<CurrentName>
770 ;;<Given>@@ACTORGIVENNAME@@</Given>
771 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
772 ;;<Family>@@ACTORFAMILYNAME@@</Family>
773 ;;<Title>@@ACTORTITLE@@</Title>
774 ;;</CurrentName>
775 ;;</Name>
776 ;;</Person>
777 ;;<IDs>
778 ;;<Type>
779 ;;<Text>@@IDTYPE@@</Text>
780 ;;</Type>
781 ;;<ID>@@ID@@</ID>
782 ;;<IssuedBy>
783 ;;<Description>
784 ;;<Text>@@IDDESC@@</Text>
785 ;;</Description>
786 ;;</IssuedBy>
787 ;;</IDs>
788 ;;<Specialty>
789 ;;<Text>@@ACTORSPECIALITY@@</Text>
790 ;;</Specialty>
791 ;;<Address>
792 ;;<Type>
793 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
794 ;;</Type>
795 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
796 ;;<City>@@ACTORADDRESSCITY@@</City>
797 ;;<State>@@ACTORADDRESSSTATE@@</State>
798 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
799 ;;</Address>
800 ;;<Telephone>
801 ;;<Value>@@ACTORTELEPHONE@@</Value>
802 ;;<Type>
803 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
804 ;;</Type>
805 ;;</Telephone>
806 ;;<Email>
807 ;;<Value>@@ACTOREMAIL@@</Value>
808 ;;</Email>
809 ;;<Source>
810 ;;<Actor>
811 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
812 ;;</Actor>
813 ;;</Source>
814 ;;</Actor>
815 ;;</ACTOR-PROVIDER>
816 ;;<ACTOR-ORG>
817 ;;<Actor>
818 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
819 ;;<Organization>
820 ;;<Name>@@ORGANIZATIONNAME@@</Name>
821 ;;</Organization>
822 ;;<Source>
823 ;;<Actor>
824 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
825 ;;</Actor>
826 ;;</Source>
827 ;;</Actor>
828 ;;</ACTOR-ORG>
829 ;;</Actors>
830 ;;<Signatures>
831 ;;<CCRSignature>
832 ;;<SignatureObjectID>S0001</SignatureObjectID>
833 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
834 ;;<Source>
835 ;;<ActorID>AA0001</ActorID>
836 ;;</Source>
837 ;;<Signature>
838 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
839 ;;<SignedInfo>
840 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
841 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
842 ;;<Reference URI="">
843 ;;<Transforms>
844 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
845 ;;</Transforms>
846 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
847 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
848 ;;</Reference>
849 ;;</SignedInfo>
850 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
851 ;;<KeyInfo>
852 ;;<KeyValue>
853 ;;<RSAKeyValue>
854 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
855 ;;<Exponent>AQAB</Exponent>
856 ;;</RSAKeyValue>
857 ;;</KeyValue>
858 ;;</KeyInfo>
859 ;;</Signature>
860 ;;</Signature>
861 ;;</CCRSignature>
862 ;;</Signatures>
863 ;;</ContinuityOfCareRecord>
864 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.