Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:vim:syntax:837 [2010/12/16 13:01] – billh | docs:vim:syntax:837 [2010/12/16 14:26] (current) – billh | ||
---|---|---|---|
Line 8: | Line 8: | ||
" HL*3*1*22*1~ (indicates subscriber #2 for whom there are dependents) | " HL*3*1*22*1~ (indicates subscriber #2 for whom there are dependents) | ||
" HL*4*3*23*0~ (indicates patient #P2.1) | " HL*4*3*23*0~ (indicates patient #P2.1) | ||
+ | |||
+ | " if the 4th character in the file is not an asterisk, change all of that | ||
+ | " character to an asterisk | ||
+ | let separator=getline(" | ||
+ | if( separator != " | ||
+ | :echon " | ||
+ | :redraw | ||
+ | exec ": | ||
+ | endif | ||
" make sure we have line breaks | " make sure we have line breaks | ||
Line 25: | Line 34: | ||
syn match submittername " | syn match submittername " | ||
syn match billingprovider " | syn match billingprovider " | ||
- | syn match referringprovider " | + | syn match referringprovider " |
+ | syn match attendingphysician | ||
+ | syn match operatingphysician " | ||
syn match renderingprovider " | syn match renderingprovider " | ||
syn match insuredname " | syn match insuredname " | ||
syn match patientname " | syn match patientname " | ||
syn match servicelocation " | syn match servicelocation " | ||
- | syn match facility " | + | syn match facility " |
syn match independentlab " | syn match independentlab " | ||
syn match testinglaboratory " | syn match testinglaboratory " | ||
Line 50: | Line 61: | ||
hi referringprovider guifg=darkyellow | hi referringprovider guifg=darkyellow | ||
hi renderingprovider guifg=white guibg=blue | hi renderingprovider guifg=white guibg=blue | ||
+ | hi attendingphysician guifg=white guibg=blue | ||
+ | hi operatingphysician guifg=white guibg=blue | ||
hi servicelocation guibg=darkgreen guifg=white | hi servicelocation guibg=darkgreen guifg=white | ||
hi facility guibg=darkgreen guifg=white | hi facility guibg=darkgreen guifg=white | ||
Line 65: | Line 78: | ||
syn sync fromstart | syn sync fromstart | ||
setl fen | setl fen | ||
+ | set readonly | ||
</ | </ |