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

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

preliminary Immunization support

File size: 19.2 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 ;;<Status>
108 ;;<Text>@@PROBLEMSTATUS@@</Text>
109 ;;</Status>
110 ;;<Description>
111 ;;<Text>@@PROBLEMDESCRIPTION@@</Text>
112 ;;<Code>
113 ;;<Value>@@PROBLEMCODEVALUE@@</Value>
114 ;;<CodingSystem>ICD9CM</CodingSystem>
115 ;;<Version>@@PROBLEMCODINGVERSION@@</Version>
116 ;;</Code>
117 ;;</Description>
118 ;;<DateTime>
119 ;;<ExactDateTime>@@PROBLEMDATEMOD@@</ExactDateTime>
120 ;;</DateTime>
121 ;;<Source>
122 ;;<Actor>
123 ;;<ActorID>@@PROBLEMSOURCEACTORID@@</ActorID>
124 ;;</Actor>
125 ;;</Source>
126 ;;</Problem>
127 ;;</Problems>
128 ;;<Immunizations>
129 ;;<Immunization>
130 ;;<CCRDataObjectID>@@IMMUNEOBJECTID@@</CCRDataObjectID>
131 ;;<DateTime>
132 ;;<Type>
133 ;;<Text>@@IMMUNEDATETIMETYPETEXT@@</Text>
134 ;;</Type>
135 ;;<ExactDateTime>@@IMMUNEDATETIME@@</ExactDateTime>
136 ;;</DateTime>
137 ;;<Source><Actor><ActorID>@@IMMUNESOURCEACTORID@@</ActorID></Actor></Source>
138 ;;<Product>
139 ;;<ProductName>
140 ;;<Text>@@IMMUNEPRODUCTNAMETEXT@@</Text>
141 ;;<Code>
142 ;;<Value>@@IMMUNEPRODUCTCODE@@</Value>
143 ;;<CodingSystem>@@IMMUNEPRODUCTCODESYSTEM@@</CodingSystem>
144 ;;</Code>
145 ;;</ProductName>
146 ;;</Product>
147 ;;</Immunization>
148 ;;</Immunizations>
149 ;;<FamilyHistory>
150 ;;<FamilyProblemHistory>
151 ;;<CCRDataObjectID>@@FAMILYHISTORYOBJECTID@@</CCRDataObjectID>
152 ;;<Source>
153 ;;<Actor>
154 ;;<ActorID>@@FAMILYHISTORYACTORID@@</ActorID>
155 ;;</Actor>
156 ;;</Source>
157 ;;<FamilyMember>
158 ;;<ActorID>@@FAMILYMEMBERACTORID@@</ActorID>
159 ;;<ActorRole>
160 ;;<Text>@@FAMILYMEMBERACTORROLETEXT@@</Text>
161 ;;</ActorRole>
162 ;;<Source>
163 ;;<Actor>
164 ;;<ActorID>@@FAMILYMEMBERSOURCACTORID@@</ActorID>
165 ;;</Actor>
166 ;;</Source>
167 ;;</FamilyMember>
168 ;;<Problem>
169 ;;<Type>
170 ;;<Text>Problem</Text>
171 ;;</Type>
172 ;;<Description>
173 ;;<Text>@@FAMILYMEMBERPROBLEMDESCRIPTION@@</Text>
174 ;;<Code>
175 ;;<Value>@@FAMILYMEMBERPROBLEMCODE@@</Value>
176 ;;<CodingSystem>@@FAMILYMEMBERCODESYSTEM@@</CodingSystem>
177 ;;<Version>@@FAMILYMEMBERCODEVERSION@@</Version>
178 ;;</Code>
179 ;;</Description>
180 ;;<Source>
181 ;;<Actor>
182 ;;<ActorID>@@FAMILYMEMBERPROBLEMSOURCEID@@</ActorID>
183 ;;</Actor>
184 ;;</Source>
185 ;;</Problem>
186 ;;</FamilyProblemHistory>
187 ;;</FamilyHistory>
188 ;;<SocialHistory>
189 ;;<SocialHistoryElement>
190 ;;<CCRDataObjectID>@@SOCIALHISTORYOBJECTID@@</CCRDataObjectID>
191 ;;<Type>
192 ;;<Text>@@SOCIALHISTORYTYPETEXT@@</Text>
193 ;;</Type>
194 ;;<Description>
195 ;;<Text>@@SOCIALHISTORYDESCRIPTIONTEXT@@</Text>
196 ;;</Description>
197 ;;<Source>
198 ;;<Actor>
199 ;;<ActorID>@@SOCIALHISTORYSOURCACTORID@@</ActorID>
200 ;;</Actor>
201 ;;</Source>
202 ;;</SocialHistoryElement>
203 ;;<SocialHistoryElement>
204 ;;<CCRDataObjectID>BB0005</CCRDataObjectID>
205 ;;<Type>
206 ;;<Text>Ethnic Origin</Text>
207 ;;</Type>
208 ;;<Description>
209 ;;<Text>Not Hispanic or Latino</Text>
210 ;;</Description>
211 ;;<Source>
212 ;;<Actor>
213 ;;<ActorID>AA0001</ActorID>
214 ;;</Actor>
215 ;;</Source>
216 ;;</SocialHistoryElement>
217 ;;<SocialHistoryElement>
218 ;;<CCRDataObjectID>BB0006</CCRDataObjectID>
219 ;;<Type>
220 ;;<Text>Race</Text>
221 ;;</Type>
222 ;;<Description>
223 ;;<Text>White</Text>
224 ;;</Description>
225 ;;<Source>
226 ;;<Actor>
227 ;;<ActorID>AA0001</ActorID>
228 ;;</Actor>
229 ;;</Source>
230 ;;</SocialHistoryElement>
231 ;;<SocialHistoryElement>
232 ;;<CCRDataObjectID>BB0007</CCRDataObjectID>
233 ;;<Type>
234 ;;<Text>Occupation</Text>
235 ;;</Type>
236 ;;<Description>
237 ;;<Text>Physician</Text>
238 ;;</Description>
239 ;;<Source>
240 ;;<Actor>
241 ;;<ActorID>AA0001</ActorID>
242 ;;</Actor>
243 ;;</Source>
244 ;;</SocialHistoryElement>
245 ;;</SocialHistory>
246 ;;<Alerts>
247 ;;<Alert>
248 ;;<CCRDataObjectID>@@ALERTOBJECTID@@</CCRDataObjectID>
249 ;;<Type>
250 ;;<Text>@@ALERTTYPE@@</Text>
251 ;;</Type>
252 ;;<Description>
253 ;;<Text>@@ALERTDESCRIPTIONTEXT@@</Text>
254 ;;<Code>
255 ;;<Value>@@ALERTCODEVALUE@@</Value>
256 ;;<CodingSystem>@@ALERTCODESYSTEM@@</CodingSystem>
257 ;;</Code>
258 ;;</Description>
259 ;;<Status>
260 ;;<Text>@@ALERTSTATUSTEXT@@</Text>
261 ;;</Status>
262 ;;<DateTime>
263 ;;<ExactDateTime>@@ALERTDATETIME@@</ExactDateTime>
264 ;;</DateTime>
265 ;;<Source>
266 ;;<Actor>
267 ;;<ActorID>@@ALERTSOURCEID@@</ActorID>
268 ;;</Actor>
269 ;;</Source>
270 ;;<Agent>
271 ;;<Products>
272 ;;<Product>
273 ;;<CCRDataObjectID>@@ALERTAGENTPRODUCTOBJECTID@@</CCRDataObjectID>
274 ;;<Source>
275 ;;<Actor>
276 ;;<ActorID>@@ALERTAGENTPRODUCTSOURCEID@@</ActorID>
277 ;;</Actor>
278 ;;</Source>
279 ;;<ProductName>
280 ;;<Text>@@ALERTAGENTPRODUCTNAMETEXT@@</Text>
281 ;;<Code>
282 ;;<Value>@@ALERTAGENTPRODUCTCODEVALUE@@</Value>
283 ;;<CodingSystem>@@ALERTAGENTPRODUCTCODESYSTEM@@</CodingSystem>
284 ;;</Code>
285 ;;</ProductName>
286 ;;</Product>
287 ;;</Products>
288 ;;</Agent>
289 ;;<Reaction>
290 ;;<Description>
291 ;;<Text>@@ALERTREACTIOINDESCRIPTIONTEXT@@</Text>
292 ;;<Code>
293 ;;<Value>@@ALERTREACTIONCODEVALUE@@</Value>
294 ;;<CodingSystem>@@ALERTREACTIONCODESYSTEM@@</CodingSystem>
295 ;;</Code>
296 ;;</Description>
297 ;;</Reaction>
298 ;;</Alert>
299 ;;</Alerts>
300 ;;<Medications>
301 ;;<Medication>
302 ;;<CCRDataObjectID>@@MEDOBJECTID@@</CCRDataObjectID>
303 ;;<DateTime>
304 ;;<Type>
305 ;;<Text>@@MEDISSUEDATETXT@@</Text>
306 ;;</Type>
307 ;;<ExactDateTime>@@MEDISSUEDATE@@</ExactDateTime>
308 ;;<Type>
309 ;;<Text>@@MEDLASTFILLDATETXT@@</Text>
310 ;;</Type>
311 ;;<ExactDateTime>@@MEDLASTFILLDATE@@</ExactDateTime>
312 ;;</DateTime>
313 ;;<IDs>
314 ;;<Type>
315 ;;<Text>@@MEDRXNOTXT@@</Text>
316 ;;</Type>
317 ;;<ID>@@MEDRXNO@@</ID>
318 ;;</IDs>
319 ;;<Type>
320 ;;<Text>@@MEDTYPETEXT@@</Text>
321 ;;</Type>
322 ;;<Description>
323 ;;<Text>@@MEDDETAILUNADORNED@@</Text>
324 ;;</Description>
325 ;;<Status>
326 ;;<Text>@@MEDSTATUSTEXT@@</Text>
327 ;;</Status>
328 ;;<Source>
329 ;;<Actor>
330 ;;<ActorID>@@MEDSOURCEACTORID@@</ActorID>
331 ;;</Actor>
332 ;;</Source>
333 ;;<Product>
334 ;;<ProductName>
335 ;;<Text>@@MEDPRODUCTNAMETEXT@@</Text>
336 ;;<Code>
337 ;;<Value>@@MEDPRODUCTNAMECODEVALUE@@</Value>
338 ;;<CodingSystem>@@MEDPRODUCTNAMECODINGINGSYSTEM@@</CodingSystem>
339 ;;<Version>@@MEDPRODUCTNAMECODEVERSION@@</Version>
340 ;;</Code>
341 ;;</ProductName>
342 ;;<BrandName>
343 ;;<Text>@@MEDBRANDNAMETEXT@@</Text>
344 ;;</BrandName>
345 ;;<Strength>
346 ;;<Value>@@MEDSTRENGTHVALUE@@</Value>
347 ;;<Units>
348 ;;<Unit>@@MEDSTRENGTHUNIT@@</Unit>
349 ;;</Units>
350 ;;</Strength>
351 ;;<Form>
352 ;;<Text>@@MEDFORMTEXT@@</Text>
353 ;;</Form>
354 ;;<Concentration>
355 ;;<Value>@@MEDCONCVALUE@@</Value>
356 ;;<Units>
357 ;;<Unit>@@MEDCONCUNIT@@</Unit>
358 ;;</Units>
359 ;;</Concentration>
360 ;;</Product>
361 ;;<Quantity>
362 ;;<Value>@@MEDQUANTITYVALUE@@</Value>
363 ;;<Units>
364 ;;<Unit>@@MEDQUANTITYUNIT@@</Unit>
365 ;;</Units>
366 ;;</Quantity>
367 ;;<Directions>
368 ;;<Direction>
369 ;;<Description>
370 ;;<Text>@@MEDDIRECTIONDESCRIPTIONTEXT@@</Text>
371 ;;</Description>
372 ;;<DoseIndicator>
373 ;;<Text>@@MEDDOSEINDICATOR@@</Text>
374 ;;</DoseIndicator>
375 ;;<DeliveryMethod>
376 ;;<Text>@@MEDDELIVERYMETHOD@@</Text>
377 ;;</DeliveryMethod>
378 ;;<Dose>
379 ;;<Value>@@MEDDOSEVALUE@@</Value>
380 ;;<Units>
381 ;;<Unit>@@MEDDOSEUNIT@@</Unit>
382 ;;</Units>
383 ;;<Rate>
384 ;;<Value>@@MEDRATEVALUE@@</Value>
385 ;;<Units>
386 ;;<Unit>@@MEDRATEUNIT@@</Unit>
387 ;;</Units>
388 ;;</Rate>
389 ;;</Dose>
390 ;;<Vehicle>
391 ;;<Text>@@MEDVEHICLETEXT@@</Text>
392 ;;</Vehicle>
393 ;;<Route>
394 ;;<Text>@@MEDDIRECTIONROUTETEXT@@</Text>
395 ;;</Route>
396 ;;<Frequency>
397 ;;<Value>@@MEDFREQUENCYVALUE@@</Value>
398 ;;</Frequency>
399 ;;<Interval>
400 ;;<Value>@@MEDINTERVALVALUE@@</Value>
401 ;;<Units>
402 ;;<Unit>@@MEDINTERVALUNIT@@</Unit>
403 ;;</Units>
404 ;;</Interval>
405 ;;<Duration>
406 ;;<Value>@@MEDDURATIONVALUE@@</Value>
407 ;;<Units>
408 ;;<Unit>@@MEDDURATIONUNIT@@</Unit>
409 ;;</Units>
410 ;;</Duration>
411 ;;<Indication>
412 ;;<PRNFlag>
413 ;;<Text>@@MEDPRNFLAG@@</Text>
414 ;;</PRNFlag>
415 ;;<Problem>
416 ;;<CCRDataObjectID>@@MEDPROBLEMOBJECTID@@</CCRDataObjectID>
417 ;;<Type>
418 ;;<Text>@@MEDPROBLEMTYPETXT@@</Text>
419 ;;</Type>
420 ;;<Description>
421 ;;<Text>@@MEDPROBLEMDESCRIPTION@@</Text>
422 ;;<Code>
423 ;;<Value>@@MEDPROBLEMCODEVALUE@@</Value>
424 ;;<CodingSystem>@@MEDPROBLEMCODINGSYSTEM@@</CodingSystem>
425 ;;<Version>@@MEDPROBLEMCODINGVERSION@@</Version>
426 ;;</Code>
427 ;;</Description>
428 ;;<Source>
429 ;;<Actor>
430 ;;<ActorID>@@MEDPROBLEMSOURCEACTORID@@</ActorID>
431 ;;</Actor>
432 ;;</Source>
433 ;;</Problem>
434 ;;</Indication>
435 ;;<StopIndicator>
436 ;;<Text>@@MEDSTOPINDICATOR@@</Text>
437 ;;</StopIndicator>
438 ;;<DirectionSequenceModifier>@@MEDDIRSEQ@@</DirectionSequenceModifier>
439 ;;<MultipleDirectionModifier>
440 ;;<Text>@@MEDMULDIRMOD@@</Text>
441 ;;</MultipleDirectionModifier>
442 ;;</Direction>
443 ;;</Directions>
444 ;;<PatientInstructions>
445 ;;<Instruction>@@MEDPTINSTRUCTIONS@@</Instruction>
446 ;;</PatientInstructions>
447 ;;<FullfillmentInstructions>
448 ;;<Text>@@MEDFULLFILLMENTINSTRUCTIONS@@</Text>
449 ;;</FullfillmentInstructions>
450 ;;<Refills>
451 ;;<Refill>
452 ;;<Number>@@MEDRFNO@@</Number>
453 ;;</Refill>
454 ;;</Refills>
455 ;;</Medication>
456 ;;</Medications>
457 ;;<VitalSigns>
458 ;;<Result>
459 ;;<CCRDataObjectID>@@VITALSIGNSDATAOBJECTID@@</CCRDataObjectID>
460 ;;<DateTime>
461 ;;<Type>
462 ;;<Text>@@VITALSIGNSDATETIMETYPETEXT@@</Text>
463 ;;</Type>
464 ;;<ExactDateTime>@@VITALSIGNSEXACTDATETIME@@</ExactDateTime>
465 ;;</DateTime>
466 ;;<Description>
467 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
468 ;;</Description>
469 ;;<Source>
470 ;;<Actor>
471 ;;<ActorID>@@VITALSIGNSSOURCEACTORID@@</ActorID>
472 ;;</Actor>
473 ;;</Source>
474 ;;<Test>
475 ;;<CCRDataObjectID>@@VITALSIGNSTESTOBJECTID@@</CCRDataObjectID>
476 ;;<Type>
477 ;;<Text>@@VITALSIGNSTESTTYPETEXT@@</Text>
478 ;;</Type>
479 ;;<Description>
480 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
481 ;;<Code>
482 ;;<Value>@@VITALSIGNSDESCRIPTIONCODEVALUE@@</Value>
483 ;;<CodingSystem>@@VITALSIGNSDESCRIPTIONCODINGSYSTEM@@</CodingSystem>
484 ;;<Version>@@VITALSIGNSCODEVERSION@@</Version>
485 ;;</Code>
486 ;;</Description>
487 ;;<Source>
488 ;;<Actor>
489 ;;<ActorID>@@VITALSIGNSTESTSOURCEACTORID@@</ActorID>
490 ;;</Actor>
491 ;;</Source>
492 ;;<TestResult>
493 ;;<Value>@@VITALSIGNSTESTRESULTVALUE@@</Value>
494 ;;<Units>
495 ;;<Unit>@@VITALSIGNSTESTRESULTUNIT@@</Unit>
496 ;;</Units>
497 ;;</TestResult>
498 ;;</Test>
499 ;;</Result>
500 ;;</VitalSigns>
501 ;;<Results>
502 ;;<Result>
503 ;;<CCRDataObjectID>@@RESULTOBJECTID@@</CCRDataObjectID>
504 ;;<DateTime>
505 ;;<Type>
506 ;;<Text>Assessment Time</Text>
507 ;;</Type>
508 ;;<ExactDateTime>@@RESULTASSESSMENTDATETIME@@</ExactDateTime>
509 ;;</DateTime>
510 ;;<Description>
511 ;;<Text>@@RESULTDESCRIPTIONTEXT@@</Text>
512 ;;<Code>
513 ;;<Value>@@RESULTCODE@@</Value>
514 ;;<CodingSystem>@@RESULTCODINGSYSTEM@@</CodingSystem>
515 ;;</Code>
516 ;;</Description>
517 ;;<Status>
518 ;;<Text>@@RESULTSTATUS@@</Text>
519 ;;</Status>
520 ;;<Source>
521 ;;<Actor>
522 ;;<ActorID>@@RESULTSOURCEACTORID@@</ActorID>
523 ;;</Actor>
524 ;;</Source>
525 ;;<Test>
526 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
527 ;;<DateTime>
528 ;;<Type>
529 ;;<Text>Assessment Time</Text>
530 ;;</Type>
531 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
532 ;;</DateTime>
533 ;;<Description>
534 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
535 ;;<Code>
536 ;;<Value>@@RESULTTESTCODEVALUE@@</Value>
537 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
538 ;;</Code>
539 ;;</Description>
540 ;;<Status>
541 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
542 ;;</Status>
543 ;;<Source>
544 ;;<Actor>
545 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
546 ;;</Actor>
547 ;;</Source>
548 ;;<TestResult>
549 ;;<Value>@@RESULTTESTVALUE@@</Value>
550 ;;<Units>
551 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
552 ;;</Units>
553 ;;</TestResult>
554 ;;<NormalResult>
555 ;;<Normal>
556 ;;<Description>
557 ;;<Text>@@RESULTTESTNORMALDESCRIPTIONTEXT@@</Text>
558 ;;</Description>
559 ;;<Source>
560 ;;<Actor>
561 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
562 ;;</Actor>
563 ;;</Source>
564 ;;</Normal>
565 ;;</NormalResult>
566 ;;<Flag>
567 ;;<Text>@@RESULTTESTFLAG@@</Text>
568 ;;</Flag>
569 ;;</Test>
570 ;;</Result>
571 ;;</Results>
572 ;;<HealthCareProviders>
573 ;;<Provider>
574 ;;<ActorID>AA0005</ActorID>
575 ;;<ActorRole>
576 ;;<Text>Primary Provider</Text>
577 ;;</ActorRole>
578 ;;</Provider>
579 ;;</HealthCareProviders>
580 ;;</Body>
581 ;;<Actors>
582 ;;<ACTOR-PATIENT>
583 ;;<Actor>
584 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
585 ;;<Person>
586 ;;<Name>
587 ;;<CurrentName>
588 ;;<Given>@@ACTORGIVENNAME@@</Given>
589 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
590 ;;<Family>@@ACTORFAMILYNAME@@</Family>
591 ;;</CurrentName>
592 ;;</Name>
593 ;;<DateOfBirth>
594 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
595 ;;</DateOfBirth>
596 ;;<Gender>
597 ;;<Text>@@ACTORGENDER@@</Text>
598 ;;<Code>
599 ;;<Value>@@ACTORGENDER@@</Value>
600 ;;<CodingSystem>2.16.840.1.113883.5.1</CodingSystem>
601 ;;</Code>
602 ;;</Gender>
603 ;;</Person>
604 ;;<IDs>
605 ;;<Type>
606 ;;<Text>@@ACTORSSNTEXT@@</Text>
607 ;;</Type>
608 ;;<ID>@@ACTORSSN@@</ID>
609 ;;<Source>
610 ;;<Actor>
611 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
612 ;;</Actor>
613 ;;</Source>
614 ;;</IDs>
615 ;;<Address>
616 ;;<Type>
617 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
618 ;;</Type>
619 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
620 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
621 ;;<City>@@ACTORADDRESSCITY@@</City>
622 ;;<State>@@ACTORADDRESSSTATE@@</State>
623 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
624 ;;</Address>
625 ;;<Telephone>
626 ;;<Value>@@ACTORRESTEL@@</Value>
627 ;;<Type>
628 ;;<Text>@@ACTORRESTELTEXT@@</Text>
629 ;;</Type>
630 ;;</Telephone>
631 ;;<Telephone>
632 ;;<Value>@@ACTORWORKTEL@@</Value>
633 ;;<Type>
634 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
635 ;;</Type>
636 ;;</Telephone>
637 ;;<Telephone>
638 ;;<Value>@@ACTORCELLTEL@@</Value>
639 ;;<Type>
640 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
641 ;;</Type>
642 ;;</Telephone>
643 ;;<EMail>
644 ;;<Value>@@ACTOREMAIL@@</Value>
645 ;;</EMail>
646 ;;<Source>
647 ;;<Actor>
648 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
649 ;;</Actor>
650 ;;</Source>
651 ;;</Actor>
652 ;;</ACTOR-PATIENT>
653 ;;<ACTOR-SYSTEM>
654 ;;<Actor>
655 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
656 ;;<InformationSystem>
657 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
658 ;;<Version>@@ACTORINFOSYSVER@@</Version>
659 ;;</InformationSystem>
660 ;;<Source>
661 ;;<Actor>
662 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
663 ;;</Actor>
664 ;;</Source>
665 ;;</Actor>
666 ;;</ACTOR-SYSTEM>
667 ;;<ACTOR-NOK>
668 ;;<Actor>
669 ;;<ActorObjectID>AA0003</ActorObjectID>
670 ;;<Person>
671 ;;<Name>
672 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
673 ;;</Name>
674 ;;</Person>
675 ;;<Relation>
676 ;;<Text>@@ACTORRELATION@@</Text>
677 ;;</Relation>
678 ;;<Source>
679 ;;<Actor>
680 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
681 ;;</Actor>
682 ;;</Source>
683 ;;</Actor>
684 ;;</ACTOR-NOK>
685 ;;<ACTOR-PROVIDER>
686 ;;<Actor>
687 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
688 ;;<Person>
689 ;;<Name>
690 ;;<CurrentName>
691 ;;<Given>@@ACTORGIVENNAME@@</Given>
692 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
693 ;;<Family>@@ACTORFAMILYNAME@@</Family>
694 ;;<Title>@@ACTORTITLE@@</Title>
695 ;;</CurrentName>
696 ;;</Name>
697 ;;</Person>
698 ;;<IDs>
699 ;;<Type>
700 ;;<Text>@@IDTYPE@@</Text>
701 ;;</Type>
702 ;;<ID>@@ID@@</ID>
703 ;;<IssuedBy>
704 ;;<Description>
705 ;;<Text>@@IDDESC@@</Text>
706 ;;</Description>
707 ;;</IssuedBy>
708 ;;</IDs>
709 ;;<Specialty>
710 ;;<Text>@@ACTORSPECIALITY@@</Text>
711 ;;</Specialty>
712 ;;<Address>
713 ;;<Type>
714 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
715 ;;</Type>
716 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
717 ;;<City>@@ACTORADDRESSCITY@@</City>
718 ;;<State>@@ACTORADDRESSSTATE@@</State>
719 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
720 ;;</Address>
721 ;;<Telephone>
722 ;;<Value>@@ACTORTELEPHONE@@</Value>
723 ;;<Type>
724 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
725 ;;</Type>
726 ;;</Telephone>
727 ;;<Email>
728 ;;<Value>@@ACTOREMAIL@@</Value>
729 ;;</Email>
730 ;;<Source>
731 ;;<Actor>
732 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
733 ;;</Actor>
734 ;;</Source>
735 ;;</Actor>
736 ;;</ACTOR-PROVIDER>
737 ;;<ACTOR-ORG>
738 ;;<Actor>
739 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
740 ;;<Organization>
741 ;;<Name>@@ORGANIZATIONNAME@@</Name>
742 ;;</Organization>
743 ;;<Source>
744 ;;<Actor>
745 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
746 ;;</Actor>
747 ;;</Source>
748 ;;</Actor>
749 ;;</ACTOR-ORG>
750 ;;</Actors>
751 ;;<Signatures>
752 ;;<CCRSignature>
753 ;;<SignatureObjectID>S0001</SignatureObjectID>
754 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
755 ;;<Source>
756 ;;<ActorID>AA0001</ActorID>
757 ;;</Source>
758 ;;<Signature>
759 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
760 ;;<SignedInfo>
761 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
762 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
763 ;;<Reference URI="">
764 ;;<Transforms>
765 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
766 ;;</Transforms>
767 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
768 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
769 ;;</Reference>
770 ;;</SignedInfo>
771 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
772 ;;<KeyInfo>
773 ;;<KeyValue>
774 ;;<RSAKeyValue>
775 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
776 ;;<Exponent>AQAB</Exponent>
777 ;;</RSAKeyValue>
778 ;;</KeyValue>
779 ;;</KeyInfo>
780 ;;</Signature>
781 ;;</Signature>
782 ;;</CCRSignature>
783 ;;</Signatures>
784 ;;</ContinuityOfCareRecord>
785 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.