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

Last change on this file since 90 was 90, checked in by Sam Habiel, 16 years ago

Updated CPLCCR0 to include a more comprehensive medication section.

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