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

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

test Labs

File size: 20.4 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>
[154]367 ;;<Text>@@MEDFREQUENCYVALUE@@</Text>
[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>
415 ;;<Text>@@MEDPTINSTRUCTIONS@@</Text>
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_NORMALDESCRIPTION>
496 ;;<Test>
497 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
[63]498 ;;<DateTime>
499 ;;<Type>
500 ;;<Text>Assessment Time</Text>
501 ;;</Type>
[77]502 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
[63]503 ;;</DateTime>
504 ;;<Description>
[77]505 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
[63]506 ;;<Code>
[77]507 ;;<Value>@@RESULTTESTCODE@@</Value>
508 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
[63]509 ;;</Code>
510 ;;</Description>
511 ;;<Status>
[77]512 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
[63]513 ;;</Status>
514 ;;<Source>
515 ;;<Actor>
[77]516 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
[63]517 ;;</Actor>
518 ;;</Source>
519 ;;<TestResult>
[77]520 ;;<Value>@@RESULTTESTVALUE@@</Value>
[63]521 ;;<Units>
[77]522 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
[63]523 ;;</Units>
524 ;;</TestResult>
525 ;;<NormalResult>
526 ;;<Normal>
527 ;;<Description>
[77]528 ;;<Text>@@RESULTTESTNORMALDESCRIPTIONTEXT@@</Text>
[63]529 ;;</Description>
530 ;;<Source>
531 ;;<Actor>
[77]532 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]533 ;;</Actor>
534 ;;</Source>
535 ;;</Normal>
536 ;;</NormalResult>
537 ;;<Flag>
[77]538 ;;<Text>@@RESULTTESTFLAG@@</Text>
[63]539 ;;</Flag>
540 ;;</Test>
[77]541 ;;</TEST_NORMALDESCRIPTION>
542 ;;<TEST_NORMALSEQUENCE>
[63]543 ;;<Test>
[77]544 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
[63]545 ;;<DateTime>
546 ;;<Type>
547 ;;<Text>Assessment Time</Text>
548 ;;</Type>
[77]549 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
[63]550 ;;</DateTime>
551 ;;<Description>
[77]552 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
[63]553 ;;<Code>
[254]554 ;;<Value>@@RESULTTESTCODEVALUE@@</Value>
[77]555 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
[63]556 ;;</Code>
557 ;;</Description>
558 ;;<Status>
[77]559 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
[63]560 ;;</Status>
561 ;;<Source>
562 ;;<Actor>
[77]563 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
[63]564 ;;</Actor>
565 ;;</Source>
566 ;;<TestResult>
[77]567 ;;<Value>@@RESULTTESTVALUE@@</Value>
[63]568 ;;<Units>
[77]569 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
[63]570 ;;</Units>
571 ;;</TestResult>
572 ;;<NormalResult>
573 ;;<Normal>
[77]574 ;;<Value>@@RESULTTESTNORMALVALUESEQ1@@</Value>
[63]575 ;;<Units>
[77]576 ;;<Unit>@@RESULTTESTNORMALUNITSEQ1@@</Unit>
[63]577 ;;</Units>
578 ;;<ValueSequencePosition>1</ValueSequencePosition>
579 ;;<Source>
580 ;;<Actor>
[77]581 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]582 ;;</Actor>
583 ;;</Source>
584 ;;</Normal>
585 ;;<Normal>
[77]586 ;;<Value>@@RESULTTESTNORMALVALUESEQ2@@</Value>
[63]587 ;;<Units>
[77]588 ;;<Unit>@@RESULTTESTNORMALUNITSEQ2@@</Unit>
[63]589 ;;</Units>
590 ;;<ValueSequencePosition>2</ValueSequencePosition>
591 ;;<VariableNomalModifier>
[77]592 ;;<Text>@@RESULTTESTNORMALMODIFIER@@</Text>
[63]593 ;;</VariableNomalModifier>
594 ;;<Source>
595 ;;<Actor>
[77]596 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]597 ;;</Actor>
598 ;;</Source>
599 ;;</Normal>
600 ;;</NormalResult>
601 ;;<Flag>
[77]602 ;;<Text>@@RESULTTESTFLAG@@</Text>
[63]603 ;;</Flag>
604 ;;</Test>
[77]605 ;;</TEST_NORMALSEQUENCE>
[63]606 ;;</Result>
607 ;;</Results>
[53]608 ;;<HealthCareProviders>
609 ;;<Provider>
610 ;;<ActorID>AA0005</ActorID>
611 ;;<ActorRole>
612 ;;<Text>Primary Provider</Text>
613 ;;</ActorRole>
614 ;;</Provider>
615 ;;</HealthCareProviders>
616 ;;</Body>
617 ;;<Actors>
618 ;;<ACTOR-PATIENT>
619 ;;<Actor>
620 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
621 ;;<Person>
622 ;;<Name>
623 ;;<CurrentName>
624 ;;<Given>@@ACTORGIVENNAME@@</Given>
625 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
626 ;;<Family>@@ACTORFAMILYNAME@@</Family>
627 ;;</CurrentName>
628 ;;</Name>
629 ;;<DateOfBirth>
630 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
631 ;;</DateOfBirth>
632 ;;<Gender>
[68]633 ;;<Text>@@ACTORGENDER@@</Text>
[53]634 ;;<Code>
635 ;;<Value>@@ACTORGENDER@@</Value>
636 ;;<CodingSystem>2.16.840.1.113883.5.1</CodingSystem>
637 ;;</Code>
638 ;;</Gender>
639 ;;</Person>
640 ;;<IDs>
641 ;;<Type>
[78]642 ;;<Text>@@ACTORSSNTEXT@@</Text>
[53]643 ;;</Type>
644 ;;<ID>@@ACTORSSN@@</ID>
645 ;;<Source>
646 ;;<Actor>
647 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
648 ;;</Actor>
649 ;;</Source>
650 ;;</IDs>
651 ;;<Address>
652 ;;<Type>
653 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
654 ;;</Type>
655 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
656 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
657 ;;<City>@@ACTORADDRESSCITY@@</City>
658 ;;<State>@@ACTORADDRESSSTATE@@</State>
659 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
660 ;;</Address>
661 ;;<Telephone>
662 ;;<Value>@@ACTORRESTEL@@</Value>
663 ;;<Type>
[78]664 ;;<Text>@@ACTORRESTELTEXT@@</Text>
[53]665 ;;</Type>
666 ;;</Telephone>
667 ;;<Telephone>
668 ;;<Value>@@ACTORWORKTEL@@</Value>
669 ;;<Type>
[78]670 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
[53]671 ;;</Type>
672 ;;</Telephone>
673 ;;<Telephone>
674 ;;<Value>@@ACTORCELLTEL@@</Value>
675 ;;<Type>
[78]676 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
[53]677 ;;</Type>
678 ;;</Telephone>
679 ;;<EMail>
680 ;;<Value>@@ACTOREMAIL@@</Value>
681 ;;</EMail>
682 ;;<Source>
683 ;;<Actor>
684 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
685 ;;</Actor>
686 ;;</Source>
687 ;;</Actor>
688 ;;</ACTOR-PATIENT>
689 ;;<ACTOR-SYSTEM>
690 ;;<Actor>
691 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
692 ;;<InformationSystem>
693 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
694 ;;<Version>@@ACTORINFOSYSVER@@</Version>
695 ;;</InformationSystem>
696 ;;<Source>
697 ;;<Actor>
698 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
699 ;;</Actor>
700 ;;</Source>
701 ;;</Actor>
702 ;;</ACTOR-SYSTEM>
703 ;;<ACTOR-NOK>
704 ;;<Actor>
705 ;;<ActorObjectID>AA0003</ActorObjectID>
706 ;;<Person>
707 ;;<Name>
708 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
709 ;;</Name>
710 ;;</Person>
711 ;;<Relation>
712 ;;<Text>@@ACTORRELATION@@</Text>
713 ;;</Relation>
714 ;;<Source>
715 ;;<Actor>
716 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
717 ;;</Actor>
718 ;;</Source>
719 ;;</Actor>
720 ;;</ACTOR-NOK>
721 ;;<ACTOR-PROVIDER>
722 ;;<Actor>
723 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
724 ;;<Person>
725 ;;<Name>
726 ;;<CurrentName>
727 ;;<Given>@@ACTORGIVENNAME@@</Given>
[54]728 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
[53]729 ;;<Family>@@ACTORFAMILYNAME@@</Family>
[54]730 ;;<Title>@@ACTORTITLE@@</Title>
[53]731 ;;</CurrentName>
732 ;;</Name>
733 ;;</Person>
[54]734 ;;<IDs>
[55]735 ;;<Type>
[58]736 ;;<Text>@@IDTYPE@@</Text>
[55]737 ;;</Type>
[58]738 ;;<ID>@@ID@@</ID>
739 ;;<IssuedBy>
740 ;;<Description>
741 ;;<Text>@@IDDESC@@</Text>
742 ;;</Description>
743 ;;</IssuedBy>
[54]744 ;;</IDs>
[53]745 ;;<Specialty>
746 ;;<Text>@@ACTORSPECIALITY@@</Text>
747 ;;</Specialty>
748 ;;<Address>
749 ;;<Type>
750 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
751 ;;</Type>
752 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
[54]753 ;;<City>@@ACTORADDRESSCITY@@</City>
[53]754 ;;<State>@@ACTORADDRESSSTATE@@</State>
[54]755 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
[53]756 ;;</Address>
[54]757 ;;<Telephone>
758 ;;<Value>@@ACTORTELEPHONE@@</Value>
[55]759 ;;<Type>
[68]760 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
[55]761 ;;</Type>
[54]762 ;;</Telephone>
763 ;;<Email>
764 ;;<Value>@@ACTOREMAIL@@</Value>
765 ;;</Email>
[53]766 ;;<Source>
767 ;;<Actor>
768 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
769 ;;</Actor>
770 ;;</Source>
771 ;;</Actor>
772 ;;</ACTOR-PROVIDER>
[57]773 ;;<ACTOR-ORG>
774 ;;<Actor>
775 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
776 ;;<Organization>
777 ;;<Name>@@ORGANIZATIONNAME@@</Name>
778 ;;</Organization>
779 ;;<Source>
780 ;;<Actor>
[78]781 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
[57]782 ;;</Actor>
783 ;;</Source>
784 ;;</Actor>
785 ;;</ACTOR-ORG>
[53]786 ;;</Actors>
787 ;;<Signatures>
788 ;;<CCRSignature>
789 ;;<SignatureObjectID>S0001</SignatureObjectID>
790 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
791 ;;<Source>
792 ;;<ActorID>AA0001</ActorID>
793 ;;</Source>
794 ;;<Signature>
795 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
796 ;;<SignedInfo>
797 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
798 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
799 ;;<Reference URI="">
800 ;;<Transforms>
801 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
802 ;;</Transforms>
803 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
804 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
805 ;;</Reference>
806 ;;</SignedInfo>
807 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
808 ;;<KeyInfo>
809 ;;<KeyValue>
810 ;;<RSAKeyValue>
811 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
812 ;;<Exponent>AQAB</Exponent>
813 ;;</RSAKeyValue>
814 ;;</KeyValue>
815 ;;</KeyInfo>
816 ;;</Signature>
817 ;;</Signature>
818 ;;</CCRSignature>
819 ;;</Signatures>
820 ;;</ContinuityOfCareRecord>
821 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.