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

Last change on this file since 340 was 338, checked in by George Lilly, 16 years ago

reformatting

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