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

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

Fix for bug #6 & 4

Rearranged CCR template so it should pass schema validation

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