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

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

Completed update of GPLCCR0 for Meds

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