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

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

namespacing the package

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