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

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

Re-fixed the alert XML to pass XML schema validation

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