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

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

fixes for Labs not found and some Meds template fixes

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