source: ccr/trunk/p/GPLCCR0.m@ 97

Last change on this file since 97 was 92, checked in by George Lilly, 16 years ago

fixed template problems

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