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

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

improvements to Problems and Alerts, added dates, type

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