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