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

Last change on this file since 578 was 578, checked in by Christopher Edwards, 15 years ago

Fixed Actors in the Immunization section template

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