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

Last change on this file since 181 was 164, checked in by Sam Habiel, 16 years ago

Tiny corrections: Change @@PROBLEM@@ in meds section to @@MEDPROBLEMTYPETXT@@

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 ;;<Text>@@MEDFREQUENCYVALUE@@</Text>
368 ;;</Frequency>
369 ;;<Interval>
370 ;;<Value>@@MEDINTERVALVALUE@@</Value>
371 ;;<Units>
372 ;;<Unit>@@MEDINTERVALUNIT@@</Unit>
373 ;;</Units>
374 ;;</Interval>
375 ;;<Duration>
376 ;;<Value>@@MEDDURATIONVALUE@@</Value>
377 ;;<Units>
378 ;;<Unit>@@MEDDURATIONUNIT@@</Unit>
379 ;;</Units>
380 ;;</Duration>
381 ;;<Indication>
382 ;;<PRNFlag>
383 ;;<Text>@@MEDPRNFLAG@@</Text>
384 ;;</PRNFlag>
385 ;;<Problem>
386 ;;<CCRDataObjectID>@@MEDPROBLEMOBJECTID@@</CCRDataObjectID>
387 ;;<Type>
388 ;;<Text>@@MEDPROBLEMTYPETXT@@</Text>
389 ;;</Type>
390 ;;<Description>
391 ;;<Text>@@MEDPROBLEMDESCRIPTION@@</Text>
392 ;;<Code>
393 ;;<Value>@@MEDPROBLEMCODEVALUE@@</Value>
394 ;;<CodingSystem>@@MEDPROBLEMCODINGSYSTEM@@</CodingSystem>
395 ;;<Version>@@MEDPROBLEMCODINGVERSION@@</Version>
396 ;;</Code>
397 ;;</Description>
398 ;;<Source>
399 ;;<Actor>
400 ;;<ActorID>@@MEDPROBLEMSOURCEACTORID@@</ActorID>
401 ;;</Actor>
402 ;;</Source>
403 ;;</Problem>
404 ;;</Indication>
405 ;;<StopIndicator>
406 ;;<Text>@@MEDSTOPINDICATOR@@</Text>
407 ;;</StopIndicator>
408 ;;<DirectionSequenceModifier>@@MEDDIRSEQ@@</DirectionSequenceModifier>
409 ;;<MultipleDirectionModifier>
410 ;;<Text>@@MEDMULDIRMOD@@</Text>
411 ;;</MultipleDirectionModifier>
412 ;;</Direction>
413 ;;</Directions>
414 ;;<PatientInstructions>
415 ;;<Text>@@MEDPTINSTRUCTIONS@@</Text>
416 ;;</PatientInstructions>
417 ;;<FullfillmentInstructions>
418 ;;<Text>@@MEDFULLFILLMENTINSTRUCTIONS@@</Text>
419 ;;</FullfillmentInstructions>
420 ;;<Refills>
421 ;;<Refill>
422 ;;<Number>@@MEDRFNO@@</Number>
423 ;;</Refill>
424 ;;</Refills>
425 ;;</Medication>
426 ;;</Medications>
427 ;;<VitalSigns>
428 ;;<Result>
429 ;;<CCRDataObjectID>@@VITALSIGNSDATAOBJECTID@@</CCRDataObjectID>
430 ;;<DateTime>
431 ;;<Type>
432 ;;<Text>@@VITALSIGNSDATETIMETYPETEXT@@</Text>
433 ;;</Type>
434 ;;<ExactDateTime>@@VITALSIGNSEXACTDATETIME@@</ExactDateTime>
435 ;;</DateTime>
436 ;;<Description>
437 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
438 ;;</Description>
439 ;;<Source>
440 ;;<Actor>
441 ;;<ActorID>@@VITALSIGNSSOURCEACTORID@@</ActorID>
442 ;;</Actor>
443 ;;</Source>
444 ;;<Test>
445 ;;<CCRDataObjectID>@@VITALSIGNSTESTOBJECTID@@</CCRDataObjectID>
446 ;;<Type>
447 ;;<Text>@@VITALSIGNSTESTTYPETEXT@@</Text>
448 ;;</Type>
449 ;;<Description>
450 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
451 ;;<Code>
452 ;;<Value>@@VITALSIGNSDESCRIPTIONCODEVALUE@@</Value>
453 ;;<CodingSystem>@@VITALSIGNSDESCRIPTIONCODINGSYSTEM@@</CodingSystem>
454 ;;<Version>@@VITALSIGNSCODEVERSION@@</Version>
455 ;;</Code>
456 ;;</Description>
457 ;;<Source>
458 ;;<Actor>
459 ;;<ActorID>@@VITALSIGNSTESTSOURCEACTORID@@</ActorID>
460 ;;</Actor>
461 ;;</Source>
462 ;;<TestResult>
463 ;;<Value>@@VITALSIGNSTESTRESULTVALUE@@</Value>
464 ;;<Units>
465 ;;<Unit>@@VITALSIGNSTESTRESULTUNIT@@</Unit>
466 ;;</Units>
467 ;;</TestResult>
468 ;;</Test>
469 ;;</Result>
470 ;;</VitalSigns>
471 ;;<Results>
472 ;;<Result>
473 ;;<CCRDataObjectID>@@RESULTOBJECTID@@</CCRDataObjectID>
474 ;;<DateTime>
475 ;;<Type>
476 ;;<Text>Assessment Time</Text>
477 ;;</Type>
478 ;;<ExactDateTime>@@RESULTASSESSMENTDATETIME@@</ExactDateTime>
479 ;;</DateTime>
480 ;;<Description>
481 ;;<Text>@@RESULTDESCRIPTIONTEXT@@</Text>
482 ;;<Code>
483 ;;<Value>@@RESULTCODE@@</Value>
484 ;;<CodingSystem>@@RESULTCODINGSYSTEM@@</CodingSystem>
485 ;;</Code>
486 ;;</Description>
487 ;;<Status>
488 ;;<Text>@@RESULTSTATUS@@</Text>
489 ;;</Status>
490 ;;<Source>
491 ;;<Actor>
492 ;;<ActorID>@@RESULTSOURCEACTORID@@</ActorID>
493 ;;</Actor>
494 ;;</Source>
495 ;;<TEST_NORMALDESCRIPTION>
496 ;;<Test>
497 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
498 ;;<DateTime>
499 ;;<Type>
500 ;;<Text>Assessment Time</Text>
501 ;;</Type>
502 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
503 ;;</DateTime>
504 ;;<Description>
505 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
506 ;;<Code>
507 ;;<Value>@@RESULTTESTCODE@@</Value>
508 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
509 ;;</Code>
510 ;;</Description>
511 ;;<Status>
512 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
513 ;;</Status>
514 ;;<Source>
515 ;;<Actor>
516 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
517 ;;</Actor>
518 ;;</Source>
519 ;;<TestResult>
520 ;;<Value>@@RESULTTESTVALUE@@</Value>
521 ;;<Units>
522 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
523 ;;</Units>
524 ;;</TestResult>
525 ;;<NormalResult>
526 ;;<Normal>
527 ;;<Description>
528 ;;<Text>@@RESULTTESTNORMALDESCRIPTIONTEXT@@</Text>
529 ;;</Description>
530 ;;<Source>
531 ;;<Actor>
532 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
533 ;;</Actor>
534 ;;</Source>
535 ;;</Normal>
536 ;;</NormalResult>
537 ;;<Flag>
538 ;;<Text>@@RESULTTESTFLAG@@</Text>
539 ;;</Flag>
540 ;;</Test>
541 ;;</TEST_NORMALDESCRIPTION>
542 ;;<TEST_NORMALSEQUENCE>
543 ;;<Test>
544 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
545 ;;<DateTime>
546 ;;<Type>
547 ;;<Text>Assessment Time</Text>
548 ;;</Type>
549 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
550 ;;</DateTime>
551 ;;<Description>
552 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
553 ;;<Code>
554 ;;<Value>@@RESULTTESTVALUE@@</Value>
555 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
556 ;;</Code>
557 ;;</Description>
558 ;;<Status>
559 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
560 ;;</Status>
561 ;;<Source>
562 ;;<Actor>
563 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
564 ;;</Actor>
565 ;;</Source>
566 ;;<TestResult>
567 ;;<Value>@@RESULTTESTVALUE@@</Value>
568 ;;<Units>
569 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
570 ;;</Units>
571 ;;</TestResult>
572 ;;<NormalResult>
573 ;;<Normal>
574 ;;<Value>@@RESULTTESTNORMALVALUESEQ1@@</Value>
575 ;;<Units>
576 ;;<Unit>@@RESULTTESTNORMALUNITSEQ1@@</Unit>
577 ;;</Units>
578 ;;<ValueSequencePosition>1</ValueSequencePosition>
579 ;;<Source>
580 ;;<Actor>
581 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
582 ;;</Actor>
583 ;;</Source>
584 ;;</Normal>
585 ;;<Normal>
586 ;;<Value>@@RESULTTESTNORMALVALUESEQ2@@</Value>
587 ;;<Units>
588 ;;<Unit>@@RESULTTESTNORMALUNITSEQ2@@</Unit>
589 ;;</Units>
590 ;;<ValueSequencePosition>2</ValueSequencePosition>
591 ;;<VariableNomalModifier>
592 ;;<Text>@@RESULTTESTNORMALMODIFIER@@</Text>
593 ;;</VariableNomalModifier>
594 ;;<Source>
595 ;;<Actor>
596 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
597 ;;</Actor>
598 ;;</Source>
599 ;;</Normal>
600 ;;</NormalResult>
601 ;;<Flag>
602 ;;<Text>@@RESULTTESTFLAG@@</Text>
603 ;;</Flag>
604 ;;</Test>
605 ;;</TEST_NORMALSEQUENCE>
606 ;;</Result>
607 ;;</Results>
608 ;;<HealthCareProviders>
609 ;;<Provider>
610 ;;<ActorID>AA0005</ActorID>
611 ;;<ActorRole>
612 ;;<Text>Primary Provider</Text>
613 ;;</ActorRole>
614 ;;</Provider>
615 ;;</HealthCareProviders>
616 ;;</Body>
617 ;;<Actors>
618 ;;<ACTOR-PATIENT>
619 ;;<Actor>
620 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
621 ;;<Person>
622 ;;<Name>
623 ;;<CurrentName>
624 ;;<Given>@@ACTORGIVENNAME@@</Given>
625 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
626 ;;<Family>@@ACTORFAMILYNAME@@</Family>
627 ;;</CurrentName>
628 ;;</Name>
629 ;;<DateOfBirth>
630 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
631 ;;</DateOfBirth>
632 ;;<Gender>
633 ;;<Text>@@ACTORGENDER@@</Text>
634 ;;<Code>
635 ;;<Value>@@ACTORGENDER@@</Value>
636 ;;<CodingSystem>2.16.840.1.113883.5.1</CodingSystem>
637 ;;</Code>
638 ;;</Gender>
639 ;;</Person>
640 ;;<IDs>
641 ;;<Type>
642 ;;<Text>@@ACTORSSNTEXT@@</Text>
643 ;;</Type>
644 ;;<ID>@@ACTORSSN@@</ID>
645 ;;<Source>
646 ;;<Actor>
647 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
648 ;;</Actor>
649 ;;</Source>
650 ;;</IDs>
651 ;;<Address>
652 ;;<Type>
653 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
654 ;;</Type>
655 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
656 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
657 ;;<City>@@ACTORADDRESSCITY@@</City>
658 ;;<State>@@ACTORADDRESSSTATE@@</State>
659 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
660 ;;</Address>
661 ;;<Telephone>
662 ;;<Value>@@ACTORRESTEL@@</Value>
663 ;;<Type>
664 ;;<Text>@@ACTORRESTELTEXT@@</Text>
665 ;;</Type>
666 ;;</Telephone>
667 ;;<Telephone>
668 ;;<Value>@@ACTORWORKTEL@@</Value>
669 ;;<Type>
670 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
671 ;;</Type>
672 ;;</Telephone>
673 ;;<Telephone>
674 ;;<Value>@@ACTORCELLTEL@@</Value>
675 ;;<Type>
676 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
677 ;;</Type>
678 ;;</Telephone>
679 ;;<EMail>
680 ;;<Value>@@ACTOREMAIL@@</Value>
681 ;;</EMail>
682 ;;<Source>
683 ;;<Actor>
684 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
685 ;;</Actor>
686 ;;</Source>
687 ;;</Actor>
688 ;;</ACTOR-PATIENT>
689 ;;<ACTOR-SYSTEM>
690 ;;<Actor>
691 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
692 ;;<InformationSystem>
693 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
694 ;;<Version>@@ACTORINFOSYSVER@@</Version>
695 ;;</InformationSystem>
696 ;;<Source>
697 ;;<Actor>
698 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
699 ;;</Actor>
700 ;;</Source>
701 ;;</Actor>
702 ;;</ACTOR-SYSTEM>
703 ;;<ACTOR-NOK>
704 ;;<Actor>
705 ;;<ActorObjectID>AA0003</ActorObjectID>
706 ;;<Person>
707 ;;<Name>
708 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
709 ;;</Name>
710 ;;</Person>
711 ;;<Relation>
712 ;;<Text>@@ACTORRELATION@@</Text>
713 ;;</Relation>
714 ;;<Source>
715 ;;<Actor>
716 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
717 ;;</Actor>
718 ;;</Source>
719 ;;</Actor>
720 ;;</ACTOR-NOK>
721 ;;<ACTOR-PROVIDER>
722 ;;<Actor>
723 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
724 ;;<Person>
725 ;;<Name>
726 ;;<CurrentName>
727 ;;<Given>@@ACTORGIVENNAME@@</Given>
728 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
729 ;;<Family>@@ACTORFAMILYNAME@@</Family>
730 ;;<Title>@@ACTORTITLE@@</Title>
731 ;;</CurrentName>
732 ;;</Name>
733 ;;</Person>
734 ;;<IDs>
735 ;;<Type>
736 ;;<Text>@@IDTYPE@@</Text>
737 ;;</Type>
738 ;;<ID>@@ID@@</ID>
739 ;;<IssuedBy>
740 ;;<Description>
741 ;;<Text>@@IDDESC@@</Text>
742 ;;</Description>
743 ;;</IssuedBy>
744 ;;</IDs>
745 ;;<Specialty>
746 ;;<Text>@@ACTORSPECIALITY@@</Text>
747 ;;</Specialty>
748 ;;<Address>
749 ;;<Type>
750 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
751 ;;</Type>
752 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
753 ;;<City>@@ACTORADDRESSCITY@@</City>
754 ;;<State>@@ACTORADDRESSSTATE@@</State>
755 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
756 ;;</Address>
757 ;;<Telephone>
758 ;;<Value>@@ACTORTELEPHONE@@</Value>
759 ;;<Type>
760 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
761 ;;</Type>
762 ;;</Telephone>
763 ;;<Email>
764 ;;<Value>@@ACTOREMAIL@@</Value>
765 ;;</Email>
766 ;;<Source>
767 ;;<Actor>
768 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
769 ;;</Actor>
770 ;;</Source>
771 ;;</Actor>
772 ;;</ACTOR-PROVIDER>
773 ;;<ACTOR-ORG>
774 ;;<Actor>
775 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
776 ;;<Organization>
777 ;;<Name>@@ORGANIZATIONNAME@@</Name>
778 ;;</Organization>
779 ;;<Source>
780 ;;<Actor>
781 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
782 ;;</Actor>
783 ;;</Source>
784 ;;</Actor>
785 ;;</ACTOR-ORG>
786 ;;</Actors>
787 ;;<Signatures>
788 ;;<CCRSignature>
789 ;;<SignatureObjectID>S0001</SignatureObjectID>
790 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
791 ;;<Source>
792 ;;<ActorID>AA0001</ActorID>
793 ;;</Source>
794 ;;<Signature>
795 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
796 ;;<SignedInfo>
797 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
798 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
799 ;;<Reference URI="">
800 ;;<Transforms>
801 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
802 ;;</Transforms>
803 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
804 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
805 ;;</Reference>
806 ;;</SignedInfo>
807 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
808 ;;<KeyInfo>
809 ;;<KeyValue>
810 ;;<RSAKeyValue>
811 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
812 ;;<Exponent>AQAB</Exponent>
813 ;;</RSAKeyValue>
814 ;;</KeyValue>
815 ;;</KeyInfo>
816 ;;</Signature>
817 ;;</Signature>
818 ;;</CCRSignature>
819 ;;</Signatures>
820 ;;</ContinuityOfCareRecord>
821 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.