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

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

fixed template problems

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
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 ;
[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>
[91]367 ;;<Value>@@MEDFREQUENCYVALUE@@</Value>
[90]368 ;;<Units>
[91]369 ;;<Unit>@@MEDFREQUENCYUNIT@@</Unit>
[92]370 ;;</Units>
[53]371 ;;</Frequency>
[90]372 ;;<Interval>
[91]373 ;;<Value>@@MEDINTERVALVALUE@@</Value>
[90]374 ;;<Units>
[91]375 ;;<Unit>@@MEDINTERVALUNIT@@</Unit>
[92]376 ;;</Units>
[90]377 ;;</Interval>
378 ;;<Duration>
[91]379 ;;<Value>@@MEDDURATIONVALUE@@</Value>
[90]380 ;;<Units>
[91]381 ;;<Unit>@@MEDDURATIONUNIT@@</Unit>
[92]382 ;;</Units>
[90]383 ;;</Duration>
[91]384 ;;<Indication>
385 ;;<PRNFlag>
386 ;;<Text>@@MEDPRNFLAG@@</Text>
387 ;;</PRNFlag>
388 ;;<Problem>
389 ;;<CCRDataObjectID>@@MEDPROBLEMOBJECTID@@</CCRDataObjectID>
390 ;;<Type>
391 ;;<Text>@@PROBLEM@@</Text>
392 ;;</Type>
393 ;;<Description>
394 ;;<Text>@@MEDPROBLEMDESCRIPTION@@</Text>
395 ;;<Code>
396 ;;<Value>@@MEDPROBLEMCODEVALUE@@</Value>
397 ;;<CodingSystem>@@MEDPROBLEMCODINGSYSTEM@@</CodingSystem>
398 ;;<Version>@@MEDPROBLEMCODINGVERSION@@</Version>
399 ;;</Code>
400 ;;</Description>
401 ;;<Source>
402 ;;<Actor>
403 ;;<ActorID>@@MEDPROBLEMSOURCEACTORID@@</ActorID>
404 ;;</Actor>
405 ;;</Source>
406 ;;</Problem>
407 ;;</Indication>
408 ;;<StopIndicator>
409 ;;<Text>@@MEDSTOPINDICATOR@@</Text>
410 ;;</StopIndicator>
411 ;;<DirectionSequenceModifier>@@MEDDIRSEQ@@</DirectionSequenceModifier>
412 ;;<MultipleDirectionModifier>
413 ;;<Text>@@MEDMULDIRMOD@@</Text>
414 ;;</MultipleDirectionModifier>
[53]415 ;;</Direction>
416 ;;</Directions>
[91]417 ;;<PatientInstructions>
418 ;;<Text>@@MEDPTINSTRUCTIONS@@</Text>
419 ;;</PatientInstructions>
420 ;;<FullfillmentInstructions>
421 ;;<Text>@@MEDFULLFILLMENTINSTRUCTIONS@@</Text>
422 ;;</FullfillmentInstructions>
423 ;;<Refills>
424 ;;<Refill>
425 ;;<Number>@@MEDRFNO@@</Number>
426 ;;</Refill>
[92]427 ;;</Refills>
[53]428 ;;</Medication>
429 ;;</Medications>
430 ;;<VitalSigns>
431 ;;<Result>
432 ;;<CCRDataObjectID>@@VITALSIGNSDATAOBJECTID@@</CCRDataObjectID>
433 ;;<DateTime>
434 ;;<Type>
435 ;;<Text>@@VITALSIGNSDATETIMETYPETEXT@@</Text>
436 ;;</Type>
437 ;;<ExactDateTime>@@VITALSIGNSEXACTDATETIME@@</ExactDateTime>
438 ;;</DateTime>
439 ;;<Description>
440 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
441 ;;</Description>
442 ;;<Source>
443 ;;<Actor>
444 ;;<ActorID>@@VITALSIGNSSOURCEACTORID@@</ActorID>
445 ;;</Actor>
446 ;;</Source>
447 ;;<Test>
448 ;;<CCRDataObjectID>@@VITALSIGNSTESTOBJECTID@@</CCRDataObjectID>
449 ;;<Type>
450 ;;<Text>@@VITALSIGNSTESTTYPETEXT@@</Text>
451 ;;</Type>
452 ;;<Description>
453 ;;<Text>@@VITALSIGNSDESCRIPTIONTEXT@@</Text>
454 ;;<Code>
455 ;;<Value>@@VITALSIGNSDESCRIPTIONCODEVALUE@@</Value>
456 ;;<CodingSystem>@@VITALSIGNSDESCRIPTIONCODINGSYSTEM@@</CodingSystem>
457 ;;<Version>@@VITALSIGNSCODEVERSION@@</Version>
458 ;;</Code>
459 ;;</Description>
460 ;;<Source>
461 ;;<Actor>
462 ;;<ActorID>@@VITALSIGNSTESTSOURCEACTORID@@</ActorID>
463 ;;</Actor>
464 ;;</Source>
465 ;;<TestResult>
466 ;;<Value>@@VITALSIGNSTESTRESULTVALUE@@</Value>
467 ;;<Units>
468 ;;<Unit>@@VITALSIGNSTESTRESULTUNIT@@</Unit>
469 ;;</Units>
470 ;;</TestResult>
471 ;;</Test>
472 ;;</Result>
473 ;;</VitalSigns>
[63]474 ;;<Results>
475 ;;<Result>
[77]476 ;;<CCRDataObjectID>@@RESULTOBJECTID@@</CCRDataObjectID>
[63]477 ;;<DateTime>
478 ;;<Type>
479 ;;<Text>Assessment Time</Text>
480 ;;</Type>
[77]481 ;;<ExactDateTime>@@RESULTASSESSMENTDATETIME@@</ExactDateTime>
[63]482 ;;</DateTime>
483 ;;<Description>
[77]484 ;;<Text>@@RESULTDESCRIPTIONTEXT@@</Text>
[63]485 ;;<Code>
[77]486 ;;<Value>@@RESULTCODE@@</Value>
487 ;;<CodingSystem>@@RESULTCODINGSYSTEM@@</CodingSystem>
[63]488 ;;</Code>
489 ;;</Description>
490 ;;<Status>
[77]491 ;;<Text>@@RESULTSTATUS@@</Text>
[63]492 ;;</Status>
493 ;;<Source>
494 ;;<Actor>
[77]495 ;;<ActorID>@@RESULTSOURCEACTORID@@</ActorID>
[63]496 ;;</Actor>
497 ;;</Source>
[77]498 ;;<TEST_NORMALDESCRIPTION>
499 ;;<Test>
500 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
[63]501 ;;<DateTime>
502 ;;<Type>
503 ;;<Text>Assessment Time</Text>
504 ;;</Type>
[77]505 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
[63]506 ;;</DateTime>
507 ;;<Description>
[77]508 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
[63]509 ;;<Code>
[77]510 ;;<Value>@@RESULTTESTCODE@@</Value>
511 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
[63]512 ;;</Code>
513 ;;</Description>
514 ;;<Status>
[77]515 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
[63]516 ;;</Status>
517 ;;<Source>
518 ;;<Actor>
[77]519 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
[63]520 ;;</Actor>
521 ;;</Source>
522 ;;<TestResult>
[77]523 ;;<Value>@@RESULTTESTVALUE@@</Value>
[63]524 ;;<Units>
[77]525 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
[63]526 ;;</Units>
527 ;;</TestResult>
528 ;;<NormalResult>
529 ;;<Normal>
530 ;;<Description>
[77]531 ;;<Text>@@RESULTTESTNORMALDESCRIPTIONTEXT@@</Text>
[63]532 ;;</Description>
533 ;;<Source>
534 ;;<Actor>
[77]535 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]536 ;;</Actor>
537 ;;</Source>
538 ;;</Normal>
539 ;;</NormalResult>
540 ;;<Flag>
[77]541 ;;<Text>@@RESULTTESTFLAG@@</Text>
[63]542 ;;</Flag>
543 ;;</Test>
[77]544 ;;</TEST_NORMALDESCRIPTION>
545 ;;<TEST_NORMALSEQUENCE>
[63]546 ;;<Test>
[77]547 ;;<CCRDataObjectID>@@RESULTTESTOBJECTID@@</CCRDataObjectID>
[63]548 ;;<DateTime>
549 ;;<Type>
550 ;;<Text>Assessment Time</Text>
551 ;;</Type>
[77]552 ;;<ExactDateTime>@@RESULTTESTDATETIME@@</ExactDateTime>
[63]553 ;;</DateTime>
554 ;;<Description>
[77]555 ;;<Text>@@RESULTTESTDESCRIPTIONTEXT@@</Text>
[63]556 ;;<Code>
[77]557 ;;<Value>@@RESULTTESTVALUE@@</Value>
558 ;;<CodingSystem>@@RESULTTESTCODINGSYSTEM@@</CodingSystem>
[63]559 ;;</Code>
560 ;;</Description>
561 ;;<Status>
[77]562 ;;<Text>@@RESULTTESTSTATUSTEXT@@</Text>
[63]563 ;;</Status>
564 ;;<Source>
565 ;;<Actor>
[77]566 ;;<ActorID>@@RESULTTESTSOURCEACTORID@@</ActorID>
[63]567 ;;</Actor>
568 ;;</Source>
569 ;;<TestResult>
[77]570 ;;<Value>@@RESULTTESTVALUE@@</Value>
[63]571 ;;<Units>
[77]572 ;;<Unit>@@RESULTTESTUNITS@@</Unit>
[63]573 ;;</Units>
574 ;;</TestResult>
575 ;;<NormalResult>
576 ;;<Normal>
[77]577 ;;<Value>@@RESULTTESTNORMALVALUESEQ1@@</Value>
[63]578 ;;<Units>
[77]579 ;;<Unit>@@RESULTTESTNORMALUNITSEQ1@@</Unit>
[63]580 ;;</Units>
581 ;;<ValueSequencePosition>1</ValueSequencePosition>
582 ;;<Source>
583 ;;<Actor>
[77]584 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]585 ;;</Actor>
586 ;;</Source>
587 ;;</Normal>
588 ;;<Normal>
[77]589 ;;<Value>@@RESULTTESTNORMALVALUESEQ2@@</Value>
[63]590 ;;<Units>
[77]591 ;;<Unit>@@RESULTTESTNORMALUNITSEQ2@@</Unit>
[63]592 ;;</Units>
593 ;;<ValueSequencePosition>2</ValueSequencePosition>
594 ;;<VariableNomalModifier>
[77]595 ;;<Text>@@RESULTTESTNORMALMODIFIER@@</Text>
[63]596 ;;</VariableNomalModifier>
597 ;;<Source>
598 ;;<Actor>
[77]599 ;;<ActorID>@@RESULTTESTNORMALSOURCEACTORID@@</ActorID>
[63]600 ;;</Actor>
601 ;;</Source>
602 ;;</Normal>
603 ;;</NormalResult>
604 ;;<Flag>
[77]605 ;;<Text>@@RESULTTESTFLAG@@</Text>
[63]606 ;;</Flag>
607 ;;</Test>
[77]608 ;;</TEST_NORMALSEQUENCE>
[63]609 ;;</Result>
610 ;;</Results>
[53]611 ;;<HealthCareProviders>
612 ;;<Provider>
613 ;;<ActorID>AA0005</ActorID>
614 ;;<ActorRole>
615 ;;<Text>Primary Provider</Text>
616 ;;</ActorRole>
617 ;;</Provider>
618 ;;</HealthCareProviders>
619 ;;</Body>
620 ;;<Actors>
621 ;;<ACTOR-PATIENT>
622 ;;<Actor>
623 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
624 ;;<Person>
625 ;;<Name>
626 ;;<CurrentName>
627 ;;<Given>@@ACTORGIVENNAME@@</Given>
628 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
629 ;;<Family>@@ACTORFAMILYNAME@@</Family>
630 ;;</CurrentName>
631 ;;</Name>
632 ;;<DateOfBirth>
633 ;;<ExactDateTime>@@ACTORDATEOFBIRTH@@</ExactDateTime>
634 ;;</DateOfBirth>
635 ;;<Gender>
[68]636 ;;<Text>@@ACTORGENDER@@</Text>
[53]637 ;;<Code>
638 ;;<Value>@@ACTORGENDER@@</Value>
639 ;;<CodingSystem>2.16.840.1.113883.5.1</CodingSystem>
640 ;;</Code>
641 ;;</Gender>
642 ;;</Person>
643 ;;<IDs>
644 ;;<Type>
[78]645 ;;<Text>@@ACTORSSNTEXT@@</Text>
[53]646 ;;</Type>
647 ;;<ID>@@ACTORSSN@@</ID>
648 ;;<Source>
649 ;;<Actor>
650 ;;<ActorID>@@ACTORSSNSOURCEID@@</ActorID>
651 ;;</Actor>
652 ;;</Source>
653 ;;</IDs>
654 ;;<Address>
655 ;;<Type>
656 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
657 ;;</Type>
658 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
659 ;;<Line2>@@ACTORADDRESSLINE2@@</Line2>
660 ;;<City>@@ACTORADDRESSCITY@@</City>
661 ;;<State>@@ACTORADDRESSSTATE@@</State>
662 ;;<PostalCode>@@ACTORADDRESSZIPCODE@@</PostalCode>
663 ;;</Address>
664 ;;<Telephone>
665 ;;<Value>@@ACTORRESTEL@@</Value>
666 ;;<Type>
[78]667 ;;<Text>@@ACTORRESTELTEXT@@</Text>
[53]668 ;;</Type>
669 ;;</Telephone>
670 ;;<Telephone>
671 ;;<Value>@@ACTORWORKTEL@@</Value>
672 ;;<Type>
[78]673 ;;<Text>@@ACTORWORKTELTEXT@@</Text>
[53]674 ;;</Type>
675 ;;</Telephone>
676 ;;<Telephone>
677 ;;<Value>@@ACTORCELLTEL@@</Value>
678 ;;<Type>
[78]679 ;;<Text>@@ACTORCELLTELTEXT@@</Text>
[53]680 ;;</Type>
681 ;;</Telephone>
682 ;;<EMail>
683 ;;<Value>@@ACTOREMAIL@@</Value>
684 ;;</EMail>
685 ;;<Source>
686 ;;<Actor>
687 ;;<ActorID>@@ACTORADDRESSSOURCEID@@</ActorID>
688 ;;</Actor>
689 ;;</Source>
690 ;;</Actor>
691 ;;</ACTOR-PATIENT>
692 ;;<ACTOR-SYSTEM>
693 ;;<Actor>
694 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
695 ;;<InformationSystem>
696 ;;<Name>@@ACTORINFOSYSNAME@@</Name>
697 ;;<Version>@@ACTORINFOSYSVER@@</Version>
698 ;;</InformationSystem>
699 ;;<Source>
700 ;;<Actor>
701 ;;<ActorID>@@ACTORINFOSYSSOURCEID@@</ActorID>
702 ;;</Actor>
703 ;;</Source>
704 ;;</Actor>
705 ;;</ACTOR-SYSTEM>
706 ;;<ACTOR-NOK>
707 ;;<Actor>
708 ;;<ActorObjectID>AA0003</ActorObjectID>
709 ;;<Person>
710 ;;<Name>
711 ;;<DisplayName>@@ACTORDISPLAYNAME@@</DisplayName>
712 ;;</Name>
713 ;;</Person>
714 ;;<Relation>
715 ;;<Text>@@ACTORRELATION@@</Text>
716 ;;</Relation>
717 ;;<Source>
718 ;;<Actor>
719 ;;<ActorID>@@ACTORRELATIONSOURCEID@@</ActorID>
720 ;;</Actor>
721 ;;</Source>
722 ;;</Actor>
723 ;;</ACTOR-NOK>
724 ;;<ACTOR-PROVIDER>
725 ;;<Actor>
726 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
727 ;;<Person>
728 ;;<Name>
729 ;;<CurrentName>
730 ;;<Given>@@ACTORGIVENNAME@@</Given>
[54]731 ;;<Middle>@@ACTORMIDDLENAME@@</Middle>
[53]732 ;;<Family>@@ACTORFAMILYNAME@@</Family>
[54]733 ;;<Title>@@ACTORTITLE@@</Title>
[53]734 ;;</CurrentName>
735 ;;</Name>
736 ;;</Person>
[54]737 ;;<IDs>
[55]738 ;;<Type>
[58]739 ;;<Text>@@IDTYPE@@</Text>
[55]740 ;;</Type>
[58]741 ;;<ID>@@ID@@</ID>
742 ;;<IssuedBy>
743 ;;<Description>
744 ;;<Text>@@IDDESC@@</Text>
745 ;;</Description>
746 ;;</IssuedBy>
[54]747 ;;</IDs>
[53]748 ;;<Specialty>
749 ;;<Text>@@ACTORSPECIALITY@@</Text>
750 ;;</Specialty>
751 ;;<Address>
752 ;;<Type>
753 ;;<Text>@@ACTORADDRESSTYPE@@</Text>
754 ;;</Type>
755 ;;<Line1>@@ACTORADDRESSLINE1@@</Line1>
[54]756 ;;<City>@@ACTORADDRESSCITY@@</City>
[53]757 ;;<State>@@ACTORADDRESSSTATE@@</State>
[54]758 ;;<PostalCode>@@ACTORPOSTALCODE@@</PostalCode>
[53]759 ;;</Address>
[54]760 ;;<Telephone>
761 ;;<Value>@@ACTORTELEPHONE@@</Value>
[55]762 ;;<Type>
[68]763 ;;<Text>@@ACTORTELEPHONETYPE@@</Text>
[55]764 ;;</Type>
[54]765 ;;</Telephone>
766 ;;<Email>
767 ;;<Value>@@ACTOREMAIL@@</Value>
768 ;;</Email>
[53]769 ;;<Source>
770 ;;<Actor>
771 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
772 ;;</Actor>
773 ;;</Source>
774 ;;</Actor>
775 ;;</ACTOR-PROVIDER>
[57]776 ;;<ACTOR-ORG>
777 ;;<Actor>
778 ;;<ActorObjectID>@@ACTOROBJECTID@@</ActorObjectID>
779 ;;<Organization>
780 ;;<Name>@@ORGANIZATIONNAME@@</Name>
781 ;;</Organization>
782 ;;<Source>
783 ;;<Actor>
[78]784 ;;<ActorID>@@ACTORSOURCEID@@</ActorID>
[57]785 ;;</Actor>
786 ;;</Source>
787 ;;</Actor>
788 ;;</ACTOR-ORG>
[53]789 ;;</Actors>
790 ;;<Signatures>
791 ;;<CCRSignature>
792 ;;<SignatureObjectID>S0001</SignatureObjectID>
793 ;;<ExactDateTime>2008-03-18T23:10:58Z</ExactDateTime>
794 ;;<Source>
795 ;;<ActorID>AA0001</ActorID>
796 ;;</Source>
797 ;;<Signature>
798 ;;<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
799 ;;<SignedInfo>
800 ;;<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
801 ;;<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
802 ;;<Reference URI="">
803 ;;<Transforms>
804 ;;<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
805 ;;</Transforms>
806 ;;<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
807 ;;<DigestValue>YFveLLyo+75P7rSciv0/m1O6Ot4=</DigestValue>
808 ;;</Reference>
809 ;;</SignedInfo>
810 ;;<SignatureValue>Bj6sACXl74hrlbUYnu8HqnRab5VGy69BOYjOH7dETxgppXMEd7AoVYaePZvgJft78JR4oQY76hbFyGcIslYauPpJxx2hCd5d56xFeaQg01R6AQOvGnhjlq63TbpFdUq0B4tYsmiibJPbQJhTQe+TcWTBvWaQt8Fkk5blO571YvI=</SignatureValue>
811 ;;<KeyInfo>
812 ;;<KeyValue>
813 ;;<RSAKeyValue>
814 ;;<Modulus>meH817QYol+/uUEg6j8Mg89s7GTlaN9B+/CGlzrtnQH+swMigZRnEPxHVO8PhEymP/W9nlhAjTScV/CUzA9yJ9WiaOn17c+KReKhfBqL24DX9BpbJ+kLYVz7mBO5Qydk5AzUT2hFwW93irD8iRKP+/t+2Mi2CjNfj8VTjJpHpm0=</Modulus>
815 ;;<Exponent>AQAB</Exponent>
816 ;;</RSAKeyValue>
817 ;;</KeyValue>
818 ;;</KeyInfo>
819 ;;</Signature>
820 ;;</Signature>
821 ;;</CCRSignature>
822 ;;</Signatures>
823 ;;</ContinuityOfCareRecord>
824 ;</TEMPLATE>
Note: See TracBrowser for help on using the repository browser.