How to use newline method in Playwright Internal

Best JavaScript code snippet using playwright-internal

Idiomlist.js

Source:Idiomlist.js Github

copy

Full Screen

1export default {2 type: "FeatureCollection",3 name: "idiomlist",4 crs: {5 type: "name",6 properties: { name: "urn:ogc:def:crs:OGC:1.3:CRS84" }7 },8 features: [9 {10 type: "Feature",11 properties: {12 name: "to get in/to get on",13 desc:14 " to enter or to board a vehicle**newline**To get in is used for cars; to get on is used for all other forms of transportation.",15 example:16 "**newline**o It's easiest to get in the car from the driver's side. The door on the other**newline**side doesn't work well.**newline**o I always get on the bus to work at 34th Street.",17 Favorite: null18 },19 geometry: null20 },21 {22 type: "Feature",23 properties: {24 name: "to get out of/to get off",25 desc:26 " to leave or to descend from a vehicle.**newline**To get out of is used for cars; to get off is used for all other forms of**newline**transportation.",27 example:28 "**newline**o Why don't we stop and get out of the car for a while?**newline**o Helen got off the train at the 42nd Street terminal.",29 Favorite: null30 },31 geometry: null32 },33 {34 type: "Feature",35 properties: {36 name: "to put on",37 desc: " to place on oneself (usually said of clothes) (S)",38 example:39 "**newline**o Mary put on her coat and left the room.**newline**o Put your hat on before you leave the house.",40 Favorite: null41 },42 geometry: null43 },44 {45 type: "Feature",46 properties: {47 name: "to take off",48 desc: " to remove (usually said of clothes) (S)",49 example:50 "**newline**o John took off his jacket as he entered the office.**newline**o Take your sweater off. The room is very warm.",51 Favorite: null52 },53 geometry: null54 },55 {56 type: "Feature",57 properties: {58 name: "to call up",59 desc:60 " to telephone (also: to give some one a call) (S)**newline**To call can be used instead of to call up, as in the first example below.",61 example:62 "**newline**o I forgot to call up Mr. Jones yesterday. I'd better call him now.**newline**o Call me up tomorrow, Jane. We'll arrange a time to have lunch together.**newline**o I promise to give you a call as soon as I arrive in New York.",63 Favorite: null64 },65 geometry: null66 },67 {68 type: "Feature",69 properties: {70 name: "to turn on",71 desc: " to start or cause to function (also: to switch on) (S)",72 example:73 "**newline**o Please turn on the light; it's too dark in here.**newline**o Do you know who turned the air conditioning on?",74 Favorite: null75 },76 geometry: null77 },78 {79 type: "Feature",80 properties: {81 name: "to turn off",82 desc:83 " to cause to stop functioning (also: to switch off, to shut off) (S)**newline**Turn on and turn off, as well as their related forms, are used for things that**newline**flow, such as electricity, water, gas, etc.",84 example:85 "**newline**o Please turn off the light when you leave the room.**newline**o Are you really listening to the radio, or should I turn it off?",86 Favorite: null87 },88 geometry: null89 },90 {91 type: "Feature",92 properties: {93 name: "right away",94 desc: " very soon; immediately (also: at once)",95 example:96 "**newline**o Dad says that dinner will be ready right away, so we'd better wash our**newline**hands and set the table.**newline**o Tell Will to come to my office right away. I must see him immediately.**newline**o Stop playing that loud music at once!",97 Favorite: null98 },99 geometry: null100 },101 {102 type: "Feature",103 properties: {104 name: "to pick up",105 desc: " to lift form the floor, table, etc., with one's fingers (S)",106 example:107 "**newline**o Harry picked up the newspaper that was on the front doorstep.**newline**o Could you pick your toy up before someone falls over it?",108 Favorite: null109 },110 geometry: null111 },112 {113 type: "Feature",114 properties: {115 name: "sooner or later",116 desc: " eventually, after a period of time",117 example:118 "**newline**o If you study English seriously, sooner or later you'll become fluent.**newline**o I'm too tired to do my homework now; I'm sure I'll do it sooner or later.",119 Favorite: null120 },121 geometry: null122 },123 {124 type: "Feature",125 properties: {126 name: "to get up",127 desc:128 " to arise, to rise from a bed; to make someone arise (S)**newline**For the last definition a noun phrase must separate the verb and particle.",129 example:130 "**newline**o Carla gets up at seven o'clock every morning.**newline**o At what time should we get the children up tomorrow?",131 Favorite: null132 },133 geometry: null134 },135 {136 type: "Feature",137 properties: {138 name: "at first",139 desc: " in the beginning, originally",140 example:141 "**newline**o At first English was difficult for him, but later he made great progress.**newline**o I thought at first that it was Sheila calling, but then I realized that it**newline**was Betty.",142 Favorite: null143 },144 geometry: null145 },146 {147 type: "Feature",148 properties: {149 name: "to dress up",150 desc: " to wear formal clothes, to dress very nicely",151 example:152 "**newline**o We should definitely dress up to go to the theater.**newline**o You don't have to dress up for Mike's party.",153 Favorite: null154 },155 geometry: null156 },157 {158 type: "Feature",159 properties: {160 name: "at last",161 desc: " finally, after a long time.",162 example:163 "**newline**o We waited for hours and then the train arrived at last.**newline**o Now that I am sixteen, at last I can drive my parents' car.",164 Favorite: null165 },166 geometry: null167 },168 {169 type: "Feature",170 properties: {171 name: "as usual",172 desc: " as is the general case, as is typical",173 example:174 "**newline**o George is late for class as usual. This seems to happen every day.**newline**o As usual, Dora received first prize in the swimming contest. It's the**newline**third consecutive year that she has won.",175 Favorite: null176 },177 geometry: null178 },179 {180 type: "Feature",181 properties: {182 name: "to find out",183 desc:184 " get information about, to determine (S)**newline**This idiom is separable only when a pronoun is used, as in the second example.",185 example:186 "**newline**o Will you please try to find out what time the airplane arrives?**newline**o I'll call right now to find it out.",187 Favorite: null188 },189 geometry: null190 },191 {192 type: "Feature",193 properties: {194 name: "to look at",195 desc: " give one's attention to; to watch",196 example:197 "**newline**o The teacher told us to look at the blackboard and not at our books.**newline**o I like to walk along a country road at night and look at the stars.",198 Favorite: null199 },200 geometry: null201 },202 {203 type: "Feature",204 properties: {205 name: "to look for",206 desc:207 " to try to find, to search for**newline**An adverb phrase such as all over can be put between the verb and**newline**preposition, as in the second example, however, the idiom cannot be**newline**separated by a noun or pronoun.",208 example:209 "**newline**o He's spent over an hour looking for the pen that he lost.**newline**o So there you are! We've looked allover for you.",210 Favorite: null211 },212 geometry: null213 },214 {215 type: "Feature",216 properties: {217 name: "all right",218 desc:219 " acceptable, fine; yes, okay**newline**This idiom can also be spelled alright in informal usage.",220 example:221 "**newline**o He said that it would be all right to wait in her office until she returned.**newline**o Do you want me to turn off the TV? Alright, if you insist.",222 Favorite: null223 },224 geometry: null225 },226 {227 type: "Feature",228 properties: {229 name: "all along",230 desc: " all the time, from the beginning (without change)",231 example:232 "**newline**o She knew all along that we'd never agree with his plan.**newline**o You're smiling! Did you know all along that I'd give you a birthday**newline**present?",233 Favorite: null234 },235 geometry: null236 },237 {238 type: "Feature",239 properties: {240 name: "little by little",241 desc: " gradually, slowly (also: step by step)",242 example:243 "**newline**o Karen's health seems to be improving little by little.**newline**o If you study regularly each day, step by step your vocabulary will**newline**increase.",244 Favorite: null245 },246 geometry: null247 },248 {249 type: "Feature",250 properties: {251 name: "to tire out",252 desc:253 " to make very weary due to difficult conditions or hard effort (also:**newline**to wear out) (S)",254 example:255 "**newline**o The hot weather tired out the runners in the marathon.**newline**o Does studying for final exams wear you out? It makes me feel worn out!",256 Favorite: null257 },258 geometry: null259 },260 {261 type: "Feature",262 properties: {263 name: "to call on",264 desc: " to ask for a response from; to visit (also: to drop in on)",265 example:266 "**newline**o Jose didn't know the answer when the teacher called on him.**newline**o Last night several friends called on us at our home.**newline**o Shy don't we drop in on Sally a little later?",267 Favorite: null268 },269 geometry: null270 },271 {272 type: "Feature",273 properties: {274 name: "never mind",275 desc: " don't be concerned about it; ignore what was just said",276 example:277 "**newline**o When he spilled his drink on my coat, I said, \"Never mind. It needs to**newline**be cleaned anyway.\"**newline**o So you weren't listening to me again. Never mind; it wasn't important.",278 Favorite: null279 },280 geometry: null281 },282 {283 type: "Feature",284 properties: {285 name: "to pick out",286 desc: " to choose, to select (S)",287 example:288 "**newline**o Ann picked out a good book to give to her brother as a graduation gift.**newline**o Johnny, if you want me to buy you a toy, then pick one out now.",289 Favorite: null290 },291 geometry: null292 },293 {294 type: "Feature",295 properties: {296 name: "to take one's time",297 desc:298 " to do without rush, not to hurry**newline**This idiom is often used in the imperative form. (See the first example)",299 example:300 "**newline**o There's no need to hurry doing those exercises. Take your time.**newline**o William never works rapidly. He always takes his time in every thing**newline**that he does.",301 Favorite: null302 },303 geometry: null304 },305 {306 type: "Feature",307 properties: {308 name: "to talk over",309 desc: " to discuss or consider a situation with others (S)",310 example:311 "**newline**o We talked over Carla's plan to install an air conditioner in the room,**newline**but we couldn't reach a decision.**newline**o Before I accepted the new job offer, I talked the matter over with my wife.",312 Favorite: null313 },314 geometry: null315 },316 {317 type: "Feature",318 properties: {319 name: "to lie down",320 desc: " to place oneself in a flat position, to recline",321 example:322 "**newline**o If you are tired, why don't you lie down for an hour or so?**newline**o The doctor says that Grace must lie down and rest for a short time**newline**every afternoon.",323 Favorite: null324 },325 geometry: null326 },327 {328 type: "Feature",329 properties: {330 name: "to stand up",331 desc: " to rise from a sitting or lying position (also: to get up)",332 example:333 "**newline**o When the president entered the room, everyone stood up.**newline**o Suzy, stop rolling around on the floor; get up now.",334 Favorite: null335 },336 geometry: null337 },338 {339 type: "Feature",340 properties: {341 name: "to sit down",342 desc: " to be seated (also: take a seat)",343 example:344 "**newline**o We sat down on the park bench and watched the children play.**newline**o There aren't any more chairs, but you can take a seat on the floor.**newline**all (day, week, month, year) long: the entire day, week, month, year**newline**o I've been working on my income tax forms all day long. I've hardly had**newline**time to eat.**newline**o It's been raining all week long. We haven't seen the sun since last**newline**Monday.",345 Favorite: null346 },347 geometry: null348 },349 {350 type: "Feature",351 properties: {352 name: "by oneself",353 desc: " alone, without assistance",354 example:355 "**newline**o Francis translated that French novel by himself. No one helped him.**newline**o Paula likes to walk through the woods by herself, but her brother**newline**prefers to walk with a companion.",356 Favorite: null357 },358 geometry: null359 },360 {361 type: "Feature",362 properties: {363 name: "on purpose",364 desc:365 " for a reason, deliberately**newline**This idiom is usually used when someone does something wrong or unfair.",366 example:367 "**newline**o Do you think that she didn't come to the meeting on purpose?**newline**o It was no accident that he broke my glasses. He did it on purpose.",368 Favorite: null369 },370 geometry: null371 },372 {373 type: "Feature",374 properties: {375 name: "to get along with",376 desc:377 " to associate or work well with; to succeed or manage in**newline**doing (also: to get on with)",378 example:379 "**newline**o Terry isn't getting along with her new roommate; they argue**newline**constantly.**newline**o How are you getting on with your students?",380 Favorite: null381 },382 geometry: null383 },384 {385 type: "Feature",386 properties: {387 name: "to make a difference (to)",388 desc:389 " to be of importance (to), to affect**newline**This idiom is often used with adjectives to show the degree of importance.",390 example:391 "**newline**o It makes a big difference to me whether he likes the food I serve.**newline**o Does it make any difference to you where we go for dinner?**newline**o No, it doesn't make any difference.**newline**o It makes no difference to Lisa either.",392 Favorite: null393 },394 geometry: null395 },396 {397 type: "Feature",398 properties: {399 name: "to take out",400 desc:401 " to remove, to extract (S); to go on a date with (S) (also to go**newline**out with)",402 example:403 "**newline**o Student, take out your books and open them to page twelve.**newline**o Did you take Sue out last night?**newline**o No, she couldn't go out with me.",404 Favorite: null405 },406 geometry: null407 },408 {409 type: "Feature",410 properties: {411 name: "to take part in",412 desc: " to be involved in, to participate in (also: to be in on)",413 example:414 "**newline**o Martin was sick and could not take part in the meeting yesterday.**newline**o I didn't want to be in on their argument, so I remained silent.",415 Favorite: null416 },417 geometry: null418 },419 {420 type: "Feature",421 properties: {422 name: "at all",423 desc: " to any degree (also: in the least)",424 example:425 "**newline**o Larry isn't at all shy about expressing his opinions.**newline**o When I asked Donna whether she was tired, she said, \"Not in the least.**newline**I'm full of energy.\"",426 Favorite: null427 },428 geometry: null429 },430 {431 type: "Feature",432 properties: {433 name: "to look up",434 desc:435 " to locate information in a directory, dictionary, book, etc. (S)",436 example:437 "**newline**o Ellen suggested that we look up Lee's telephone number in the**newline**directory.**newline**o Students should try to understand the meaning of a new word from**newline**context before looking the word up in the dictionary.",438 Favorite: null439 },440 geometry: null441 },442 {443 type: "Feature",444 properties: {445 name: "to wait on",446 desc: " to serve in a store or restaurant",447 example:448 '**newline**o A very pleasant young clerk waited on me in that shop.**newline**o The restaurant waitress asked us, "Has anyone waited on you yet?',449 Favorite: null450 },451 geometry: null452 },453 {454 type: "Feature",455 properties: {456 name: "at least",457 desc: " a minimum of, no fewer (or less) than",458 example:459 "**newline**o I spend at least two hours every night on my studies.**newline**o Mike claims that he drinks at least a quart of water every day.",460 Favorite: null461 },462 geometry: null463 },464 {465 type: "Feature",466 properties: {467 name: "so far",468 desc:469 " until now, until the present time (also: up to now, as of yet)**newline**This idiom is usually used with the present perfect tense.",470 example:471 "**newline**o So far, this year has been excellent for business. I hope that the good**newline**luck continues.**newline**o How many idioms have we studied in this book up to now?**newline**o As of yet, we have not had an answer from him.",472 Favorite: null473 },474 geometry: null475 },476 {477 type: "Feature",478 properties: {479 name: "to take a walk, stroll, hike, etc.",480 desc:481 " to go for a walk, stroll, hike, etc.**newline**A stroll involves slow, easy walking; a hike involves serious, strenuous walking.",482 example:483 "**newline**o Last evening we took a walk around the park.**newline**o It's a fine day. Would you like to take a stroll along Mason Boulevard?**newline**o Let's take a hike up Cowles Mountain this afternoon.",484 Favorite: null485 },486 geometry: null487 },488 {489 type: "Feature",490 properties: {491 name: "to take a trip",492 desc: " to go on a journey, to travel",493 example:494 "**newline**o I'm so busy at work that I have no time to take a trip.**newline**o During the summer holidays, the Thompsons took a trip to Europe.",495 Favorite: null496 },497 geometry: null498 },499 {500 type: "Feature",501 properties: {502 name: "to try on",503 desc: " to wear clothes to check the style or fit before buying (S)",504 example:505 "**newline**o He tried on several suits before he picked out a blue one.**newline**o Why don't you try these shoes on next?",506 Favorite: null507 },508 geometry: null509 },510 {511 type: "Feature",512 properties: {513 name: "to think over",514 desc: " to consider carefully before deciding (S)",515 example:516 "**newline**o I'd like to think over your offer first. Then can we talk it over tomorrow?**newline**o You don't have to give me your decision now. Think it over for a while.",517 Favorite: null518 },519 geometry: null520 },521 {522 type: "Feature",523 properties: {524 name: "to take place",525 desc: " to occur, to happen according to plan",526 example:527 "**newline**o The regular meetings of the committee take place in Constitution Hall.**newline**o I thought that the celebration was taking place at John's house.",528 Favorite: null529 },530 geometry: null531 },532 {533 type: "Feature",534 properties: {535 name: "to put away",536 desc: " to remove from slight, to put in the proper place (S)",537 example:538 "**newline**o Please put away your papers before you open the test booklet.**newline**o John put the notepad away in his desk when he was finished with it.",539 Favorite: null540 },541 geometry: null542 },543 {544 type: "Feature",545 properties: {546 name: "to look out",547 desc:548 " to be careful or cautious (also: to watch out)**newline**Both of these idioms can occur with the preposition for.",549 example:550 '**newline**o "Look out!" Jeffrey cried as his friend almost stepped in a big hole in**newline**the ground.**newline**o Look out for reckless drivers whenever you cross the street.**newline**o Small children should always watch out for strangers offering candy.',551 Favorite: null552 },553 geometry: null554 },555 {556 type: "Feature",557 properties: {558 name: "to shake hands",559 desc: " to exchange greetings by clasping hands",560 example:561 "**newline**o When people meet for the first time, they usually shake hands.**newline**o The student warmly shook hands with his old professor.",562 Favorite: null563 },564 geometry: null565 },566 {567 type: "Feature",568 properties: {569 name: "to get back",570 desc: " to return (S)",571 example:572 "**newline**o Mr. Harris got back from his business trip to Chicago this morning.**newline**o Could you get the children back home by five o'clock?",573 Favorite: null574 },575 geometry: null576 },577 {578 type: "Feature",579 properties: {580 name: "to catch cold",581 desc: " to become sick with a cold of the nose for throat",582 example:583 "**newline**o If you go out in this rain, you will surely catch cold.**newline**o How did she ever catch cold in such warm weather?",584 Favorite: null585 },586 geometry: null587 },588 {589 type: "Feature",590 properties: {591 name: "to get over",592 desc: " to recover from an illness; to accept a loss or sorrow",593 example:594 "**newline**o It took me over a month to get over my cold, but I'm finally well now.**newline**o It seems that Mr. Mason will never get over the death of his wife.",595 Favorite: null596 },597 geometry: null598 },599 {600 type: "Feature",601 properties: {602 name: "to make up one's mind",603 desc: " to reach a decision, to decide finally",604 example:605 "**newline**o Sally is considering several colleges to attend, but she hasn't made up**newline**her mind yet.**newline**o When are you going to make up your mind about your vacation plans?",606 Favorite: null607 },608 geometry: null609 },610 {611 type: "Feature",612 properties: {613 name: "to change one's mind",614 desc: " to alter one's decision or opinion",615 example:616 "**newline**o We have changed our minds and are going to Canada instead of**newline**California this summer.**newline**o Matthew has changed his mind several times about buying a new cat.",617 Favorite: null618 },619 geometry: null620 },621 {622 type: "Feature",623 properties: {624 name: "for the time being",625 desc: " temporarily (also: for now)",626 example:627 "**newline**o For the time being, Janet is working as a waitress, but she really hopes**newline**to become an actress soon.**newline**o We're living in an apartment for now, but soon we'll be looking for a**newline**house to buy.",628 Favorite: null629 },630 geometry: null631 },632 {633 type: "Feature",634 properties: {635 name: "for good",636 desc: " permanently, forever",637 example:638 "**newline**o Ruth has returned to Canada for good. She won't ever live in the United**newline**States again.**newline**o Are you finished with school for good, or will you continue your studies**newline**some day?",639 Favorite: null640 },641 geometry: null642 },643 {644 type: "Feature",645 properties: {646 name: "to call off",647 desc: " to cancel (S)",648 example:649 "**newline**o The referee called off the soccer game because of the darkness.**newline**o The president called the meeting off because she had to leave town.",650 Favorite: null651 },652 geometry: null653 },654 {655 type: "Feature",656 properties: {657 name: "to put off",658 desc: " to postpone (S)",659 example:660 "**newline**o Many student's put off doing their assignments until the last minute.**newline**o Let's put the party off until next weekend, okay?",661 Favorite: null662 },663 geometry: null664 },665 {666 type: "Feature",667 properties: {668 name: "in a hurry",669 desc: " hurried, rushed (also: in a rush)",670 example:671 "**newline**o Alex seems in a hurry; he must be late for his train again.**newline**o She's always in a rush in the morning to get the kids to school.",672 Favorite: null673 },674 geometry: null675 },676 {677 type: "Feature",678 properties: {679 name: "under the weather",680 desc: " not feeling well, sick",681 example:682 "**newline**o John stayed home from work because he was feeling under the weather.**newline**o When you cat cold, you feel under the weather.",683 Favorite: null684 },685 geometry: null686 },687 {688 type: "Feature",689 properties: {690 name: "to hang up",691 desc:692 " to place clothes on a hook or hanger (S); to replace the receiver**newline**on the phone at the end of a conversation (S)",693 example:694 "**newline**o Would you like me to hang up your coat for you in the closet?**newline**o The operator told me to hang the phone up and call the number again.",695 Favorite: null696 },697 geometry: null698 },699 {700 type: "Feature",701 properties: {702 name: "to count on",703 desc: " to trust someone in time of need (also: to depend on)",704 example:705 "**newline**o I can count on my parents to help me in an emergency.**newline**o Don't depend on Frank to lend you any money; he doesn't have any.",706 Favorite: null707 },708 geometry: null709 },710 {711 type: "Feature",712 properties: {713 name: "to make friends",714 desc: " to become friendly with others",715 example:716 "**newline**o Patricia is a shy girl and doesn't make friends easily.**newline**o During the cruise Ronald made friends with almost everyone on the**newline**ship.",717 Favorite: null718 },719 geometry: null720 },721 {722 type: "Feature",723 properties: {724 name: "out of order",725 desc: " not in working condition",726 example:727 "**newline**o The elevator was out or order, so we had to walk to the tenth floor of**newline**the building.**newline**o We couldn't use the soft drink machine because it was out of order.",728 Favorite: null729 },730 geometry: null731 },732 {733 type: "Feature",734 properties: {735 name: "to get to",736 desc:737 " to be able to do something special; to arrive at a place, such as**newline**home, work, etc. for the second definition, do not use the preposition to with**newline**the words home or there.",738 example:739 "**newline**o The children got to stay up late and watch a good movie for the family.**newline**o I missed the bus and couldn't get to the office until ten o'clock.**newline**o When are you planning to get home tonight?",740 Favorite: null741 },742 geometry: null743 },744 {745 type: "Feature",746 properties: {747 name: "few and far between",748 desc: " not frequent, unusual, rare",749 example:750 "**newline**o The times that our children get to stay up late are few and far between.**newline**o Airplane travel is very safe because accidents are few and far between.",751 Favorite: null752 },753 geometry: null754 },755 {756 type: "Feature",757 properties: {758 name: "to look over",759 desc:760 " to examine, to inspect closely (also: to go over, to read over,**newline**to check over) (S)**newline**Go over is different from the other forms because it is not separable.",761 example:762 "**newline**o I want to look my homework over again before I give it to the teacher.**newline**o The politician went over his speech before the important presentation.**newline**o You should never sign any legal paper without checking it over first.",763 Favorite: null764 },765 geometry: null766 },767 {768 type: "Feature",769 properties: {770 name: "to have (time) off",771 desc:772 " to have free time, not to have to work (also: to take**newline**time off (S))**newline**The related form (S) to take time off is used when someone makes a decision**newline**to have free time, sometimes when others might not agree with the decision.",773 example:774 "**newline**o Every morning the company workers have time off for a coffee break.**newline**o Several workers took the afternoon off to go to a baseball game.",775 Favorite: null776 },777 geometry: null778 },779 {780 type: "Feature",781 properties: {782 name: "to go on",783 desc: " to happen; to resume, to continue (also: to keep on)",784 example:785 "**newline**o Many people gathered near the accident to see what was going on.**newline**o I didn't mean to interrupt you. Please go on.**newline**o The speaker kept on talking even though most of the audience had left.",786 Favorite: null787 },788 geometry: null789 },790 {791 type: "Feature",792 properties: {793 name: "to put out",794 desc:795 " extinguish, to cause to stop functioning (S)**newline**To put out has the same meaning as to turn off (Lesson 1) for a light fixture.",796 example:797 "**newline**o No smoking is allowed in here. Please put out your cigarette.**newline**o The fire fighters worked hard to put the brush fire out.**newline**o Please put out the light before you leave. Okay, I'll put it out.",798 Favorite: null799 },800 geometry: null801 },802 {803 type: "Feature",804 properties: {805 name: "all of a sudden",806 desc: " suddenly, without warning (also: all at once)",807 example:808 "**newline**o All of a sudden Ed appeared at the door. We weren't expecting him to**newline**drop by.**newline**o All at once Millie got up and left the house without any explanation.",809 Favorite: null810 },811 geometry: null812 },813 {814 type: "Feature",815 properties: {816 name: "to point out",817 desc: " to show, to indicate, to bring to one's attention (S)",818 example:819 "**newline**o What important buildings did the tour guide point out to you?**newline**o The teacher pointed out the mistakes in my composition.**newline**o A friend pointed the famous actor out to me.",820 Favorite: null821 },822 geometry: null823 },824 {825 type: "Feature",826 properties: {827 name: "to be up",828 desc:829 " to expire, to be finished**newline**This idiom is used only with the word time as the subject.",830 example:831 '**newline**o "The time is up," the teacher said at the end of the test period.**newline**o We have to leave the tennis court because our hour is up; some other**newline**people want to use it now.',832 Favorite: null833 },834 geometry: null835 },836 {837 type: "Feature",838 properties: {839 name: "to be over",840 desc:841 " to be finished, to end (also: to be through)**newline**This idiom is used for activities and events.",842 example:843 "**newline**o After the dance was over, we all went to a restaurant.**newline**o The meeting was through ten minutes earlier than everyone expected.",844 Favorite: null845 },846 geometry: null847 },848 {849 type: "Feature",850 properties: {851 name: "on time",852 desc: " exactly at the correct time, punctually",853 example:854 "**newline**o I thought that Margaret would arrive late, but she was right on time.**newline**o Did you get to work on time this morning, or did rush hour traffic delay**newline**you?",855 Favorite: null856 },857 geometry: null858 },859 {860 type: "Feature",861 properties: {862 name: "in time to",863 desc: " before the time necessary to do something",864 example:865 "**newline**o We entered the theater just in time to see the beginning of the movie.**newline**o The truck was not able to stop in time to prevent an accident.",866 Favorite: null867 },868 geometry: null869 },870 {871 type: "Feature",872 properties: {873 name: "to get better, worse, etc.",874 desc: " to become better, worse, etc.",875 example:876 "**newline**o Heather has been sick for a month, but now she is getting better.**newline**o This medicine isn't helping me. Instead of getting better, I'm getting**newline**worse.",877 Favorite: null878 },879 geometry: null880 },881 {882 type: "Feature",883 properties: {884 name: "to get sick, well, tired, busy, wet, etc.",885 desc:886 " to become sick, well, tired, busy,**newline**wet, etc.**newline**This idiom consists of a combination of get and various adjectives.",887 example:888 "**newline**o Gerald got sick last week and has been in bed since that time.**newline**o Every afternoon I get very hungry, so I eat a snack.",889 Favorite: null890 },891 geometry: null892 },893 {894 type: "Feature",895 properties: {896 name: "had better",897 desc:898 " should, ought to, be advisable to**newline**This idiom is most often used in contracted form (I'd better).",899 example:900 "**newline**o I think you'd better speak to Mr. White right away about this matter.**newline**o The doctor told the patient that he'd better go home and rest.",901 Favorite: null902 },903 geometry: null904 },905 {906 type: "Feature",907 properties: {908 name: "would rather",909 desc: " prefer to (also: would just as soon)",910 example:911 "**newline**o Would you rather have the appointment this Friday or next Monday?**newline**o I would just as soon go for a walk as watch TV right now.",912 Favorite: null913 },914 geometry: null915 },916 {917 type: "Feature",918 properties: {919 name: "to all it a day/night",920 desc: " to stop working for the test of the day/night",921 example:922 "**newline**o Herb tried to repair his car engine all morning before he called it a day**newline**and went fishing.**newline**o We've been working hard on this project all evening; let's call it a night.",923 Favorite: null924 },925 geometry: null926 },927 {928 type: "Feature",929 properties: {930 name: "To figure out",931 desc: " to solve, to find a solution (S); to understand (S)",932 example:933 "**newline**o How long did it take you to figure out the answer to the math problem?**newline**o I was never able to figure it out.",934 Favorite: null935 },936 geometry: null937 },938 {939 type: "Feature",940 properties: {941 name: "to think of",942 desc:943 " to have a (good or bad) opinion of**newline**This idiom is often used in the negative or with adjectives such as much and**newline**highly.",944 example:945 "**newline**o I don't think much of him as a baseball player; he's a slow runner and a**newline**poor hitter.**newline**o James thinks highly of his new boss, who is a kind and helpful person.",946 Favorite: null947 },948 geometry: null949 },950 {951 type: "Feature",952 properties: {953 name: "to be about to",954 desc:955 " to be at the moment of doing something, to be ready**newline**This idiom is often sued with the adverb just.",956 example:957 "**newline**o I was just about to leave when you telephoned.**newline**o Oh, hi, John. We're just about to eat dinner.",958 Favorite: null959 },960 geometry: null961 },962 {963 type: "Feature",964 properties: {965 name: "to turn around",966 desc:967 " to move or face in the opposite direction (S); to completely**newline**change the condition of (S)",968 example:969 "**newline**o The man turned his car around and drove back the way he came.**newline**o The company has been very successful since the new business manager**newline**was able to turn it around.",970 Favorite: null971 },972 geometry: null973 },974 {975 type: "Feature",976 properties: {977 name: "to take turns",978 desc: " to alternate, to change people while doing something",979 example:980 "**newline**o During the trip, Darlene and I took turns driving so that neither of us**newline**would tire out.**newline**o I have to make sure that my two sons take turns playing the video game.",981 Favorite: null982 },983 geometry: null984 },985 {986 type: "Feature",987 properties: {988 name: "to pay attention (to)",989 desc:990 " to look at and listen to someone while they are**newline**speaking, to concentrate",991 example:992 "**newline**o Please pay attention to me while I'm speaking to you!**newline**o You'll have to pay more attention in class if you want to get a good**newline**grade.",993 Favorite: null994 },995 geometry: null996 },997 {998 type: "Feature",999 properties: {1000 name: "to brush up on",1001 desc: " to review something in order to refresh one's memory",1002 example:1003 "**newline**o Before I traveled to Mexico, I brushed up on my Spanish; I haven't**newline**practiced it since high school.**newline**o In order to take that advanced mathematics class, Sidney will have to**newline**brush up on his algebra.",1004 Favorite: null1005 },1006 geometry: null1007 },1008 {1009 type: "Feature",1010 properties: {1011 name: "over and over (again)",1012 desc: " repeatedly (also: time after time, time and**newline**again)",1013 example:1014 "**newline**o The actress studied her lines in the movie over and over until she knew**newline**them well.**newline**o Children have difficulty remembering rules, so it's often necessary to**newline**repeat them over and over again.**newline**o Time and again I have to remind Bobby to put on his seatbelt in the car.",1015 Favorite: null1016 },1017 geometry: null1018 },1019 {1020 type: "Feature",1021 properties: {1022 name: "to wear out",1023 desc:1024 " to use something until it has no value or worth anymore, to**newline**make useless through wear (S)",1025 example:1026 "**newline**o When I wear out these shoes, I'll have to buy some that last longer.**newline**o What do you do with your clothes after your wear them out?",1027 Favorite: null1028 },1029 geometry: null1030 },1031 {1032 type: "Feature",1033 properties: {1034 name: "to throw away",1035 desc: " to discard, to dispose of (S)",1036 example:1037 "**newline**o I generally throw away my clothes when I wear them out.**newline**o Don't throw the magazines away; I haven't read them yet.**newline**to fall in love: to begin to love**newline**This idiom is used with the expression at first sight to indicate a sudden**newline**interest in love.**newline**o Ben and Sal fell in love in high school, and got married after graduation.**newline**o Have you ever fallen in love at first sight?",1038 Favorite: null1039 },1040 geometry: null1041 },1042 {1043 type: "Feature",1044 properties: {1045 name: "to go out",1046 desc:1047 " to stop functioning; to stop burning; to leave home or work (also:**newline**to step out)",1048 example:1049 "**newline**o The lights went out all over the city because of an electrical problem.**newline**o The campers didn't have to put out the fire because it went out by itself.**newline**o Gary isn't here right now; he went out to the store for a moment.**newline**o I have to step out of the office briefly to pick up a newspaper.",1050 Favorite: null1051 },1052 geometry: null1053 },1054 {1055 type: "Feature",1056 properties: {1057 name: "out of the question",1058 desc: " impossible, not feasible",1059 example:1060 "**newline**o Stephen told Deborah that it was out of the question for her to borrow**newline**his new car.**newline**o Don't expect me to do that again. It's absolutely out of the question.",1061 Favorite: null1062 },1063 geometry: null1064 },1065 {1066 type: "Feature",1067 properties: {1068 name: "to have to do with",1069 desc: " to have some connection with or relationship to",1070 example:1071 "**newline**o Ralph insisted that he had nothing to do with breaking the window.**newline**o What does your suggestion have to do with our problem?",1072 Favorite: null1073 },1074 geometry: null1075 },1076 {1077 type: "Feature",1078 properties: {1079 name: "to wake up",1080 desc:1081 " to arise from sleep, to awaken (S)**newline**Compare wake up and get up (Lesson 1) as used in the first example.",1082 example:1083 "**newline**o Marge woke up this morning very early, but she did not get up until**newline**about ten o'clock.**newline**o My alarm clock wakes me up at the same time every day.",1084 Favorite: null1085 },1086 geometry: null1087 },1088 {1089 type: "Feature",1090 properties: {1091 name: "to be in charge of",1092 desc: " to manage, to have responsibility for",1093 example:1094 "**newline**o Jane is in charge of the office while Mrs. Haig is a business trip.**newline**o Who is in charge of arrangements for the dance next week?",1095 Favorite: null1096 },1097 geometry: null1098 },1099 {1100 type: "Feature",1101 properties: {1102 name: "as soon as",1103 desc: " just after, when",1104 example:1105 "**newline**o As soon as it started to snow, the children ran outside with big smiles**newline**on their faces.**newline**o I'm busy now, but I'll meet you as soon as I've finished this work.",1106 Favorite: null1107 },1108 geometry: null1109 },1110 {1111 type: "Feature",1112 properties: {1113 name: "to get in touch with",1114 desc: " to communicate with, to contact",1115 example:1116 "**newline**o You can get in touch with him by calling the Burma Hotel.**newline**o I've been trying all morning to get in touch with Miss Peters, but her**newline**phone is always busy.",1117 Favorite: null1118 },1119 geometry: null1120 },1121 {1122 type: "Feature",1123 properties: {1124 name: "to have a good time",1125 desc: " to enjoy oneself",1126 example:1127 "**newline**o We all had a good time at the class reunion last night.**newline**o Did you have a good time at the park? I really enjoyed it.",1128 Favorite: null1129 },1130 geometry: null1131 },1132 {1133 type: "Feature",1134 properties: {1135 name: "in no time",1136 desc:1137 " very quickly, rapidly**newline**This idiom can be used with the idiom at all to add emphasis to the certainty**newline**of the statement.",1138 example:1139 "**newline**o Mac said that he'd be ready to leave in no time.**newline**o We thought that the meeting would take two hours, but it was over in**newline**no time at all.",1140 Favorite: null1141 },1142 geometry: null1143 },1144 {1145 type: "Feature",1146 properties: {1147 name: "to cut down on",1148 desc: " to reduce, to lessen (also: to cut back on)",1149 example:1150 "**newline**o In order to lose weight, you have to cut down on your intake of sugar.**newline**o The doctor told me to cut back on exercise until my back injury heals.",1151 Favorite: null1152 },1153 geometry: null1154 },1155 {1156 type: "Feature",1157 properties: {1158 name: "quite a few",1159 desc: " many",1160 example:1161 "**newline**o Quite a few students were absent yesterday; in fact, more than half of**newline**them were not there.**newline**o We did not expect many people to attend to affair, but quite a few of**newline**our friends actually came.",1162 Favorite: null1163 },1164 geometry: null1165 },1166 {1167 type: "Feature",1168 properties: {1169 name: "used to",1170 desc:1171 " formerly did, had the habit of**newline**This idiom is used to indicate a past situation, action, or habit that does not**newline**exist in the present. The idiom is always followed by a simple verb form.",1172 example:1173 "**newline**o I used to live in New York, but I moved to California two years ago.**newline**o Kim used to smoke cigarettes, but she stopped the habit last month.",1174 Favorite: null1175 },1176 geometry: null1177 },1178 {1179 type: "Feature",1180 properties: {1181 name: "to be used to",1182 desc:1183 " be accustomed to**newline**This idiom refers to a situation, action, or habit that continues in the present.**newline**The idiom is always followed by a noun or gerund phrase.",1184 example:1185 "**newline**o He is used to this climate now, so the changes in temperature do not**newline**affect him much.**newline**o I am used to studying in the library, so it's difficult for me to study at**newline**home now.",1186 Favorite: null1187 },1188 geometry: null1189 },1190 {1191 type: "Feature",1192 properties: {1193 name: "to get used to",1194 desc:1195 " to become used to, to become adjusted to**newline**This idiom describes the process of change that allows someone to be used to**newline**a situation, action, or habit.",1196 example:1197 "**newline**o It took Yoshiko a long time to get used to the food that her American**newline**host family served her.**newline**o Mark can't seem to get used to wearing contact lenses; recently he's**newline**been wearing his glasses a lot.",1198 Favorite: null1199 },1200 geometry: null1201 },1202 {1203 type: "Feature",1204 properties: {1205 name: "back and forth",1206 desc: " in a backward and forward motion",1207 example:1208 "**newline**o The restless lion kept pacing back and forth along the front of its cage.**newline**o Grandmother finds it relaxing to sit in her rocking chair and move back**newline**and forth.",1209 Favorite: null1210 },1211 geometry: null1212 },1213 {1214 type: "Feature",1215 properties: {1216 name: "to make sure",1217 desc: " to be sure, to ascertain (also: to make certain)",1218 example:1219 "**newline**o Please make sure that you turn off the radio before you go out.**newline**o Could you make certain of the time? I don't want to miss that TV show.",1220 Favorite: null1221 },1222 geometry: null1223 },1224 {1225 type: "Feature",1226 properties: {1227 name: "now and then",1228 desc:1229 " occasionally, sometimes (also: now and again, at times,**newline**from time to time, off and on, once in a while)**newline**Both now and then and once in a while can be preceded by the adjective every.**newline**Another idiom with the same meaning and form is every so often.",1230 example:1231 "**newline**o I don't see him very often, but (every) now and then we arrange to have**newline**lunch together.**newline**o Gary gets a cold (every) once in a while even though he takes good care**newline**of himself.**newline**o Every so often my brother and I get together for a camping trip.**newline**o I like to sleep late in the morning from time to time.",1232 Favorite: null1233 },1234 geometry: null1235 },1236 {1237 type: "Feature",1238 properties: {1239 name: "to get rid of",1240 desc: " to eliminate, to remove; to discard, to throw away",1241 example:1242 "**newline**o Jerry tried hard to get rid of the stain on his shirt, but he never**newline**succeeded.**newline**o The stain was so bad that Jerry finally had to get rid of his shirt.",1243 Favorite: null1244 },1245 geometry: null1246 },1247 {1248 type: "Feature",1249 properties: {1250 name: "every other (one)",1251 desc: " every second (one), alternate (ones)",1252 example:1253 "**newline**o I play tennis with my father every other Saturday, so I usually play**newline**twice a month.**newline**o There were twenty problems in the exercise, but the teacher told us**newline**only to do every other one. Actually, doing ten problems was difficult**newline**enough.",1254 Favorite: null1255 },1256 geometry: null1257 },1258 {1259 type: "Feature",1260 properties: {1261 name: "to go with",1262 desc:1263 " to match, to compare well in color to design; to date, to**newline**accompany (also: to go out with)**newline**For the first definition, adverbs such as well and poorly are often used.",1264 example:1265 "**newline**o That striped shirt goes well with the gray pants, but the pants go poorly**newline**with those leather shoes.**newline**o Eda went with Richard for about six months, but now she is going out**newline**with a new boyfriend.",1266 Favorite: null1267 },1268 geometry: null1269 },1270 {1271 type: "Feature",1272 properties: {1273 name: "first-rate",1274 desc: " excellent, superb",1275 example:1276 "**newline**o The food served in that four-star restaurant is truly first-rate.**newline**o The Beverly Hills Hotel provides first-rate service to its guests.",1277 Favorite: null1278 },1279 geometry: null1280 },1281 {1282 type: "Feature",1283 properties: {1284 name: "to come from",1285 desc:1286 " to originate from**newline**This idiom is commonly used in discussion of one's home town, state, or**newline**country.",1287 example:1288 "**newline**o What country in South American does she come from? She comes from**newline**Peru.**newline**o I just learned that he really comes from Florida, not Texas.**newline**o Where did this package come from? The mail carrier brought it.",1289 Favorite: null1290 },1291 geometry: null1292 },1293 {1294 type: "Feature",1295 properties: {1296 name: "to make good time",1297 desc:1298 " to travel a sufficient distance at a reasonable speed**newline**The adjective excellent can also be used.",1299 example:1300 "**newline**o On our last trip, it rained the entire time, so we didn't make good time.**newline**o We made excellent time on our trip to Florida; it only took eighteen**newline**hours.",1301 Favorite: null1302 },1303 geometry: null1304 },1305 {1306 type: "Feature",1307 properties: {1308 name: "to mix up",1309 desc:1310 " to stir or shake well (S); to confuse, to bewilder (S)**newline**For the second definition, the passive forms to be mixed up or to get mixed up**newline**are often used.",1311 example:1312 "**newline**o You should mix up the ingredients well before you put them in the pan.**newline**o The teacher's poor explanation really mixed the students up.**newline**o The students think it's their fault that they are mixed up so often.",1313 Favorite: null1314 },1315 geometry: null1316 },1317 {1318 type: "Feature",1319 properties: {1320 name: "to see about",1321 desc: " to give attention or time to (also: to attend to, to see to)",1322 example:1323 "**newline**o Who is going to see about getting us a larger room for the meeting?**newline**o I'll see to arranging music for the wedding of you attend to the**newline**entertainment.",1324 Favorite: null1325 },1326 geometry: null1327 },1328 {1329 type: "Feature",1330 properties: {1331 name: "to make out",1332 desc: " to do, to succeed, to progress",1333 example:1334 "**newline**o Charlie didn't make out very well on his final examinations. He may**newline**have to repeat one or more classes.**newline**o How did Rachelle make out on her acting audition in Hollywood**newline**yesterday?",1335 Favorite: null1336 },1337 geometry: null1338 },1339 {1340 type: "Feature",1341 properties: {1342 name: "by heart",1343 desc: " by memorizing",1344 example:1345 "**newline**o He knows many passages form Shakespeare by heart.**newline**o Do you know all the idioms you have studied in this book by heart?",1346 Favorite: null1347 },1348 geometry: null1349 },1350 {1351 type: "Feature",1352 properties: {1353 name: "to keep out",1354 desc: " not to enter, not allow to enter (S)",1355 example:1356 '**newline**o There was a large sign outside the door that said, "Danger! Keep out!"**newline**o I\'ve told you to keep the dog out of the house.',1357 Favorite: null1358 },1359 geometry: null1360 },1361 {1362 type: "Feature",1363 properties: {1364 name: "to keep away (from)",1365 desc:1366 " to stay at a distance (from) (S); to avoid use of (also:**newline**stay away from)",1367 example:1368 '**newline**o Please be sure to keep the children away from the street!**newline**o The signs on the burned-out house said, "Keep Away! Danger Zone."**newline**o It\'s important for your health to stay away from dangerous drugs.',1369 Favorite: null1370 },1371 geometry: null1372 },1373 {1374 type: "Feature",1375 properties: {1376 name: "to find fault with",1377 desc: " criticize, to complain about something",1378 example:1379 "**newline**o It is very easy to find fault with the work of others, but more difficult to**newline**accept criticism of one's own work.**newline**o Mrs. Johnson is always finding fault with her children, but they really**newline**try to please their mother.",1380 Favorite: null1381 },1382 geometry: null1383 },1384 {1385 type: "Feature",1386 properties: {1387 name: "to be up to",1388 desc:1389 " to be responsible for deciding; to be doing as a regular activity**newline**The second definition is most often used in a question as a form of greeting.",1390 example:1391 "**newline**o I don't care whether we go to the reception or not. It's up to you.**newline**o Hi, George. I haven't seen you in a while. What have you been up to?",1392 Favorite: null1393 },1394 geometry: null1395 },1396 {1397 type: "Feature",1398 properties: {1399 name: "ill at ease",1400 desc: " uncomfortable or worried in a situation",1401 example:1402 "**newline**o Speaking in front of a large audience makes many people feel ill at ease.**newline**o My wife and I were ill at ease because our daughter was late coming**newline**home from a date.",1403 Favorite: null1404 },1405 geometry: null1406 },1407 {1408 type: "Feature",1409 properties: {1410 name: "to do over",1411 desc:1412 " to revise, to do again (S)**newline**A noun or pronoun must separate the two parts of this idiom.",1413 example:1414 "**newline**o You'd better do the letter over because it is written so poorly.**newline**o Jose made so many mistakes in his homework that the teacher made**newline**him do it over.",1415 Favorite: null1416 },1417 geometry: null1418 },1419 {1420 type: "Feature",1421 properties: {1422 name: "to look into",1423 desc: " to investigate, to examine carefully (also: to check into)",1424 example:1425 "**newline**o The police are looking into the matter of the stolen computers.**newline**o The congressional committee will check into the financial dealings of**newline**the government contractor.",1426 Favorite: null1427 },1428 geometry: null1429 },1430 {1431 type: "Feature",1432 properties: {1433 name: "to take hold of",1434 desc: " to grasp, to grip with the heads",1435 example:1436 "**newline**o You should take hold of the railing as you go down those steep stairs.**newline**o The blind man took hold of my arm as I led him across the street.",1437 Favorite: null1438 },1439 geometry: null1440 },1441 {1442 type: "Feature",1443 properties: {1444 name: "to get through",1445 desc:1446 " to finish, to complete**newline**This idiom is followed either by the �ing form of a verb (a gerund) or by the**newline**preposition with.",1447 example:1448 "**newline**o I didn't get through studying last night until almost eleven o'clock.**newline**o At what time does your wife get through with work every day?",1449 Favorite: null1450 },1451 geometry: null1452 },1453 {1454 type: "Feature",1455 properties: {1456 name: "from now on",1457 desc: " from this time into the future",1458 example:1459 "**newline**o Mr. Lee's doctor told him to cut down on eating fatty foods from now**newline**on, or else he might suffer heart disease.**newline**o I'm sorry that I dropped by at a bad time. From now on I'll call you first.",1460 Favorite: null1461 },1462 geometry: null1463 },1464 {1465 type: "Feature",1466 properties: {1467 name: "to keep track of",1468 desc:1469 " to keep or maintain a record of; to remember the location**newline**of",1470 example:1471 "**newline**o Steve keeps track of all the long-distance telephone calls related to his**newline**business that he makes from his house.**newline**o With seven small children, how do the Wilsons keep track of all of them?",1472 Favorite: null1473 },1474 geometry: null1475 },1476 {1477 type: "Feature",1478 properties: {1479 name: "to be carried away",1480 desc:1481 " to be greatly affected by a strong feeling (S)**newline**This idiom can also be used with get instead of be.",1482 example:1483 "**newline**o Paula and Leanne were carried away by the sad movie that they saw**newline**together.**newline**o James got carried away with anger when his roommate crashed his**newline**new car into a telephone pole.",1484 Favorite: null1485 },1486 geometry: null1487 },1488 {1489 type: "Feature",1490 properties: {1491 name: "up to date",1492 desc:1493 " modern; current, timely**newline**Hyphens (-) separate the parts of this idiom when it precedes a noun form, as**newline**in the third example. The verb to update derives from this idiom.",1494 example:1495 "**newline**o The president insisted that the company bring its aging equipment up**newline**to date.**newline**o This catalog is not up to date. It was published several years ago.**newline**o The news program gave an up-to-date account of the nuclear accident.**newline**The newscaster said that he would update the news report every half**newline**hour.",1496 Favorite: null1497 },1498 geometry: null1499 },1500 {1501 type: "Feature",1502 properties: {1503 name: "out of date",1504 desc:1505 " not modern; not current, not timely; no longer available in**newline**published form**newline**Again, hyphens separate the parts of this idiom when it precedes a noun form**newline**as, in the second example. The passive verb to be outdated derives from this**newline**idiom.",1506 example:1507 "**newline**o Many people buy new cars when their old cars become out of date.**newline**o I don't know why Gene likes to wear out-of-date cloth. His clothes are**newline**so outdated that even his girlfriend hesitates to be seen with him.**newline**o This book can't be ordered any more because it is out of date.",1508 Favorite: null1509 },1510 geometry: null1511 },1512 {1513 type: "Feature",1514 properties: {1515 name: "to blow up",1516 desc:1517 " to inflate, to fill with air (S); to explode, to destroy (or be**newline**destroyed) by explosion (S)",1518 example:1519 "**newline**o Daddy, could you please blow up this balloon for me?**newline**o When the airplane crashed into the ground, it blew up immediately.**newline**o The military had to blow the missile up in midair when it started to go**newline**the wrong way.",1520 Favorite: null1521 },1522 geometry: null1523 },1524 {1525 type: "Feature",1526 properties: {1527 name: "to catch fire",1528 desc: " to begin to burn",1529 example:1530 "**newline**o Don't stand too close to the gas stove. Your clothes may catch fire.**newline**o No one seems to know how the old building caught fire.",1531 Favorite: null1532 },1533 geometry: null1534 },1535 {1536 type: "Feature",1537 properties: {1538 name: "to burn down",1539 desc:1540 " to burn slowly, but completely (usually said of candles); to**newline**destroy completely by fire (S)",1541 example:1542 "**newline**o There was a large amount of wax on the table where the candles had**newline**burned down.**newline**o The fire spread so quickly that the firefighters could not prevent the**newline**whole block of buildings from burning down.",1543 Favorite: null1544 },1545 geometry: null1546 },1547 {1548 type: "Feature",1549 properties: {1550 name: "to burn up",1551 desc:1552 " to destroy completely by fire (S); to make angry or very annoyed**newline**(S) (also to tick off)**newline**To burn up and to burn down (previous idiom) share the same definition but**newline**also have different definitions.",1553 example:1554 "**newline**o She didn't want anyone to see the letter, so she burned it up and threw**newline**the ashes away.**newline**o It really burns me up that he borrowed my car without asking me first.**newline**o Mike got ticked off that his friends never offered to help him move to**newline**his new apartment. He had to do everything himself.",1555 Favorite: null1556 },1557 geometry: null1558 },1559 {1560 type: "Feature",1561 properties: {1562 name: "to burn out",1563 desc:1564 " to stop functioning because of overuse; to make tired from too**newline**muck work (S)",1565 example:1566 "**newline**o This light bulb has burned out. Could you get another one?**newline**o Studying all day for my final exams has really burned me out.",1567 Favorite: null1568 },1569 geometry: null1570 },1571 {1572 type: "Feature",1573 properties: {1574 name: "to make good",1575 desc: " to succeed",1576 example:1577 "**newline**o He is a hard worker, and I'm sure that he will make good in that new**newline**job.**newline**o Alma has always made good in everything that she has done.",1578 Favorite: null1579 },1580 geometry: null1581 },1582 {1583 type: "Feature",1584 properties: {1585 name: "stands to reason",1586 desc:1587 " to be clear and logical**newline**This idiom is almost always used with the pronoun subject it and is followed**newline**by a that clause.",1588 example:1589 "**newline**o It stands to reason that a person without experience.**newline**o It stands to reason that he isn't going to pass the course if he never**newline**studies.",1590 Favorite: null1591 },1592 geometry: null1593 },1594 {1595 type: "Feature",1596 properties: {1597 name: "to break out",1598 desc: " to become widespread suddenly",1599 example:1600 "**newline**o An epidemic of measles broke out in Chicago this past week.**newline**o If a nuclear war ever breaks out, it is unlikely that many people will**newline**survive.**newline**o The news says that a large fire has broken out in a huge chemical plant.",1601 Favorite: null1602 },1603 geometry: null1604 },1605 {1606 type: "Feature",1607 properties: {1608 name: "as for",1609 desc: " regarding, concerning (also: as to)",1610 example:1611 "**newline**o As for the money, we will simply have to borrow some more from the**newline**bank.**newline**o There is no doubt as to her intelligence; she's the smartest one in the**newline**class.",1612 Favorite: null1613 },1614 geometry: null1615 },1616 {1617 type: "Feature",1618 properties: {1619 name: "to feel sorry for",1620 desc: " to pity, to feel compassion for (also: to take pity on)",1621 example:1622 "**newline**o Don't you feel sorry for someone who has to work the night shift?**newline**o I helped drive Pierre around when he broke his foot because I took pity**newline**on him.",1623 Favorite: null1624 },1625 geometry: null1626 },1627 {1628 type: "Feature",1629 properties: {1630 name: "to break down",1631 desc:1632 " to stop functioning**newline**Compare this idiom with to burn out in Lesson 12. To burn out means that**newline**electrical equipment becomes hot from overuse and stops functioning. To**newline**break down means that something stops functioning mechanically, whether**newline**from overuse or not.",1633 example:1634 "**newline**o I just bought my new car yesterday and already it has broken down.**newline**o The elevator broke down, so we walked all the way up to the top floor.",1635 Favorite: null1636 },1637 geometry: null1638 },1639 {1640 type: "Feature",1641 properties: {1642 name: "to turn out",1643 desc:1644 " to become or result; to appear, to attend (also: to come out)**newline**The noun form turnout derives from the second definition of the idiom.",1645 example:1646 "**newline**o Most parents wonder how their children will turn out as adults.**newline**o Hundreds of people came out for the demonstration against new taxes.**newline**o What was the turnout for the public hearing on the education reforms?",1647 Favorite: null1648 },1649 geometry: null1650 },1651 {1652 type: "Feature",1653 properties: {1654 name: "once in a blue moon",1655 desc: " rarely, infrequently",1656 example:1657 "**newline**o Snow falls on the city of San Diego, California, once in a blue moon.**newline**o Once in a blue moon my wife and I eat at a very expensive restaurant.",1658 Favorite: null1659 },1660 geometry: null1661 },1662 {1663 type: "Feature",1664 properties: {1665 name: "to give up",1666 desc: " to stop trying, to stop a bad habit (S); to surrender (S)",1667 example:1668 "**newline**o I'm sure that you can accomplish this task. Don't give up yet!**newline**o If you give up smoking now, you can certainly live a longer life.**newline**o The soldiers gave themselves up in the face of a stronger enemy forces.",1669 Favorite: null1670 },1671 geometry: null1672 },1673 {1674 type: "Feature",1675 properties: {1676 name: "to cross out",1677 desc: " to cancel by marking with a horizontal lines (S)",1678 example:1679 "**newline**o The teacher crossed out several incorrect words in Tanya's composition.**newline**o I crossed the last line out of my letter because it had the wrong tone to**newline**it.",1680 Favorite: null1681 },1682 geometry: null1683 },1684 {1685 type: "Feature",1686 properties: {1687 name: "to take for granted",1688 desc:1689 " not to appreciate fully (S); to assume to be true without**newline**giving much thought (S)**newline**A noun or pronoun often follows the verb take.",1690 example:1691 "**newline**o John took his wife for granted until once when he was very sick and**newline**needed her constant attention for a week.**newline**o He spoke English so well that I took it for granted he was an American.**newline**o He took for granted that I wasn't American because I spoke English so**newline**poorly!",1692 Favorite: null1693 },1694 geometry: null1695 },1696 {1697 type: "Feature",1698 properties: {1699 name: "to take into account",1700 desc:1701 " to consider a fact while evaluating a situation (S)**newline**Again, a noun or pronoun often follows the verb take.",1702 example:1703 "**newline**o The judge took the prisoner's young age into account before sentencing**newline**him to three months in jail.**newline**o Educators should take into account the cultural backgrounds of**newline**students when planning a school curriculum.",1704 Favorite: null1705 },1706 geometry: null1707 },1708 {1709 type: "Feature",1710 properties: {1711 name: "to make clear",1712 desc: " to clarify, to explain (S)",1713 example:1714 "**newline**o Please make clear that he should never act so impolitely again.**newline**o The supervisor made it clear to the workers that they had to increase**newline**their productivity.",1715 Favorite: null1716 },1717 geometry: null1718 },1719 {1720 type: "Feature",1721 properties: {1722 name: "clear-cut",1723 desc: " clearly stated, definite, apparent",1724 example:1725 "**newline**o The president's message was clear-cut: the company had to reduce**newline**personnel immediately.**newline**o Professor Larsen is well known for his interesting and clear-cut**newline**presentations.",1726 Favorite: null1727 },1728 geometry: null1729 },1730 {1731 type: "Feature",1732 properties: {1733 name: "to have on",1734 desc: " to be wearing (S)",1735 example:1736 "**newline**o How do you like the hat which Grace has on today?**newline**o When Sally came into the room, I had nothing on except my shorts.",1737 Favorite: null1738 },1739 geometry: null1740 },1741 {1742 type: "Feature",1743 properties: {1744 name: "to come to",1745 desc: " to regain consciousness; to equal, to amount to",1746 example:1747 "**newline**o At first they thought that the man was dead, but soon he came to.**newline**o The bill for groceries at the supermarket came to fifty dollars.",1748 Favorite: null1749 },1750 geometry: null1751 },1752 {1753 type: "Feature",1754 properties: {1755 name: "to call for",1756 desc: " to require; to request, to urge",1757 example:1758 "**newline**o This cake recipe calls for some baking soda, but we don't have any.**newline**o The member of Congress called for new laws to regulate the banking**newline**industry.",1759 Favorite: null1760 },1761 geometry: null1762 },1763 {1764 type: "Feature",1765 properties: {1766 name: "to eat in/to eat out",1767 desc: " to eat at home/to eat in a restaurant",1768 example:1769 "**newline**o I feel too tired to go out for dinner. Let's eat in again tonight.**newline**o When you eat out, what restaurant do you generally go to?",1770 Favorite: null1771 },1772 geometry: null1773 },1774 {1775 type: "Feature",1776 properties: {1777 name: "cut and dried",1778 desc: " predictable, known beforehand; boring",1779 example:1780 "**newline**o The results of the national election were rather cut and dried; the**newline**Republicans won easily.**newline**o A job on a factory assembly line is certainly cut and dried.",1781 Favorite: null1782 },1783 geometry: null1784 },1785 {1786 type: "Feature",1787 properties: {1788 name: "to look after",1789 desc:1790 " to watch, to supervise, to protect (also: to take care of, to**newline**keep an eye on)",1791 example:1792 "**newline**o Grandma will look after the baby while we go to the lecture.**newline**o Who is going to take care of your house plants while you are away?**newline**o I'd appreciate it if you'd keep an eye on my car while I'm in the store.",1793 Favorite: null1794 },1795 geometry: null1796 },1797 {1798 type: "Feature",1799 properties: {1800 name: "to feel like",1801 desc:1802 " to have the desire to, to want to consider**newline**This idiom is usually followed by a gerund (the �ing form of a verb used as a**newline**noun).",1803 example:1804 "**newline**o I don't feel like studying tonight. Let's go to a basketball game.**newline**o I feel like taking a long walk. Would you like to go with me?",1805 Favorite: null1806 },1807 geometry: null1808 },1809 {1810 type: "Feature",1811 properties: {1812 name: "once and for all",1813 desc: " finally, absolutely",1814 example:1815 "**newline**o My daughter told her boyfriend once and for all that she wouldn't date**newline**him anymore.**newline**o Once and for all, john has quit smoking cigarettes.",1816 Favorite: null1817 },1818 geometry: null1819 },1820 {1821 type: "Feature",1822 properties: {1823 name: "to hear from",1824 desc:1825 " to receive news or information from**newline**To hear from is used for receiving a letter, telephone call, etc., from a person**newline**or organization.",1826 example:1827 "**newline**o I don't hear from my brother very often since he moved to Chicago.**newline**o Have you heard from the company about that new job?",1828 Favorite: null1829 },1830 geometry: null1831 },1832 {1833 type: "Feature",1834 properties: {1835 name: "to hear of",1836 desc:1837 " to know about, to be familiar with; to consider**newline**The second definition is always used in the negative.",1838 example:1839 '**newline**o When I asked for directions to Mill Street, the police officer said that**newline**she had never heard of it.**newline**o Byron strongly disagreed with my request by saying, "I won\'t hear of**newline**it!"',1840 Favorite: null1841 },1842 geometry: null1843 },1844 {1845 type: "Feature",1846 properties: {1847 name: "to make fun of",1848 desc: " to laugh at, to joke about",1849 example:1850 "**newline**o They are making fun of Carla's new hair style. Don't you think that it's**newline**really strange?**newline**o Don't make fun of Jose's English. He's doing the best he can.",1851 Favorite: null1852 },1853 geometry: null1854 },1855 {1856 type: "Feature",1857 properties: {1858 name: "to come true",1859 desc: " to become reality, to prove to be correct",1860 example:1861 "**newline**o The weatherman's forecast for today's weather certainly came true.**newline**o Everything that the economists predicted about the increased cost of**newline**living has come true.",1862 Favorite: null1863 },1864 geometry: null1865 },1866 {1867 type: "Feature",1868 properties: {1869 name: "as a matter of fact",1870 desc: " really, actually (also: in fact)",1871 example:1872 "**newline**o Hans thinks he knows English well but, as a matter of fact, he speaks**newline**very poorly.**newline**o I didn't say that. In fact, I said quite the opposite.",1873 Favorite: null1874 },1875 geometry: null1876 },1877 {1878 type: "Feature",1879 properties: {1880 name: "to have one's way",1881 desc:1882 " to arrange matters the way one wants (especially when**newline**someone else doesn't want to same way) (also: to get one's way)",1883 example:1884 "**newline**o My brother always wants to have his way, but this time our parents**newline**said that we could do what I wanted.**newline**o If Sheila doesn't get her way, she becomes very angry.",1885 Favorite: null1886 },1887 geometry: null1888 },1889 {1890 type: "Feature",1891 properties: {1892 name: "to look forward to",1893 desc:1894 " to expect or anticipate with pleasure**newline**This idiom can be followed by a regular noun or a gerund.",1895 example:1896 "**newline**o We're greatly looking forward to our vacation in Mexico.**newline**o Margaret never looks forward to going to work.",1897 Favorite: null1898 },1899 geometry: null1900 },1901 {1902 type: "Feature",1903 properties: {1904 name: "inside out",1905 desc: " with the inside facing the outside",1906 example:1907 "**newline**o Someone should tell little Bobby that his shirt is inside out.**newline**o The high winds ruined the umbrella by blowing it inside out.",1908 Favorite: null1909 },1910 geometry: null1911 },1912 {1913 type: "Feature",1914 properties: {1915 name: "upside down",1916 desc: " with the upper side turned toward the lower side",1917 example:1918 "**newline**o The accident caused on car to turn upside down, its wheels spinning in**newline**the air.**newline**o One of the students was only pretending to read her textbook; the**newline**teacher could see that the book was actually upside down.",1919 Favorite: null1920 },1921 geometry: null1922 },1923 {1924 type: "Feature",1925 properties: {1926 name: "to fill in",1927 desc:1928 " to write answers in (S); to inform, to tell (S)**newline**For the second definition, the idiom can be followed by the preposition on and**newline**the information that someone is told.",1929 example:1930 "**newline**o You should be careful to fill in the blanks on the registration form**newline**correctly.**newline**o Barry was absent from the meeting, so I'd better fill him in.**newline**o Has anyone filled the boss in on the latest public relation disaster?",1931 Favorite: null1932 },1933 geometry: null1934 },1935 {1936 type: "Feature",1937 properties: {1938 name: "to fill out",1939 desc:1940 " to complete a form (S)**newline**This idiom is very similar to the first definition above. To fill in refers to**newline**completing various parts of a form, while to fill out refers to completing a form**newline**as one whole item.",1941 example:1942 "**newline**o Every prospective employee must fill out an application by giving name,**newline**address, previous jobs, etc.**newline**o The teenager had some trouble filling the forms out by himself, so his**newline**mother helped him.",1943 Favorite: null1944 },1945 geometry: null1946 },1947 {1948 type: "Feature",1949 properties: {1950 name: "to take advantage of",1951 desc:1952 " to use well, to profit from; to use another person's**newline**weaknesses to gain what one wants",1953 example:1954 "**newline**o I took advantage of my neighbor's superior skill at tennis to improve**newline**my own ability at the game.**newline**o Teddy is such a small, weak child that his friends take advantage of**newline**him all the time. They take advantage of him by demanding money**newline**and making him do things for them.",1955 Favorite: null1956 },1957 geometry: null1958 },1959 {1960 type: "Feature",1961 properties: {1962 name: "no matter",1963 desc:1964 " regardless of**newline**This idiom is a shortened form of it doesn't matter. It is followed by a question**newline**word such as how, where, when, who, etc.",1965 example:1966 "**newline**o No matter how much money he spends on his clothes, he never looks**newline**well dressed.**newline**o No matter where that escaped prisoner tries to hide, the police will find**newline**him sooner or later.",1967 Favorite: null1968 },1969 geometry: null1970 },1971 {1972 type: "Feature",1973 properties: {1974 name: "to take up",1975 desc:1976 " to begin to do or study, to undertake (S); to occupy space, time,**newline**or energy (S)",1977 example:1978 "**newline**o After today's exam, the class will be ready to take up the last chapter in**newline**the book.**newline**o The piano takes up too much space in our living room. However, it**newline**would take too much time up to move it right now; so we'd better wait**newline**until later.",1979 Favorite: null1980 },1981 geometry: null1982 },1983 {1984 type: "Feature",1985 properties: {1986 name: "to take up with",1987 desc:1988 " to consult someone about an important matter (S)**newline**The important matter follows the verb take, while the person consulted**newline**follows with.",1989 example:1990 "**newline**o Can I take the problem up with you right now? It's quite urgent.**newline**o I can't help you with this matter. You'll have to take it up with the**newline**manager.",1991 Favorite: null1992 },1993 geometry: null1994 },1995 {1996 type: "Feature",1997 properties: {1998 name: "to take after",1999 desc:2000 " to resemble a parent or close relative (for physical appearance**newline**only, also: to look like)",2001 example:2002 "**newline**o Which of your parents do you take after the most?**newline**o Sam looks like his father, but he takes after his mother in personality.",2003 Favorite: null2004 },2005 geometry: null2006 },2007 {2008 type: "Feature",2009 properties: {2010 name: "in the long run",2011 desc:2012 " eventually, after a long period of time**newline**This idiom is similar in meaning to sooner or later (Lesson 1). The difference**newline**is that in the long run refers to a more extended period of time.",2013 example:2014 "**newline**o In the long run, the synthetic weave in this carpet will wear better than**newline**the woolen one. You won't have to replace it so soon.**newline**o If you work hard at your marriage, you'll find out that, in the long run,**newline**your spouse can be your best friend in life.",2015 Favorite: null2016 },2017 geometry: null2018 },2019 {2020 type: "Feature",2021 properties: {2022 name: "in touch",2023 desc: " having contact",2024 example:2025 "**newline**o James will be in touch with us soon to relay the details of the plan.**newline**o I certainly enjoyed seeing you again after all these years. Let's be sure to**newline**keep in touch.",2026 Favorite: null2027 },2028 geometry: null2029 },2030 {2031 type: "Feature",2032 properties: {2033 name: "out of touch",2034 desc: " not having contact; not having knowledge of",2035 example:2036 "**newline**o Marge and I had been out of touch for years, but then suddenly she**newline**called me up the other day.**newline**o Larry has been so busy that he seems out of touch with world events.",2037 Favorite: null2038 },2039 geometry: null2040 },2041 {2042 type: "Feature",2043 properties: {2044 name: "on one's toes",2045 desc:2046 " alert, cautious**newline**This idiom is usually used with the verbs stay and keep.",2047 example:2048 "**newline**o It's important for all the players on a soccer team to stay on their toes.**newline**o We'd better keep on our toes while we're walking along the dark**newline**portions of this street.",2049 Favorite: null2050 },2051 geometry: null2052 },2053 {2054 type: "Feature",2055 properties: {2056 name: "to get along",2057 desc:2058 " to make progress; to manage to live in a certain state of health",2059 example:2060 "**newline**o Juan is getting along very well in his English studies.**newline**o How is Mr. Richards getting along after his long illness?",2061 Favorite: null2062 },2063 geometry: null2064 },2065 {2066 type: "Feature",2067 properties: {2068 name: "hard of hearing",2069 desc: " partially deaf, not able to hear well",2070 example:2071 "**newline**o You'll have to speak a little louder. Mrs. Evans is hard of hearing.**newline**o Please don't shout. I'm not hard of hearing.**newline**o Listening to loud music too much can make you hard of hearing.",2072 Favorite: null2073 },2074 geometry: null2075 },2076 {2077 type: "Feature",2078 properties: {2079 name: "to see eye to eye",2080 desc: " to agree, to concur",2081 example:2082 "**newline**o I'm glad that we see eye to eye on the matter of the conference location.**newline**o A husband and wife don't always see eye to eye with each other, but a**newline**good marriage can survive small disagreements.",2083 Favorite: null2084 },2085 geometry: null2086 },2087 {2088 type: "Feature",2089 properties: {2090 name: "to have in mind",2091 desc: " to be considering, to be thinking (S)",2092 example:2093 "**newline**o I don't want to see a movie now. I have in mind going to the park.**newline**o It's up to you what we eat tonight. Do you have anything in mind?",2094 Favorite: null2095 },2096 geometry: null2097 },2098 {2099 type: "Feature",2100 properties: {2101 name: "to keep in mind",2102 desc:2103 " to remember, not to forget (S) (also: to bear in mind)**newline**Englewood Cliffs, New Jersey 07632",2104 example:2105 "**newline**o I didn't know that Paula doesn't like vegetables. We should bear that in**newline**mind next time we invite her for dinner.**newline**o Please keep in mind that you promised to call Stan around noon.",2106 Favorite: null2107 },2108 geometry: null2109 },2110 {2111 type: "Feature",2112 properties: {2113 name: "for once",2114 desc: " this one time, for only one time",2115 example:2116 "**newline**o For once I was able to win a game of golf against Steve, who is a much**newline**better player than I am.**newline**o Dad, for once would you please let me drive the new car?",2117 Favorite: null2118 },2119 geometry: null2120 },2121 {2122 type: "Feature",2123 properties: {2124 name: "to go off",2125 desc:2126 " to explode; to sound as an alarm; to leave suddenly without**newline**explanation",2127 example:2128 "**newline**o The accident happened when a box of firecrackers went off accidentally.**newline**o For what time did you set the alarm clock to go off tomorrow morning?**newline**o Vince went off without saying good-bye to anybody; I hope he wasn't**newline**angry.",2129 Favorite: null2130 },2131 geometry: null2132 },2133 {2134 type: "Feature",2135 properties: {2136 name: "to grow out of",2137 desc: " to outgrow, to become too old for; to be a result of",2138 example:2139 "**newline**o He still bites his nails now and then, but soon he'll grow out of the**newline**habit.**newline**o The need for the salary committee grew out of worker dissatisfaction**newline**with the pay scale.",2140 Favorite: null2141 },2142 geometry: null2143 },2144 {2145 type: "Feature",2146 properties: {2147 name: "to make the best of",2148 desc: " to do the best that one can in a poor situation",2149 example:2150 "**newline**o If we can't find a larger apartment soon, we'll just have to make the best**newline**of it right here.**newline**o Even though the Martinez family is having financial problems, they**newline**make the best of everything by enjoying the simple pleasures of life.",2151 Favorite: null2152 },2153 geometry: null2154 },2155 {2156 type: "Feature",2157 properties: {2158 name: "to cut off",2159 desc:2160 " to shorten by cutting the ends (S); to disconnect or stop suddenly**newline**(S)",2161 example:2162 "**newline**o The rope was two feet longer than we needed, so we cut off the extra**newline**length.**newline**o The operator cut our long-distance phone conversation off after two**newline**minutes.",2163 Favorite: null2164 },2165 geometry: null2166 },2167 {2168 type: "Feature",2169 properties: {2170 name: "to cut out",2171 desc:2172 " to remove by cutting (S); to stop doing something (S) (for the**newline**second definition, also: to knock it off)**newline**For the second definition, the idiom is usually separated by the pronoun it.",2173 example:2174 "**newline**o The child likes to cut out pictures form the newspaper and to paste**newline**them in a notebook.**newline**o He kept bothering her, so finally she told him to cut it out. However, he**newline**wouldn't knock it off until her larger brother appeared.",2175 Favorite: null2176 },2177 geometry: null2178 },2179 {2180 type: "Feature",2181 properties: {2182 name: "to blow out",2183 desc:2184 " to explode, to go flat (for tires); to extinguish by blowing (S)",2185 example:2186 "**newline**o On our trip to Colorado, one of the car tires blew out when it hit a large**newline**hole in the road.**newline**o Little Joey wasn't able to blow all the candles out, so his big sister**newline**helped him.",2187 Favorite: null2188 },2189 geometry: null2190 },2191 {2192 type: "Feature",2193 properties: {2194 name: "to become of",2195 desc:2196 " to happen to (a missing object or person)**newline**This idiom is always used in a clause beginning with what.",2197 example:2198 "**newline**o What has become of my pencil? I had it ten minutes ago, but now I**newline**can't find it.**newline**o I wondered what became of you. I looked around the shopping center**newline**for two hours, but I couldn't find you at all.",2199 Favorite: null2200 },2201 geometry: null2202 },2203 {2204 type: "Feature",2205 properties: {2206 name: "to shut up",2207 desc:2208 " to close for a period of time (S); to be quiet, to stop talking**newline**The second definition of this idiom is impolite in formal situations.",2209 example:2210 "**newline**o During the hurricane, all the store owners shut their shops up.**newline**o Bob's sister told him to shut up and not say anything more about it.**newline**o The student got into big trouble for telling his teacher to shut up.",2211 Favorite: null2212 },2213 geometry: null2214 },2215 {2216 type: "Feature",2217 properties: {2218 name: "have got",2219 desc: " to have, to possess",2220 example:2221 "**newline**o Curtis has got a bad cold. He's sneezing and coughing a lot.**newline**o How much money have you got with you right now?",2222 Favorite: null2223 },2224 geometry: null2225 },2226 {2227 type: "Feature",2228 properties: {2229 name: "have got to",2230 desc: " must (also: have to)",2231 example:2232 "**newline**o She has got to go to Chicago today to sign the contract papers.**newline**o I have to be back home by two o'clock or my wife will feel ill at ease.",2233 Favorite: null2234 },2235 geometry: null2236 },2237 {2238 type: "Feature",2239 properties: {2240 name: "to keep up with",2241 desc: " to maintain the same speed or rate as",2242 example:2243 "**newline**o Frieda works so fast that no one in the office can keep up with her.**newline**o You'll have to walk more slowly. I can't keep up with you.",2244 Favorite: null2245 },2246 geometry: null2247 },2248 {2249 type: "Feature",2250 properties: {2251 name: "on the other hand",2252 desc: " however, in contrast",2253 example:2254 "**newline**o Democracies provide people many freedoms and privileges. On the**newline**other hand, democracies suffer many serious problems such as crime**newline**and unemployment.**newline**o My sister takes after my father in appearance. On the other hand, I take**newline**after my mother.",2255 Favorite: null2256 },2257 geometry: null2258 },2259 {2260 type: "Feature",2261 properties: {2262 name: "to turn down",2263 desc:2264 " to reduce in brightness or volume (S); to reject, to refuse (S)",2265 example:2266 "**newline**o Please turn down the radio for me. It's too loud while I'm studying.**newline**o Laverne wanted to join the military but the recruiting officer turned her**newline**application down because Laverne is hard of hearing in one ear.",2267 Favorite: null2268 },2269 geometry: null2270 },2271 {2272 type: "Feature",2273 properties: {2274 name: "fifty-fifty",2275 desc: " divided into two equal parts",2276 example:2277 "**newline**o Let's go fifty-fifty on the cost of a new rug for our apartment.**newline**o The political candidate has a fifty-fifty chance of winning the election.",2278 Favorite: null2279 },2280 geometry: null2281 },2282 {2283 type: "Feature",2284 properties: {2285 name: "to break in",2286 desc:2287 " gradually to prepare something for use that is new and stiff (S);**newline**to interrupt (for the second definition, also: to cut in)",2288 example:2289 "**newline**o It is best to break a new car in by driving it slowly for the first few**newline**hundred miles.**newline**o While Carrie and I were talking, Bill broke in to tell me about a**newline**telephone call.**newline**o Peter, it's very impolite to cut in like that while others are speaking.",2290 Favorite: null2291 },2292 geometry: null2293 },2294 {2295 type: "Feature",2296 properties: {2297 name: "a lost cause",2298 desc:2299 " a hopeless case, a person or situation having no hope of positive**newline**change.",2300 example:2301 "**newline**o It seems that Charles will never listen to our advice. I suppose it's a lost**newline**cause.**newline**o The police searched for the missing girl for two weeks, but finally gave**newline**it up as a lost cause.**newline**o Children who have committed several crimes as teenagers and show no**newline**sorrow about their actions are generally lost causes.",2302 Favorite: null2303 },2304 geometry: null2305 },2306 {2307 type: "Feature",2308 properties: {2309 name: "above all",2310 desc: " mainly, especially",2311 example:2312 "**newline**o Above all, don't mention the matter to Gerard; he's the last person we**newline**should tell.**newline**o Sheila does well in all her school subjects, but above all in mathematics.**newline**Her math scores are always over 95 percent.",2313 Favorite: null2314 },2315 geometry: null2316 },2317 {2318 type: "Feature",2319 properties: {2320 name: "to do without",2321 desc:2322 " survive or exist without something (also: to go without)**newline**With prices so high now, I'll have to do without a new suit this year.",2323 example:2324 "**newline**o As a traveling salesperson, Monica can't do without a car.**newline**o It's a shame that so many poor people in the world have to go without**newline**basic necessities of life such as nutritious food and suitable shelter.",2325 Favorite: null2326 },2327 geometry: null2328 },2329 {2330 type: "Feature",2331 properties: {2332 name: "according to",2333 desc: " in the order of; on the authority of",2334 example:2335 "**newline**o The students on the football team were ranked according to height,**newline**from shortest to tallest.**newline**o According to my dictionary, you are using that word in your essay**newline**incorrectly.",2336 Favorite: null2337 },2338 geometry: null2339 },2340 {2341 type: "Feature",2342 properties: {2343 name: "to be bound to",2344 desc:2345 " to be certain to, to be sure to**newline**This idiom is used when the occurrence of an event seems inevitable or**newline**unavoidable.",2346 example:2347 "**newline**o We are bound to be late if you don't hurry up.**newline**o With the economy improving now, their business is bound to make**newline**more money this year.",2348 Favorite: null2349 },2350 geometry: null2351 },2352 {2353 type: "Feature",2354 properties: {2355 name: "for sure",2356 desc: " without doubt (also: for certain)",2357 example:2358 "**newline**o In the dark, I couldn't tell for sure whether it was Polly or Sarah who**newline**drove by.**newline**o I now for certain that Gene will move back to Washington next month.",2359 Favorite: null2360 },2361 geometry: null2362 },2363 {2364 type: "Feature",2365 properties: {2366 name: "to take for",2367 desc:2368 " to perceive or understand as (S)**newline**This idiom is usually used when someone is mistakenly perceived. A noun or**newline**pronoun must separate the idiom.",2369 example:2370 "**newline**o Because of his strong, muscular body, I took him for a professional**newline**athlete. As it turns out, he doesn't play any professional sports.**newline**o What do you take me for --- a fool? I don't believe what you're saying at**newline**all.",2371 Favorite: null2372 },2373 geometry: null2374 },2375 {2376 type: "Feature",2377 properties: {2378 name: "to try out",2379 desc: " to test, to use during a trial period (S)",2380 example:2381 "**newline**o You can try out the new car before you decide to buy it.**newline**o I can let you try the computer out for a few days before you make a**newline**decision.",2382 Favorite: null2383 },2384 geometry: null2385 },2386 {2387 type: "Feature",2388 properties: {2389 name: "to tear down",2390 desc: " to destroy by making flat, to demolish (S)",2391 example:2392 "**newline**o The construction company had to tear down the old hotel in order to**newline**build a new office building.**newline**o The owners had to tear the house down after it burned down in a fire.",2393 Favorite: null2394 },2395 geometry: null2396 },2397 {2398 type: "Feature",2399 properties: {2400 name: "to tear up",2401 desc: " to rip into small pieces (S)",2402 example:2403 "**newline**o Diedre tore up the letter angrily and threw all the pieces into the trash**newline**can.**newline**o He told the lawyer to tear the old contract up and then to prepare a**newline**new one.",2404 Favorite: null2405 },2406 geometry: null2407 },2408 {2409 type: "Feature",2410 properties: {2411 name: "to go over",2412 desc:2413 " to be appreciated or accepted**newline**This idiom is usually followed by the adverb well. (I Lesson 6 this idiom has**newline**the meaning to review, as in the second sentence of the second example**newline**below.)",2414 example:2415 "**newline**o The teacher's organized lessons always go over well with her students.**newline**o The comedian's jokes weren't going over well; the audience wasn't**newline**laughing much at all. I think that the comedian should go over his**newline**material more carefully before each act.",2416 Favorite: null2417 },2418 geometry: null2419 },2420 {2421 type: "Feature",2422 properties: {2423 name: "to run out of",2424 desc: " to exhaust the supply of, not to have more of",2425 example:2426 "**newline**o We ran out of gas right in the middle of the main street in town.**newline**o It's dangerous to run out of water if you are in an isolated area.",2427 Favorite: null2428 },2429 geometry: null2430 },2431 {2432 type: "Feature",2433 properties: {2434 name: "at heart",2435 desc:2436 " basically, fundamentally**newline**This idiom is used to describe the true character of a person.",2437 example:2438 "**newline**o James sometimes seems quite unfriendly, but at heart he's a good**newline**person.**newline**o The Fares often don't see eye to eye, but at heart they both love each**newline**other very much.",2439 Favorite: null2440 },2441 geometry: null2442 },2443 {2444 type: "Feature",2445 properties: {2446 name: "about to",2447 desc: " ready to, just going to",2448 example:2449 "**newline**o We were about to leave the house when the phone rang.**newline**o I'm sorry that I broke in. What were you about to say?",2450 Favorite: null2451 },2452 geometry: null2453 },2454 {2455 type: "Feature",2456 properties: {2457 name: "to bite off",2458 desc:2459 " to accept as a responsibility or task**newline**This idiom is often used when one accepts more responsibility than one can**newline**handle alone. It is usually used in the form to bite off more than one can chew.",2460 example:2461 "**newline**o When I accepted the position of chairman, I didn't realize how much I**newline**was biting off.**newline**o When James registered for 18 units in his last semester at college, he**newline**bit off more than he could chew.",2462 Favorite: null2463 },2464 geometry: null2465 },2466 {2467 type: "Feature",2468 properties: {2469 name: "to tell apart",2470 desc: " to distinguish between (also: to pick apart, to tell from) (S)",2471 example:2472 "**newline**o The two brothers look so much alike that few people can tell them**newline**apart.**newline**o That copy machine is so good that I can't pick the photocopy and the**newline**original apart.**newline**o Most new cars are very similar in appearance. It's almost impossible to**newline**tell one from another.",2473 Favorite: null2474 },2475 geometry: null2476 },2477 {2478 type: "Feature",2479 properties: {2480 name: "all in all",2481 desc: " considering everything",2482 example:2483 "**newline**o There were a few problems, but all in all it was a well-organized**newline**seminar.**newline**o Leonard got a low grade in one subject, but all in all he's a good student.",2484 Favorite: null2485 },2486 geometry: null2487 },2488 {2489 type: "Feature",2490 properties: {2491 name: "to pass out",2492 desc:2493 " to distribute (also: to hand out) (S); to lose consciousness**newline**The verbal idiom to hand out can be made into the noun handout to refer to**newline**items that are distributed in a class or meeting.",2494 example:2495 "**newline**o Please help me pass out these test papers; there must be a hundred of**newline**them.**newline**o Alright, students, here are the class handouts for this week.**newline**o The weather was so hot in the soccer stadium that some of the fans in**newline**the stands passed out.",2496 Favorite: null2497 },2498 geometry: null2499 },2500 {2501 type: "Feature",2502 properties: {2503 name: "to go around",2504 desc:2505 " to be sufficient or adequate for everyone present; to circulate,**newline**to move from place to place",2506 example:2507 "**newline**o We thought that we had bought enough food and drink for the party,**newline**but actually there wasn't enough to go around.**newline**o There's a bad strain of influenza going a",2508 Favorite: null2509 },2510 geometry: null2511 },2512 {2513 type: "Feature",2514 properties: {2515 name: "to be in (the/one's) way",2516 desc:2517 " to block or obstruct; not to be helpful, to cause**newline**inconvenience (for both, also: to get in the/one's way)",2518 example:2519 "**newline**o Jocelyn couldn't drive through the busy intersection because a big truck**newline**was in the way.**newline**o Our small child tried to help us paint the house, but actually he just got**newline**in our way.",2520 Favorite: null2521 },2522 geometry: null2523 },2524 {2525 type: "Feature",2526 properties: {2527 name: "to put on",2528 desc: " to gain (pounds or weight) (S); to present, to perform (S)",2529 example:2530 "**newline**o Bob has put on a lot of weight recently. He must have put at least**newline**fifteen pounds on.**newline**o The Youth Actor's Guild put on a wonderful version of Romeo and**newline**Juliet at the globe Theater.",2531 Favorite: null2532 },2533 geometry: null2534 },2535 {2536 type: "Feature",2537 properties: {2538 name: "to put up",2539 desc: " to tolerate, to accept unwillingly",2540 example:2541 "**newline**o The employee was fired because his boss could not put up with his**newline**mistakes any longer.**newline**o While I'm studying, I can't put up with any noise or other distractions.",2542 Favorite: null2543 },2544 geometry: null2545 },2546 {2547 type: "Feature",2548 properties: {2549 name: "in vain",2550 desc: " useless, without the desired result",2551 example:2552 "**newline**o All the doctors' efforts to save the injured woman were in vain. She was**newline**declared dead three hours after being admitted to the hospital.**newline**o We tried in vain to reach you last night. Is your phone out of order?",2553 Favorite: null2554 },2555 geometry: null2556 },2557 {2558 type: "Feature",2559 properties: {2560 name: "day in and day out",2561 desc:2562 " continuously, constantly (also: day after day; for**newline**longer periods of time, year in and year out and year after year)",2563 example:2564 "**newline**o During the month of April, it rained day in and day out.**newline**o Day after day I waited for a letter from him, but one never came.**newline**o Year in and year out, the weather in San Diego is the best in the nation.",2565 Favorite: null2566 },2567 geometry: null2568 },2569 {2570 type: "Feature",2571 properties: {2572 name: "to catch up",2573 desc:2574 " to work with the purpose of fulfilling a requirement or being**newline**equal to others**newline**The idiom is often followed by the preposition with and a noun phrase. It is**newline**similar in meaning to keep up with from Lesson 17.",2575 example:2576 "**newline**o The student was absent from class so long that it took her a long time to**newline**catch up.**newline**o If you are not equal to others, first you have to catch up with them**newline**before you can keep up with them.",2577 Favorite: null2578 },2579 geometry: null2580 },2581 {2582 type: "Feature",2583 properties: {2584 name: "to hold still",2585 desc: " not to move (S)",2586 example:2587 "**newline**o Please hold still while I adjust your tie.**newline**o If you don't hold that camera still, you'll get a blurred picture.",2588 Favorite: null2589 },2590 geometry: null2591 },2592 {2593 type: "Feature",2594 properties: {2595 name: "to know by sight",2596 desc:2597 " to recognize (S)**newline**This idiom is used when the person has been seen previously but is not known**newline**personally. The person must be used to separate the idiom.",2598 example:2599 "**newline**o I have never met our new neighbors; I simply know them by sight.**newline**o The woman said that she would know the thief by sight if she ever saw**newline**him again.",2600 Favorite: null2601 },2602 geometry: null2603 },2604 {2605 type: "Feature",2606 properties: {2607 name: "to be the matter",2608 desc:2609 " to be unsatisfactory, to be improper, to be wrong**newline**In a question, this idiom is used with what or something. In an answer,**newline**something or nothing is usually used.",2610 example:2611 "**newline**o A: What is the matter, Betty? You look very upset.**newline**o B: Yes, something is the matter. I've lost my purse!**newline**o A: Is something the matter, Charles? You don't look well.**newline**o B: No, nothing is the matter. I'm just a little under the weather.",2612 Favorite: null2613 },2614 geometry: null2615 },2616 {2617 type: "Feature",2618 properties: {2619 name: "to bring up",2620 desc:2621 " to rear, to raise from childhood (S); to mention, to raise an issue,**newline**to introduce a topic (S)",2622 example:2623 "**newline**o Parents should bring up their children to be responsible members of**newline**society.**newline**o Sarah wanted to bring the scheduling problem up at the club meeting,**newline**but finally she decided against doing so.**newline**o One of the students brought up an interesting point related to the**newline**subject in our textbook.",2624 Favorite: null2625 },2626 geometry: null2627 },2628 {2629 type: "Feature",2630 properties: {2631 name: "to get lost",2632 desc:2633 " to become lost; to go away in order not to bother**newline**The second definition provides a very informal, even rude, meaning that**newline**should be used only with close friends. It is sometimes used in a joking**newline**manner.",2634 example:2635 "**newline**o While driving in Boston, we got lost and drove many miles in the wrong**newline**direction.**newline**o Todd kept bothering me while I was studying, so I told him to get lost.**newline**o Lisa joked that she wanted her sister to get lost forever.",2636 Favorite: null2637 },2638 geometry: null2639 },2640 {2641 type: "Feature",2642 properties: {2643 name: "to hold up",2644 desc: " to delay, to make late (S); to remain high in quality",2645 example:2646 "**newline**o A big accident held up traffic on the highway for several hours.**newline**o Deidre is amazed at how well her car has held up over the years.",2647 Favorite: null2648 },2649 geometry: null2650 },2651 {2652 type: "Feature",2653 properties: {2654 name: "to run away",2655 desc: " to leave without permission; to escape",2656 example:2657 "**newline**o The young couple ran away and got married because their parents**newline**wouldn't permit it.**newline**o That cat is just like a criminal --- it runs away from anyone who tries to**newline**come near!",2658 Favorite: null2659 },2660 geometry: null2661 },2662 {2663 type: "Feature",2664 properties: {2665 name: "to rule out",2666 desc: " to refuse to consider, to prohibit (S)",2667 example:2668 "**newline**o Heather ruled out applying to college in Texas because she would**newline**rather go to school in Canada.**newline**o I'd like to watch a good movie on TV tonight, but a ton of homework**newline**rules that out.",2669 Favorite: null2670 },2671 geometry: null2672 },2673 {2674 type: "Feature",2675 properties: {2676 name: "by far",2677 desc: " by a great margin, clearly",2678 example:2679 "**newline**o Jacquie is by far the most intelligent student in our class.**newline**o This is by far the hottest, most humid summer we've had in years.",2680 Favorite: null2681 },2682 geometry: null2683 },2684 {2685 type: "Feature",2686 properties: {2687 name: "to see off",2688 desc:2689 " to say good-bye upon departure by train, airplane, bus, etc. (also:**newline**to send off) (S)**newline**A noun or pronoun must divide the idiom.",2690 example:2691 "**newline**o We are going to the airport to see Peter off on his trip to Europe.**newline**o When I left for Cincinnati on a business trip, no one came to the train**newline**station to send me off.",2692 Favorite: null2693 },2694 geometry: null2695 },2696 {2697 type: "Feature",2698 properties: {2699 name: "to see out",2700 desc:2701 " to accompany a person out of a house, building, etc. (S)**newline**A noun or pronoun must again divide the idiom.",2702 example:2703 "**newline**o The Johnsons were certain to see their guests out as each one left the**newline**party.**newline**o Would you please see me out to the car? It's very dark outside.]",2704 Favorite: null2705 },2706 geometry: null2707 },2708 {2709 type: "Feature",2710 properties: {2711 name: "no wonder",2712 desc:2713 " it's no surprise that, not surprisingly**newline**This idiom derives form reducing it is no wonder that�",2714 example:2715 "**newline**o No wonder the portable heater doesn't work. It's not plugged into the**newline**electrical outlet!**newline**o Jack has been out of town for several weeks. No wonder we haven't**newline**seen him recently.",2716 Favorite: null2717 },2718 geometry: null2719 },2720 {2721 type: "Feature",2722 properties: {2723 name: "to go up",2724 desc:2725 " to increase (also: to drive up); to be constructed, to be erected**newline**The second definition is the same as the one for to put up in Lesson 19, except**newline**that go up is not used with a noun object.",2726 example:2727 "**newline**o Economists are predicting that consumer prices are going up. Inflation**newline**always has a tendency to drive up the cost of products.**newline**o A new office is going up in the downtown area. A major construction**newline**company is putting it up.",2728 Favorite: null2729 },2730 geometry: null2731 },2732 {2733 type: "Feature",2734 properties: {2735 name: "to go up to",2736 desc:2737 " to approach (also: to come up to, to walk up to, to run up to,**newline**to drive up to, etc.)**newline**The related forms have the same meaning, but the type of movement is**newline**different.",2738 example:2739 "**newline**o After the lecture, several people in the audience went up to the speaker**newline**to congratulate her.**newline**o The little girl came up to me and shook my hand as if she had known**newline**me for years.**newline**o Bill's friend didn't want to admit that they had gotten lost, but finally he**newline**agreed to drive up to a gas station and inquire about the correct route.",2740 Favorite: null2741 },2742 geometry: null2743 },2744 {2745 type: "Feature",2746 properties: {2747 name: "to hand in",2748 desc: " to submit or deliver something that is due (S)",2749 example:2750 "**newline**o Every student has to hand in an original composition each week of the**newline**semester.**newline**o All the salepeople hand their weekly reports in on Friday.",2751 Favorite: null2752 },2753 geometry: null2754 },2755 {2756 type: "Feature",2757 properties: {2758 name: "in case",2759 desc:2760 ' in order to be prepared if**newline**When the idiom occurs at the end of the sentence (the second example), then**newline**the meaning is in order to be prepared if something happens. The**newline**"something" might be an accident, a delay, etc.',2761 example:2762 "**newline**o You'd better close the windows in case it rains.**newline**o We should be sure to leave for the airport early, just in case.**newline**o Cynthia, take one of your books in case you have some time to read on**newline**our trip.",2763 Favorite: null2764 },2765 geometry: null2766 },2767 {2768 type: "Feature",2769 properties: {2770 name: "to take apart",2771 desc:2772 " to disassemble, to separate the parts of something (S)**newline**A noun or pronoun usually divides this idiom.",2773 example:2774 "**newline**o It is much easier to take a watch apart than it is to assemble it.**newline**o The engine had a serious problem, so the mechanic had to take it apart**newline**completely in order to fix it.",2775 Favorite: null2776 },2777 geometry: null2778 },2779 {2780 type: "Feature",2781 properties: {2782 name: "to put together",2783 desc:2784 " to assemble (S)**newline**A noun or pronoun usually divides this idiom. The preposition back is used**newline**when something has been disassembled and then is being reassembled, as in**newline**the second example.",2785 example:2786 "**newline**o Todd followed the directions on the box but he couldn't manage to put**newline**the bicycle together properly.**newline**o After the teenager took the broken video game apart and fixed it, he**newline**was unable to put it back together again.",2787 Favorite: null2788 },2789 geometry: null2790 },2791 {2792 type: "Feature",2793 properties: {2794 name: "to be better off",2795 desc:2796 " to be in a more favorable condition or situation**newline**The opposite of this idiom is to be worse off.",2797 example:2798 "**newline**o Jim would be better off staying at home because of his cold.**newline**o You'd be much better off working in an office than in a factory.**newline**o The economies of some nations are worse off than they were several**newline**decades ago.",2799 Favorite: null2800 },2801 geometry: null2802 },2803 {2804 type: "Feature",2805 properties: {2806 name: "to be well-off",2807 desc:2808 " to have enough money to enjoy a comfortable life, to be rich**newline**(also: to be well-to-do)",2809 example:2810 "**newline**o They live in the best section of town in a large home; they are very welloff.**newline**o By the time I reach the age of fifty-five, I hope to be well-to-do and to**newline**travel frequently.",2811 Favorite: null2812 },2813 geometry: null2814 },2815 {2816 type: "Feature",2817 properties: {2818 name: "to take by surprise",2819 desc:2820 " to surprise, to amaze, to astonish (S)**newline**A noun or pronoun usually divides this idiom.",2821 example:2822 "**newline**o The offer of a high-paying position with another company took me by**newline**surprise.**newline**o The president's announcement that the university was in financial**newline**trouble didn't take anyone by surprise.",2823 Favorite: null2824 },2825 geometry: null2826 },2827 {2828 type: "Feature",2829 properties: {2830 name: "to keep in touch with",2831 desc:2832 " to maintain contact with (also: to stay in touch**newline**with)**newline**This idiom should be compared with to get in touch with in Lesson 9.",2833 example:2834 "**newline**o You can telephone me every few days, and in that way we can keep in**newline**touch with each other.**newline**o He promised to stay in touch with us while he was abroad. However, we**newline**were very disappointed that he never did get in touch with us.",2835 Favorite: null2836 },2837 geometry: null2838 },2839 {2840 type: "Feature",2841 properties: {2842 name: "to name after",2843 desc: " to give the same name as another (S)",2844 example:2845 "**newline**o Helen's parents named Helen after her grandmother.**newline**o My grandson is named after Calvin Coolidge, the 30th President of the**newline**United States.",2846 Favorite: null2847 },2848 geometry: null2849 },2850 {2851 type: "Feature",2852 properties: {2853 name: "to hold on",2854 desc:2855 " to grasp tightly or firmly; to wait, to be patient**newline**The second definition is often used when someone is talking on the telephone.",2856 example:2857 "**newline**o The little girl held on to her mother's hand and refused to let go as they**newline**walked through the large crowd of people.**newline**o (on the telephone) Could you please hold on a moment while I get a**newline**pencil and paper?**newline**o Come on, Mike, hold on. I can't get ready so quickly.",2858 Favorite: null2859 },2860 geometry: null2861 },2862 {2863 type: "Feature",2864 properties: {2865 name: "to stop by",2866 desc: " to visit or stop somewhere briefly in order to do something",2867 example:2868 "**newline**o James had to stop by the registrar's office to submit a transcript**newline**request form.**newline**o Let's stop by the supermarket and pick up a few grocery items.",2869 Favorite: null2870 },2871 geometry: null2872 },2873 {2874 type: "Feature",2875 properties: {2876 name: "to drop (someone) a line",2877 desc: " to write a note to someone (S)",2878 example:2879 "**newline**o As soon as I get to Florida, I'll drop you a line and tell you about my**newline**new job.**newline**o If you have time, drop me a line now and then while you're traveling.",2880 Favorite: null2881 },2882 geometry: null2883 },2884 {2885 type: "Feature",2886 properties: {2887 name: "to come across",2888 desc:2889 " to meet or find unexpectedly (also: to run across); to be**newline**perceived or judged as (also: to come off)",2890 example:2891 "**newline**o While Cheryl was cleaning the attic, she came across some very old**newline**coins. It took her by surprise to run across something like that.**newline**o Jeff's boss comes across as a tough, unpleasant person, but actually Jeff**newline**says that he is a good employer.**newline**o Some people come off quite differently than they really are.",2892 Favorite: null2893 },2894 geometry: null2895 },2896 {2897 type: "Feature",2898 properties: {2899 name: "to stand for",2900 desc:2901 " to represent, to signify; to tolerate**newline**The second definition is usually used in a negative sense. The meaning is the**newline**same as to put up with in Lesson 19.",2902 example:2903 "**newline**o On the American flag, each start stands for one of the fifty states, and**newline**each stripe stands for one of the original thirteen colonies of the 1800s.**newline**o The citizens wouldn't stand for the increase in crime in their city, so**newline**they hired more police officers and built another jail.",2904 Favorite: null2905 },2906 geometry: null2907 },2908 {2909 type: "Feature",2910 properties: {2911 name: "to stand a chance",2912 desc:2913 " to have the possibility of accomplishing something**newline**This idiom is often used with an adjective such as good or excellent. It also**newline**occurs in the negative, sometimes with the adjective much.",2914 example:2915 "**newline**o The New York baseball team stands a good chance of winning the**newline**World Series this year.**newline**o Because John doesn't have any previous work experience, he doesn't**newline**stand a chance of getting that job.**newline**o The woman injured in the serious train accident doesn't stand much**newline**chance of surviving.",2916 Favorite: null2917 },2918 geometry: null2919 },2920 {2921 type: "Feature",2922 properties: {2923 name: "to take pains",2924 desc: " to work carefully and conscientiously",2925 example:2926 "**newline**o She takes pains to do everything well; she's our best employee.**newline**o He took great pains with his last assignment because he needed to get**newline**an excellent grade to pass the class.",2927 Favorite: null2928 },2929 geometry: null2930 },2931 {2932 type: "Feature",2933 properties: {2934 name: "to look on",2935 desc: " to watch as a spectator, to observe",2936 example:2937 "**newline**o Hundreds of people were looking on as the police and firefighters**newline**rescued the passengers in the wrecked train.**newline**o I stayed with my son at his first soccer practice and looked on as the**newline**coach worked with the boys.",2938 Favorite: null2939 },2940 geometry: null2941 },2942 {2943 type: "Feature",2944 properties: {2945 name: "to look up to",2946 desc: " to admire, to respect greatly",2947 example:2948 "**newline**o Children will most certainly look up to their parents if the children are**newline**brought up well.**newline**o Everyone looks up to the director of our department because he is a**newline**kind and generous person.",2949 Favorite: null2950 },2951 geometry: null2952 },2953 {2954 type: "Feature",2955 properties: {2956 name: "to look down on",2957 desc: " to feel superior to, to think of someone as less important",2958 example:2959 "**newline**o People who are in positions of power should be careful not to look**newline**down on those who work for them.**newline**o Why does Alma look down on Mario just because his family is so poor?",2960 Favorite: null2961 },2962 geometry: null2963 },2964 {2965 type: "Feature",2966 properties: {2967 name: "to take off",2968 desc:2969 " to leave the ground (for airplanes); to leave, often in a hurry**newline**The noun form takeoff derives from this idiom.",2970 example:2971 "**newline**o The plane took off over an hour late. The passengers had to buckle their**newline**seatbelts during takeoff.**newline**o Do you have to take off already? You just arrive an hour ago!",2972 Favorite: null2973 },2974 geometry: null2975 },2976 {2977 type: "Feature",2978 properties: {2979 name: "to pull off",2980 desc:2981 " to succeed in doing something difficult (S); to exit to the side of a**newline**highway",2982 example:2983 "**newline**o The group of investors pulled off a big deal by buying half the stock in**newline**that company. I wonder how they pulled it off before the company**newline**could prevent it.**newline**o The motorist pulled off when the police officer turned on the red lights**newline**and the siren.",2984 Favorite: null2985 },2986 geometry: null2987 },2988 {2989 type: "Feature",2990 properties: {2991 name: "to keep time",2992 desc:2993 " to operate accurately (for watches and clocks)**newline**This idiom is usually used with adjectives such as good and perfect.",2994 example:2995 "**newline**o Although this is a cheap watch, it keeps good time.**newline**o The old clock keeps perfect time; it's never fast or slow.",2996 Favorite: null2997 },2998 geometry: null2999 },3000 {3001 type: "Feature",3002 properties: {3003 name: "to make do",3004 desc:3005 " to manage, to cope**newline**This idiom is used when a person must accept a substitute that is not the most**newline**suitable.",3006 example:3007 "**newline**o Pearl doesn't have a clean blouse so she has to make do with the one**newline**she wore yesterday.**newline**o During difficult economic times, many people have to make do with**newline**less.",3008 Favorite: null3009 },3010 geometry: null3011 },3012 {3013 type: "Feature",3014 properties: {3015 name: "to give birth to",3016 desc: " to bear a human being or animal",3017 example:3018 "**newline**o Jane's mother has just given birth to twin girls.**newline**o The zoo's Siberian tiger just gave birth to a baby cub.",3019 Favorite: null3020 },3021 geometry: null3022 },3023 {3024 type: "Feature",3025 properties: {3026 name: "close call",3027 desc:3028 " a situation involving a narrow escape from danger (also: close**newline**shave)",3029 example:3030 "**newline**o Bob, that car nearly hit us! What a close call.**newline**o We had a close call when a small fire in our kitchen almost spread to**newline**the rest of the house.",3031 Favorite: null3032 },3033 geometry: null3034 },3035 {3036 type: "Feature",3037 properties: {3038 name: "to get on one's nerves",3039 desc: " to annoy or disturb (also: to bug)",3040 example:3041 "**newline**o Laura loves to talk to anyone. Sometimes her chatter really gets on my**newline**nerves.**newline**o Jack asked his neighbor to turn down the stereo because it was bugging**newline**him and he couldn't concentrate.",3042 Favorite: null3043 },3044 geometry: null3045 },3046 {3047 type: "Feature",3048 properties: {3049 name: "to put down",3050 desc: " to suppress, to quell (S); to criticize unfairly (S)",3051 example:3052 "**newline**o The police arrived just in time to put down the disturbance before it got**newline**very serious.**newline**o Fred tries his best at playing tennis. You shouldn't put him down like**newline**that.",3053 Favorite: null3054 },3055 geometry: null3056 },3057 {3058 type: "Feature",3059 properties: {3060 name: "to go for",3061 desc: " to be sold at a certain price; to seek or strive for",3062 example:3063 "**newline**o This dress probably goes for about $50, don't you think?**newline**o Peter was going for first place in the swim meet, but he wasn't able to**newline**do better than third place.",3064 Favorite: null3065 },3066 geometry: null3067 },3068 {3069 type: "Feature",3070 properties: {3071 name: "to go in for",3072 desc:3073 " to have as an interest, such as a sport or hobby (also: to go for,**newline**to be into, to get into)",3074 example:3075 "**newline**o Hal goes in for tennis while his wife goes for painting and sculpture.**newline**o What sports are you into? I don't have any time to get into sports.",3076 Favorite: null3077 },3078 geometry: null3079 },3080 {3081 type: "Feature",3082 properties: {3083 name: "to stay up",3084 desc: " to remain awake, not to go to bed",3085 example:3086 "**newline**o I want to stay up tonight and watch a late movie on TV.**newline**o He stays up every night until after one o'clock, preparing his homework.",3087 Favorite: null3088 },3089 geometry: null3090 },3091 {3092 type: "Feature",3093 properties: {3094 name: "to stay in",3095 desc:3096 " to remain at home, not to go out**newline**An idiom with the opposite meaning is to stay out.",3097 example:3098 "**newline**o On a rainy day, I like to stay in and read.**newline**o Young people are able to stay out late at night and get very little sleep.",3099 Favorite: null3100 },3101 geometry: null3102 },3103 {3104 type: "Feature",3105 properties: {3106 name: "to take over",3107 desc:3108 " to assume control or responsibility for (S); to do or perform**newline**again (S)**newline**The meaning of the second definition is almost the same as do over in Lesson**newline**11. also for the second definition, a noun or pronoun must divide the idiom.",3109 example:3110 "**newline**o That large investment company specializes in taking over smaller**newline**businesses that are in financial trouble.**newline**o Most students didn't do well on the important test, so the instructor let**newline**them take it over.**newline**o Little Mickey didn't have much chance to hit the baseball during**newline**practice, so the coach let him take his turn over.",3111 Favorite: null3112 },3113 geometry: null3114 },3115 {3116 type: "Feature",3117 properties: {3118 name: "to show up",3119 desc:3120 " to appear, to arrive; to be found or located (also for the second**newline**definition: to turn up)",3121 example:3122 "**newline**o It really gets on my nerves that Ursula shows up late for every meeting.**newline**o Willie hopes that the watch he lost last Sunday shows up soon.**newline**o We've looked everywhere for that book, but it hasn't turned up yet.",3123 Favorite: null3124 },3125 geometry: null3126 },3127 {3128 type: "Feature",3129 properties: {3130 name: "to clean out",3131 desc:3132 " to empty, to tidy by removing (S); to steal, to rob (S); to buy or**newline**purchase all of something (S)",3133 example:3134 "**newline**o It's time for you to clean out your closet so that you can store more**newline**things in there.**newline**o A burglar entered my apartment while I was gone and cleaned me out.**newline**He took over $200 in cash and jewelry.**newline**o Thousands of shoppers cleaned out the store that had gone bankrupt**newline**and was selling all its remaining products at very reduced prices",3135 Favorite: null3136 },3137 geometry: null3138 },3139 {3140 type: "Feature",3141 properties: {3142 name: "to knock out",3143 desc:3144 " to make unconscious (S); to impress or attract greatly (S)**newline**This idiom can be made into the noun form knockout for both definitions.",3145 example:3146 "**newline**o The prizefighter knocked out his opponent with one punch in the first**newline**five seconds of the first round. It was the fastest knockout in boxing**newline**history.**newline**o Linda's beautiful appearance and slender figure really knock me out.**newline**Isn't she a real knockout tonight?",3147 Favorite: null3148 },3149 geometry: null3150 },3151 {3152 type: "Feature",3153 properties: {3154 name: "to knock one self out",3155 desc:3156 " to work very hard (sometimes too hard) to do**newline**something**newline**A reflexive pronoun must divided the idiom.",3157 example:3158 "**newline**o She really knocked herself out trying to pass that difficult class.**newline**o Don't knock yourself out during practice. Save your strength for the**newline**competition later.",3159 Favorite: null3160 },3161 geometry: null3162 },3163 {3164 type: "Feature",3165 properties: {3166 name: "to carry out",3167 desc: " to accomplish, to execute (S) (also: to go through with)",3168 example:3169 "**newline**o It's easy to write down a plan for losing weight, but much harder to**newline**carry it out.**newline**o Charles promised to go through with his plan to enroll in graduate**newline**school and get an advanced degree.",3170 Favorite: null3171 },3172 geometry: null3173 },3174 {3175 type: "Feature",3176 properties: {3177 name: "to run into",3178 desc:3179 " to meet someone unexpectedly; to crash or collide into (also: to**newline**bump into)",3180 example:3181 "**newline**o It was a shock to run into an old friend from high school recently.**newline**o The drunk driver was slightly injured when he ran into a telephone**newline**pole.",3182 Favorite: null3183 },3184 geometry: null3185 },3186 {3187 type: "Feature",3188 properties: {3189 name: "to set out",3190 desc:3191 " to start traveling toward a place (also: to set off, to heat out); to**newline**arrange or display neatly (also: to lay out) (S)",3192 example:3193 "**newline**o We set out for the top of the mountain at dawn. Unfortunately, as we**newline**set off, it started to snow heavily, so we decided to head out again later.**newline**o The children tried to set out the dishes on the table, but their dad had**newline**to help to lay the dishes out properly.",3194 Favorite: null3195 },3196 geometry: null3197 },3198 {3199 type: "Feature",3200 properties: {3201 name: "to draw up",3202 desc:3203 " to create by drawing, such as a map (S); to prepare documents**newline**or legal papers (S)",3204 example:3205 "**newline**o Max asked me to draw up a map to the party so that he wouldn't get**newline**lost.**newline**o Our lawyer agreed to draw the contract up as soon as possible.",3206 Favorite: null3207 },3208 geometry: null3209 },3210 {3211 type: "Feature",3212 properties: {3213 name: "give and take",3214 desc: " compromise, cooperation between people",3215 example:3216 "**newline**o Give and take is an important element of a successful marriage.**newline**o Most business negotiations involve give and take between the parties**newline**involved.",3217 Favorite: null3218 },3219 geometry: null3220 },3221 {3222 type: "Feature",3223 properties: {3224 name: "to drop out of",3225 desc:3226 " to stop attending; to withdraw from**newline**This idiom can be made into the noun form dropout.",3227 example:3228 "**newline**o Some students drop out of secondary school early in order to get jobs.**newline**However, such dropouts often regret their decision later in life.**newline**o Two more baseball teams have dropped out of the youth league due to a**newline**lack of players.",3229 Favorite: null3230 },3231 geometry: null3232 },3233 {3234 type: "Feature",3235 properties: {3236 name: "to believe in",3237 desc: " to accept as true, have faith in",3238 example:3239 "**newline**o Some people believe in being honest in all human affairs, while others**newline**accept the need to lie in order to get one's way.**newline**o Throughout the history of man, some cultures have believed in one god**newline**while others have believed in the existence of many gods.",3240 Favorite: null3241 },3242 geometry: null3243 },3244 {3245 type: "Feature",3246 properties: {3247 name: "to cheer up",3248 desc: " to make happier, to feel less sad (S)",3249 example:3250 "**newline**o We all tried to cheer up the little boy when he stared to cry.**newline**o After the death of Deanne's husband, it was difficult to cheer her up at**newline**all.",3251 Favorite: null3252 },3253 geometry: null3254 },3255 {3256 type: "Feature",3257 properties: {3258 name: "to make sense",3259 desc: " to be sensible or reasonable",3260 example:3261 "**newline**o It makes sense to wait until a sunny day to visit the park together.**newline**o That Jimmy ran away from home suddenly doesn't make sense to any**newline**of us.",3262 Favorite: null3263 },3264 geometry: null3265 },3266 {3267 type: "Feature",3268 properties: {3269 name: "to burst out",3270 desc:3271 " to depart quickly (also: to storm out); to act suddenly**newline**For the second definition, this idiom is usually followed by a gerund form such**newline**as laughing, crying, singing, etc.",3272 example:3273 "**newline**o Faye and Debbie were so angry at each other that one of them burst out**newline**the front door of the house and the other stormed out the back door.**newline**o It was so funny to see a little baby in the audience burst out crying**newline**when the choir group burst out singing at the start of the recital.",3274 Favorite: null3275 },3276 geometry: null3277 },3278 {3279 type: "Feature",3280 properties: {3281 name: "to get away",3282 desc: " to get free, to escape",3283 example:3284 "**newline**o We always try to get away from the noise and heat of the city for a**newline**month or two each summer.**newline**o No one knows how the suspected criminal got away from the police.",3285 Favorite: null3286 },3287 geometry: null3288 },3289 {3290 type: "Feature",3291 properties: {3292 name: "to get away with",3293 desc: " to avoid punishment for",3294 example:3295 "**newline**o Jonathan tries to get away with coming late to work almost every day;**newline**someday he'll suffer the consequences.**newline**o Terence can't continue to put his friends down like that and expect to**newline**get away with it forever.",3296 Favorite: null3297 },3298 geometry: null3299 },3300 {3301 type: "Feature",3302 properties: {3303 name: "to serve (someone) right",3304 desc:3305 " to receive one's just punishment (S)**newline**This idiom is usually used at the beginning of a sentence after the subject it.**newline**Compare the following examples with those in the previous idiom above.",3306 example:3307 "**newline**o It serves Jonathan right to be fired from his job.**newline**o It serves Terence right that none of his friends are willing to help him**newline**move to a new apartment.",3308 Favorite: null3309 },3310 geometry: null3311 },3312 {3313 type: "Feature",3314 properties: {3315 name: "to keep up",3316 desc:3317 " to prevent from sleeping (S); to continue maintaining (speed,**newline**level of work, condition, etc.) (S)",3318 example:3319 "**newline**o Could you please turn down the TV volume? You're keeping up the**newline**children.**newline**o If we can keep up this speed, we should arrive there in about two hours.**newline**o James is so proud of his daughter for getting mostly A's in school. He's**newline**certain that she can keep up the good work.**newline**o The Federal Reserve Bank hopes to keep the value of the dollar up at**newline**least through the rest of the year.",3320 Favorite: null3321 },3322 geometry: null3323 },3324 {3325 type: "Feature",3326 properties: {3327 name: "to keep up with",3328 desc:3329 " to have current knowledge of; to understand as an**newline**explanation**newline**This idiom should be compared to the meaning of to keep up with in Lesson 17.",3330 example:3331 "**newline**o Evan keeps up with world affairs by reading a new magazine each week.**newline**o I understand a lot of the Spanish language, but I can't keep up with the**newline**fast conversation in this Mexican film.",3332 Favorite: null3333 },3334 geometry: null3335 },3336 {3337 type: "Feature",3338 properties: {3339 name: "to stand out",3340 desc:3341 " to be easily visible or noticeable (also: to stick out)**newline**This idiom is used for someone or something that is different from all others.",3342 example:3343 "**newline**o Her bright red hair makes her stand out from others in the group.**newline**o Brandon Styles is a tall, distinguished gentleman who sticks out in any**newline**crowd.",3344 Favorite: null3345 },3346 geometry: null3347 },3348 {3349 type: "Feature",3350 properties: {3351 name: "to let on",3352 desc: " to reveal or tell what you know, to hint",3353 example:3354 "**newline**o We are going to the movies tonight and we don't want Doris to go. If**newline**you see her, make sure not to let on.**newline**o They asked me not to let on to Ted that we're planning the birthday**newline**party; it's supposed to be a big surprise.",3355 Favorite: null3356 },3357 geometry: null3358 },3359 {3360 type: "Feature",3361 properties: {3362 name: "to go wrong",3363 desc: " to fail, to result badly",3364 example:3365 "**newline**o Something went wrong with the engine, so we had to have the car**newline**towed to a garage.**newline**o Shawn should have been here over an hour ago; I'm certain that**newline**something went wrong.",3366 Favorite: null3367 },3368 geometry: null3369 },3370 {3371 type: "Feature",3372 properties: {3373 name: "to meet (someone) halfway",3374 desc: " to compromise with someone",3375 example:3376 "**newline**o Steve wanted $4,500 for his car, and Gwen offered $4,000. They met**newline**each other halfway and agreed on $4,250.**newline**o After a long process of give and take, the owners of the company agreed**newline**to meet the workers halfway by providing some additional health**newline**benefits but no wage increase.",3377 Favorite: null3378 },3379 geometry: null3380 },3381 {3382 type: "Feature",3383 properties: {3384 name: "to check up on",3385 desc:3386 " to examine with the purpose of determining condition (also:**newline**to check on)**newline**This idiom has the related noun form checkup.",3387 example:3388 "**newline**o The government always checks up on the background of employees who**newline**are hired for sensitive military projects.**newline**o The doctor wants me to have a thorough medical checkup as part of a**newline**preventive medicine program.",3389 Favorite: null3390 },3391 geometry: null3392 },3393 {3394 type: "Feature",3395 properties: {3396 name: "to stick up",3397 desc: " to point or place upwards (S); to rob (S)",3398 example:3399 "**newline**o You should put some water on your hair. It's sticking up in the back.**newline**o A masked thief stuck up a grocery store in the neighborhood last night.",3400 Favorite: null3401 },3402 geometry: null3403 },3404 {3405 type: "Feature",3406 properties: {3407 name: "to come about",3408 desc: " to happen",3409 example:3410 "**newline**o I didn't find any explanation in the newspaper about how the political**newline**coup came about.**newline**o The flood came about as a result of the heavy winter rains.",3411 Favorite: null3412 },3413 geometry: null3414 },3415 {3416 type: "Feature",3417 properties: {3418 name: "to bring about",3419 desc:3420 " to cause to happen**newline**This idiom is used to indicate who or what caused something to come about.",3421 example:3422 "**newline**o John brought about the accident because of his carelessness.**newline**o The heavy rains we have each spring bring about serious flooding.",3423 Favorite: null3424 },3425 geometry: null3426 },3427 {3428 type: "Feature",3429 properties: {3430 name: "to build up",3431 desc: " to increase slowly, to make stronger gradually (S)",3432 example:3433 "**newline**o They built up their savings account so that they could buy a new house.**newline**o The professional athlete exercises regularly to build her strength up.",3434 Favorite: null3435 },3436 geometry: null3437 },3438 {3439 type: "Feature",3440 properties: {3441 name: "to die down",3442 desc: " to decrease, to lessen in strength",3443 example:3444 "**newline**o The hurricane became a less serious tropical storm when its winds died**newline**down.**newline**o We let the fire in the fireplace die down and enjoyed watching the**newline**embers as they glowed in the dark.",3445 Favorite: null3446 },3447 geometry: null3448 },3449 {3450 type: "Feature",3451 properties: {3452 name: "to fade away",3453 desc: " to diminish gradually in time or distance",3454 example:3455 "**newline**o The memory of that unpleasant experience has slowly faded away.**newline**o The music of the band gradually faded away as the parade passed**newline**down the street.",3456 Favorite: null3457 },3458 geometry: null3459 },3460 {3461 type: "Feature",3462 properties: {3463 name: "to die out",3464 desc: " not to exist anymore; to be in the process of disappearing",3465 example:3466 "**newline**o Scientists still are not sure exactly why the dinosaurs died out.**newline**o That strange, new style of dancing is slowly dying out.",3467 Favorite: null3468 },3469 geometry: null3470 },3471 {3472 type: "Feature",3473 properties: {3474 name: "to make out",3475 desc:3476 " to read or see clearly (S); to prepare a legal document, such as**newline**a will, a check, etc. (S)",3477 example:3478 "**newline**o The letter was so poorly handwritten that I couldn't make out many of**newline**the words.**newline**o Harold, please make the check out to Acme Piano Company.",3479 Favorite: null3480 },3481 geometry: null3482 },3483 {3484 type: "Feature",3485 properties: {3486 name: "to live up to",3487 desc: " to fulfill (a standard or promise)",3488 example:3489 "**newline**o It was clear that the lazy student would never live up to his family's**newline**expectations.**newline**o It surprised us that the car salesperson lived up to all the promises he**newline**made.",3490 Favorite: null3491 },3492 geometry: null3493 },3494 {3495 type: "Feature",3496 properties: {3497 name: "to stick to",3498 desc:3499 " to adhere to (a promise), to follow or obey (a set of rules,**newline**procedures, etc.)",3500 example:3501 "**newline**o He made a promise to his wife to quit smoking and drinking, and so far**newline**he has stuck to it.**newline**o All organizations expect their employees to stick to established work**newline**rules and procedures.**newline**o If you try hard to stick to your principles, then you'll be able to live up**newline**to them.",3502 Favorite: null3503 },3504 geometry: null3505 },3506 {3507 type: "Feature",3508 properties: {3509 name: "to stick it to",3510 desc:3511 " to cheat, to take unfair advantage of (also: to rip off, the**newline**ripoff)",3512 example:3513 "**newline**o Be careful in doing business with that salesperson. He'll stick it to you**newline**at the first opportunity.**newline**o The car dealership certainly ripped me off when I bought this car. It**newline**has caused me trouble constantly.**newline**o You paid over $400 for that jacket? What a ripoff!",3514 Favorite: null3515 },3516 geometry: null3517 },3518 {3519 type: "Feature",3520 properties: {3521 name: "to stand up for",3522 desc: " to insist on, to demand; to defend, to support",3523 example:3524 "**newline**o If you don't stand up for your rights in court, the lawyers will try to**newline**stick it to you.**newline**o Frank stood up for his friend, who was being put down by other**newline**teenagers nearby.",3525 Favorite: null3526 },3527 geometry: null3528 },3529 {3530 type: "Feature",3531 properties: {3532 name: "to cut corners",3533 desc: " to economize, to save money",3534 example:3535 "**newline**o Most students live on limited budgets and have to cut corners**newline**whenever possible.**newline**o The Livingstons have nine children, so it is essential that they cut**newline**corners at all times.",3536 Favorite: null3537 },3538 geometry: null3539 },3540 {3541 type: "Feature",3542 properties: {3543 name: "to take on",3544 desc:3545 " to employ, to hire (S); to accept responsibility for, to undertake",3546 example:3547 "**newline**o That factory is taking a lot of new employees on for its new production**newline**line.**newline**o Would you be willing to take on the task of organizing the next**newline**company picnic?",3548 Favorite: null3549 },3550 geometry: null3551 },3552 {3553 type: "Feature",3554 properties: {3555 name: "to take down",3556 desc:3557 " to remove from an elevated place (S); to write what is said, to**newline**note",3558 example:3559 "**newline**o We should take the pictures down from the wall and clean off the dust.**newline**o The secretary took down everything that was said at the meeting.",3560 Favorite: null3561 },3562 geometry: null3563 },3564 {3565 type: "Feature",3566 properties: {3567 name: "to fall through",3568 desc:3569 " to fail to materialize, not to succeed**newline**This idiom is usually used with the noun plan or plans as the subject.",3570 example:3571 "**newline**o Our plan to travel to Europe last summer fell through when we were**newline**unable to save up enough money.**newline**o Felix made plans to have a party for everyone in his office, but they fell**newline**through at the last moment.",3572 Favorite: null3573 },3574 geometry: null3575 },3576 {3577 type: "Feature",3578 properties: {3579 name: "to give in",3580 desc: " to surrender, to stop resisting",3581 example:3582 "**newline**o Completely surrounded by our soldiers, the enemy finally gave in.**newline**o Management gave in to the strikers' demands and agreed to a**newline**shortened work week.",3583 Favorite: null3584 },3585 geometry: null3586 },3587 {3588 type: "Feature",3589 properties: {3590 name: "to give off",3591 desc: " to release, to produce, to release",3592 example:3593 "**newline**o When water boils, it gives off stream.**newline**o The flowers in this garden give off a strange odor.",3594 Favorite: null3595 },3596 geometry: null3597 },3598 {3599 type: "Feature",3600 properties: {3601 name: "to give out",3602 desc:3603 " to distribute; to become exhausted or depleted (also: to run out)**newline**The first definition has the same meaning as the second definition of to pass**newline**out in Lesson 19.",3604 example:3605 "**newline**o An usher stood at the door of the theater giving out programs.**newline**o I couldn't finish the ten-mile race because my energy gave out.**newline**o Jeff plans to stay in Las Vegas and gamble until his money runs out.",3606 Favorite: null3607 },3608 geometry: null3609 },3610 {3611 type: "Feature",3612 properties: {3613 name: "to have it in for",3614 desc:3615 " to want revenge on, to feel hostile towards (also: to hold a**newline**grudge against)",3616 example:3617 "**newline**o Martina expects to lose her job because her boss has had it in for her**newline**for a long time.**newline**o The teacher has held a grudge against Al ever since the time that he**newline**insulted her in front of the class.",3618 Favorite: null3619 },3620 geometry: null3621 },3622 {3623 type: "Feature",3624 properties: {3625 name: "to have it out with",3626 desc: " to quarrel with, to confront",3627 example:3628 "**newline**o I am going to have it out with Jack about all the times that he has told**newline**us lies.**newline**o Ben had it out with his roommate about coming back home so late and**newline**making a lot of noise.",3629 Favorite: null3630 },3631 geometry: null3632 },3633 {3634 type: "Feature",3635 properties: {3636 name: "to hold off",3637 desc:3638 " to delay, or to be delayed, in occurring (S)**newline**This idiom has the same meaning as to put off in Lesson 5 when a noun or**newline**pronoun is used as an object, as in the second example.",3639 example:3640 "**newline**o If the rain holds off for a few more days, they can finish planting the**newline**rest of the crop.**newline**o The judge agreed to hold off making a decision until new evidence**newline**could be introduced into court.",3641 Favorite: null3642 },3643 geometry: null3644 },3645 {3646 type: "Feature",3647 properties: {3648 name: "to hold out",3649 desc:3650 " to endure, to be sufficient; to survive by resisting; to persist in**newline**one's efforts**newline**The first definition for to hold out has the opposite meaning of the second**newline**definition for to give out (seventh idiom, this lesson).",3651 example:3652 "**newline**o If our supply of food and water holds out, we plan to camp here for**newline**another week. However, whenever it gives out, we'll have to leave.**newline**o That nation's troops cannot hold out much longer against the superior**newline**forces of the enemy.**newline**o The valuable football player held out for more money before signing a**newline**new contract with his team.",3653 Favorite: null3654 },3655 geometry: null3656 },3657 {3658 type: "Feature",3659 properties: {3660 name: "to hold over",3661 desc: " to extend, to keep for a longer time (S)",3662 example:3663 "**newline**o They are going to hold over that movie for another week because so**newline**many people are coming to see it.**newline**o Let's hold discussion of this problem over until our next meeting.",3664 Favorite: null3665 },3666 geometry: null3667 },3668 {3669 type: "Feature",3670 properties: {3671 name: "to let up",3672 desc:3673 " to slacken, to lessen in intensity; to relax or ease one's effort (also:**newline**related idiom: to take it easy)",3674 example:3675 "**newline**o If the rain doesn't let up soon, we won't be able to have our picnic.**newline**o When Jane is working, she never lets up for a moment.**newline**o Jane should take it easy or she'll get exhausted.",3676 Favorite: null3677 },3678 geometry: null3679 },3680 {3681 type: "Feature",3682 properties: {3683 name: "to lay off",3684 desc:3685 " to abstain from, stop using as a habit; to release or discharge from**newline**a job (also: related idiom: to let go) (S)",3686 example:3687 "**newline**o If you're trying to lose weight, you should lay off sweet things.**newline**o If business continues to be slow, we will have to lay off some workers.**newline**o It will be necessary to let the youngest employees go first.",3688 Favorite: null3689 },3690 geometry: null3691 },3692 {3693 type: "Feature",3694 properties: {3695 name: "to bring out",3696 desc:3697 " to show or introduce (to the public) (S); to make available (S)",3698 example:3699 "**newline**o Most automobile companies bring out new models each year.**newline**o My mother brought some snacks out for my friends and me to have.",3700 Favorite: null3701 },3702 geometry: null3703 },3704 {3705 type: "Feature",3706 properties: {3707 name: "to bring back",3708 desc:3709 " to return a bought or borrowed item (also: to take back) (S)**newline**To bring back is used when you are speaking at the place that speaking at**newline**another place.",3710 example:3711 "**newline**o Ma'am, our store policy is that you can bring back the dress as long as**newline**you have your sales receipt.**newline**o You can borrow my car if you promise to bring it back by six o'clock.**newline**o I have to take this book back to the library today.",3712 Favorite: null3713 },3714 geometry: null3715 },3716 {3717 type: "Feature",3718 properties: {3719 name: "to wait up for",3720 desc: " to wait until late at night without going to bed",3721 example:3722 "**newline**o Don't wait up for me. I may be back after midnight.**newline**o We waited up for our son until two o'clock in the morning before we**newline**called the police.",3723 Favorite: null3724 },3725 geometry: null3726 },3727 {3728 type: "Feature",3729 properties: {3730 name: "to leave (someone or something) alone",3731 desc:3732 " not to disturb, to stay away**newline**from (S) (also: to let alone)",3733 example:3734 "**newline**o Leave the baby alone for a while and she may go to sleep.**newline**o After the cat had scratched Peter twice, he let it alone.",3735 Favorite: null3736 },3737 geometry: null3738 },3739 {3740 type: "Feature",3741 properties: {3742 name: "let along",3743 desc:3744 " and certainly not (also: not to mention, to say nothing of)**newline**Let alone is used after negative forms. The example that follows let alone is**newline**much less possible than the example that precedes let alone.",3745 example:3746 "**newline**o I'm too sick today to walk to the kitchen, let alone to go to the zoo with**newline**you.**newline**o He doesn't even speak his own language well, let alone French.",3747 Favorite: null3748 },3749 geometry: null3750 },3751 {3752 type: "Feature",3753 properties: {3754 name: "to break off",3755 desc: " to terminate, to discontinue (S)",3756 example:3757 "**newline**o After war began, the two countries broke off diplomatic relations.**newline**o Elsa and Bob were once engaged, but they have already broken it off.",3758 Favorite: null3759 },3760 geometry: null3761 },3762 {3763 type: "Feature",3764 properties: {3765 name: "to wear off",3766 desc: " to disappear gradually",3767 example:3768 "**newline**o My headache isn't serious. It will wear off after an hour or so.**newline**o The effect of the painkilling drug didn't wear off for several hours.",3769 Favorite: null3770 },3771 geometry: null3772 },3773 {3774 type: "Feature",3775 properties: {3776 name: "to wear down",3777 desc:3778 " to become worn gradually through use (also: to wear away,**newline**to wear through) (S)**newline**Compare with to wear out (to become useless from wear) in Lesson 8.",3779 example:3780 "**newline**o If you drag your feet while you walk, you'll wear down your shoes**newline**quickly.**newline**o The pounding of ocean waves against the coast gradually wears it away.**newline**o Johnny has worn through the seat of his pants.**newline**o Helga threw away that dress because she had worn it out.",3781 Favorite: null3782 },3783 geometry: null3784 },3785 {3786 type: "Feature",3787 properties: {3788 name: "on the whole",3789 desc: " in general, in most ways (also: by and large)",3790 example:3791 "**newline**o He is, on the whole, a good student.**newline**o By and large, I agree with your suggestions.",3792 Favorite: null3793 },3794 geometry: null3795 },3796 {3797 type: "Feature",3798 properties: {3799 name: "touch and go",3800 desc: " risky, uncertain until the end",3801 example:3802 "**newline**o The complicated medical operation was touch and go for several hours.**newline**o The outcome of the soccer final was touch and go for the entire match.",3803 Favorite: null3804 },3805 geometry: null3806 },3807 {3808 type: "Feature",3809 properties: {3810 name: "to work out",3811 desc: " to exercise; to develop, to devise (a plan) (S)",3812 example:3813 "**newline**o Jane works out at the fitness center every other morning before going**newline**to school.**newline**o The advertising department worked out a plan to increase company**newline**sales.**newline**o We couldn't come up with a good plan for solving the problem, but we**newline**agree to work it out at a later date.",3814 Favorite: null3815 },3816 geometry: null3817 },3818 {3819 type: "Feature",3820 properties: {3821 name: "to back up",3822 desc:3823 " to drive or go backwards (S); to defend, to support (S); to return**newline**to a previous thought",3824 example:3825 "**newline**o I couldn't back my car up because there was a bicycle in the driveway**newline**behind me.**newline**o Ursula asked her friends to back her up when she went to court to fight**newline**a ticket for an illegal lane change on the highway.**newline**o Wait a minute. Could you back up and say that again?",3826 Favorite: null3827 },3828 geometry: null3829 },3830 {3831 type: "Feature",3832 properties: {3833 name: "to back out",3834 desc:3835 " to drive a vehicle out of a parking space (S); to withdraw**newline**support, to fail to fulfill a promise or obligation",3836 example:3837 "**newline**o The parking lot attendant had to back another car out before he could**newline**get to mine.**newline**o We were all ready to sign the contracts when one of the parties to the**newline**agreement backed out.",3838 Favorite: null3839 },3840 geometry: null3841 },3842 {3843 type: "Feature",3844 properties: {3845 name: "to have one's heart set on",3846 desc: " to desire greatly, to be determined to",3847 example:3848 "**newline**o She has her heart set on taking a trip abroad. She's been thinking about**newline**it for months.**newline**o Todd has his heart set on going to medical school and becoming a**newline**doctor.",3849 Favorite: null3850 },3851 geometry: null3852 },3853 {3854 type: "Feature",3855 properties: {3856 name: "to buy up",3857 desc: " to buy the complete stock of (S)",3858 example:3859 "**newline**o Before the hurricane struck, residents bought up all the food and water**newline**in local stores.**newline**o The government plans to buy up all surplus grain in order to stabilize**newline**the price.",3860 Favorite: null3861 },3862 geometry: null3863 },3864 {3865 type: "Feature",3866 properties: {3867 name: "to buy out",3868 desc:3869 " to purchase a business or company (S); to purchase all of a**newline**person's chares or stock (S)**newline**This idiom is similar in meaning to take over in Lesson 23.",3870 example:3871 "**newline**o Larger companies often buy out smaller companies that are having**newline**financial difficulties.**newline**o Mr. Lee has been trying for come time to buy his partner out so that he**newline**can control the company by himself.",3872 Favorite: null3873 },3874 geometry: null3875 },3876 {3877 type: "Feature",3878 properties: {3879 name: "to sell out",3880 desc:3881 " to sell all items (S); to arrange for the sale of a company or**newline**business (S)",3882 example:3883 "**newline**o That store is closing its doors for good and is selling out everything this**newline**weekend.**newline**o If my new business enterprise is successful, I'll sell it out for a few**newline**million dollars.",3884 Favorite: null3885 },3886 geometry: null3887 },3888 {3889 type: "Feature",3890 properties: {3891 name: "to catch on",3892 desc:3893 " to become popular or widespread; to understand, to appreciate**newline**a joke**newline**This idiom is often used with the preposition to for the second definition.",3894 example:3895 "**newline**o Fashions of the past often catch on again among young people.**newline**o When the teacher speaks quickly like that, can you catch on easily?**newline**o His joke was very funny at the time, but when I told it to others later,**newline**nobody seemed to catch on. I had to tell the joke again before anyone**newline**could catch on to it.",3896 Favorite: null3897 },3898 geometry: null3899 },3900 {3901 type: "Feature",3902 properties: {3903 name: "to be cut out for",3904 desc:3905 " to have the necessary skills or talent for**newline**The idiom is most often used in the negative or in questions.",3906 example:3907 "**newline**o John is certainly not cut out for the work of a trial lawyer.**newline**o Are you certain that you are cut out for that kind of job.",3908 Favorite: null3909 },3910 geometry: null3911 },3912 {3913 type: "Feature",3914 properties: {3915 name: "to throw out",3916 desc:3917 " to discard (S); to remove by force (S); to refuse to consider, to**newline**reject (S)",3918 example:3919 "**newline**o Instead of throwing out our paper waste in the office, we should recycle**newline**it.**newline**o When a fight broke out between two people on the dance floor, the**newline**management threw them out.**newline**o The judge threw the case out because there was insufficient evidence to**newline**try the defendant successfully.",3920 Favorite: null3921 },3922 geometry: null3923 },3924 {3925 type: "Feature",3926 properties: {3927 name: "to throw up",3928 desc: " to erect or construct quickly (S); to vomit (S)",3929 example:3930 "**newline**o The Red Cross threw up temporary shelters for the homeless victims of**newline**the earthquake.**newline**o The ill patient is unable to digest her food properly, so she is throwing**newline**all of it up.",3931 Favorite: null3932 },3933 geometry: null3934 },3935 {3936 type: "Feature",3937 properties: {3938 name: "to clear up",3939 desc:3940 " to make understandable (also: to straighten out) (S); to**newline**become sunny",3941 example:3942 "**newline**o The teacher tried to clear up our confusion about the meaning of the**newline**difficult paragraph in the reading.**newline**o It's rather cloudy this morning. Do you think that it will clear up later?",3943 Favorite: null3944 },3945 geometry: null3946 },3947 {3948 type: "Feature",3949 properties: {3950 name: "to slow down",3951 desc:3952 " to go, or cause to go, more slowly (also: to slow up) (S)**newline**This idiom can be used both with and without an object.",3953 example:3954 "**newline**o The car was going so fast that the motorist couldn't slow it down**newline**enough to make the sharp curve.**newline**o You're eating too fast to digest your food well. Slow down!**newline**o Slow up a bit! You're talking so quickly that I can't catch on well.",3955 Favorite: null3956 },3957 geometry: null3958 },3959 {3960 type: "Feature",3961 properties: {3962 name: "to dry up",3963 desc: " to lose, or cause to lose, all moisture (S); to be depleted",3964 example:3965 "**newline**o Every summer the extreme heat in this valley dries the stream up.**newline**o All funds for the project dried up when the local government faced**newline**budget crisis.",3966 Favorite: null3967 },3968 geometry: null3969 },3970 {3971 type: "Feature",3972 properties: {3973 name: "to dry out",3974 desc:3975 " to lose, or cause to lose, moisture gradually (S); to stop drinking**newline**alcohol in excess (also: to sober up)",3976 example:3977 "**newline**o Martha hung the towel outside on the clothesline in order to dry it out.**newline**o Some people go to alcohol recovery centers in order to dry out.",3978 Favorite: null3979 },3980 geometry: null3981 },3982 {3983 type: "Feature",3984 properties: {3985 name: "to be up to (something)",3986 desc:3987 " to be doing something; to be planning or plotting**newline**something, scheming**newline**The first definition usually takes the form of a question.",3988 example:3989 "**newline**o Hi, Jake. I haven't seen you in a long time. What have you been up to?**newline**o Those boys hiding behind the building must be up to something bad.",3990 Favorite: null3991 },3992 geometry: null3993 },3994 {3995 type: "Feature",3996 properties: {3997 name: "to beat around the bush",3998 desc: " to avoid discussing directly, to evade the issue",3999 example:4000 "**newline**o Our boss beats around the bush so much that no one in the office**newline**knows exactly what he wants us to do.**newline**o Instead of beating around the bush, Melinda explained her objection in**newline**very clear terms.",4001 Favorite: null4002 },4003 geometry: null4004 },4005 {4006 type: "Feature",4007 properties: {4008 name: "to come to an end",4009 desc:4010 " to end, to stop**newline**This idiom is used with finally and never when some activity lasts too long.",4011 example:4012 "**newline**o The meeting finally came to an end at ten o'clock in the evening.**newline**o Even though my friend seemed to enjoy the movie, I thought that it**newline**would never come to an end.",4013 Favorite: null4014 },4015 geometry: null4016 },4017 {4018 type: "Feature",4019 properties: {4020 name: "to put an end to",4021 desc:4022 " to cause to end, to terminate in a definite manner (also: to**newline**do away with)",4023 example:4024 "**newline**o The dictatorial government put an end to organized opposition in the**newline**country by making it illegal to form a political party.**newline**o It may never be possible to do away with all forms of prejudice and**newline**discrimination in the world.",4025 Favorite: null4026 },4027 geometry: null4028 },4029 {4030 type: "Feature",4031 properties: {4032 name: "to get even with",4033 desc:4034 " to seek revenge, to retaliate**newline**This idiom is similar in meaning to to have it in for in Lesson 27.",4035 example:4036 "**newline**o Bill has had it in for his boss for a long time. He told me he's planning**newline**to get even with his boss by giving some company secrets to a**newline**competitor.**newline**o I want to get even with Steve for beating me so badly in tennis last time.**newline**The scores were 6-1 and 6-2.",4037 Favorite: null4038 },4039 geometry: null4040 },4041 {4042 type: "Feature",4043 properties: {4044 name: "to fool around",4045 desc:4046 " to waste time (also: to screw around); to joke, not to be**newline**serious",4047 example:4048 "**newline**o The teacher got angry because her students were fooling around and**newline**couldn't finish their work before the end of class.**newline**o Sometimes I wish that Pat would stop fooling around so much and talk**newline**about something more interesting to others.",4049 Favorite: null4050 },4051 geometry: null4052 },4053 {4054 type: "Feature",4055 properties: {4056 name: "to look out on",4057 desc: " to face, to overlook",4058 example:4059 "**newline**o We really enjoy our new apartment that looks out on a river.**newline**o Their rear window looks out on a lovely garden.",4060 Favorite: null4061 },4062 geometry: null4063 },4064 {4065 type: "Feature",4066 properties: {4067 name: "to stir up",4068 desc: " to cause anger (S); to create (trouble or difficulty) (S)",4069 example:4070 "**newline**o The senseless murder of a small child stirred up the whole**newline**neighborhood.**newline**o The boss is in a bad mood today so don't stir her up with any more**newline**customer complaints.",4071 Favorite: null4072 },4073 geometry: null4074 },4075 {4076 type: "Feature",4077 properties: {4078 name: "to take in",4079 desc:4080 " to visit in order to enjoy (S); to decrease the size of clothes (S); to**newline**deceive, to fool (S)",4081 example:4082 "**newline**o We decided to take in Toronto on our trip to Canada, and that is where**newline**we took in the most memorable outdoor stage play we have ever seen.**newline**o Lois lost so much weight that she had her skirts and slacks taken in by**newline**her tailor.**newline**o The fraudulent investment advisor took everyone in with his sincere**newline**manner and generous promises. Most investors lost all their money.",4083 Favorite: null4084 },4085 geometry: null4086 },4087 {4088 type: "Feature",4089 properties: {4090 name: "to go through",4091 desc:4092 " to undergo, to experience; to consume, to use (also: to use**newline**up)**newline**The first definition is used when someone is having some hardship or**newline**difficulty.",4093 example:4094 "**newline**o I can't believe what she went through to get that job. She had four**newline**interviews with the hiring committee in one week!**newline**o Frank said that they had gone through all the toilet paper in the house,**newline**but Steve couldn't believe that they had used it all up.",4095 Favorite: null4096 },4097 geometry: null4098 },4099 {4100 type: "Feature",4101 properties: {4102 name: "to go without saying",4103 desc:4104 " to be known without the need to mention**newline**This idiom occurs with a that-clause, often with the pronoun it as the subject.",4105 example:4106 "**newline**o It goes without saying that you shouldn't drive quickly in bad weather.**newline**o That he will gain weight if he continues to eat and drink so much goes**newline**without saying.",4107 Favorite: null4108 },4109 geometry: null4110 },4111 {4112 type: "Feature",4113 properties: {4114 name: "to put (someone) on",4115 desc:4116 " to mislead by joking or tricking (S)**newline**This idiom is usually used in a continuous tense form. A noun object must**newline**divide the idiom.",4117 example:4118 "**newline**o Don't worry. I wouldn't expect you do all that work by yourself. I'm just**newline**putting you on.**newline**o Jack can't be serious about what he said. He must be putting us on.",4119 Favorite: null4120 },4121 geometry: null4122 },4123 {4124 type: "Feature",4125 properties: {4126 name: "to keep one's head",4127 desc: " to remain calm during an emergency",4128 example:4129 "**newline**o When the heater caused a fire, Gloria kept her head and phoned for**newline**assistance right away; otherwise, the whole house might have burned**newline**down.**newline**o When the boat starting sinking in heavy seas, the crew members kept**newline**their heads and led the passengers to the lifeboats.",4130 Favorite: null4131 },4132 geometry: null4133 },4134 {4135 type: "Feature",4136 properties: {4137 name: "to lose one's head",4138 desc: " not to think clearly, to lose one's self-control",4139 example:4140 "**newline**o When Mel saw a god in the street right in front of his car, he lost his**newline**head and drove onto the sidewalk and into a tree.**newline**o If the politician hadn't gotten stirred up and lost his head, he never**newline**would have criticized his opponent unfairly.",4141 Favorite: null4142 },4143 geometry: null4144 },4145 {4146 type: "Feature",4147 properties: {4148 name: "narrow-minded",4149 desc:4150 " not willing to accept the ideas of others (the opposite of**newline**narrow minded is broad-minded)",4151 example:4152 "**newline**o Narrow-minded people tend to discriminate against groups of people**newline**with which they have nothing in common.**newline**o Ted is so broad-minded that he has almost no standards by which he**newline**judges others.",4153 Favorite: null4154 },4155 geometry: null4156 },4157 {4158 type: "Feature",4159 properties: {4160 name: "to stand up",4161 desc:4162 " to withstand use or wear; to fail to appear for a date or social**newline**engagement (S)",4163 example:4164 "**newline**o My old car has stood up well over the years. I haven't had any major**newline**problems at all.**newline**o Janet was very angry because her new boyfriend stood her up on their**newline**second date. She waited over an hour for him before returning home.",4165 Favorite: null4166 },4167 geometry: null4168 },4169 {4170 type: "Feature",4171 properties: {4172 name: "to get the better of",4173 desc: " to win or defeat by gaining an advantage over someone",4174 example:4175 "**newline**o Jim doesn't seem very athletic at tennis, but if you're not careful, he'll**newline**get the better of you.**newline**o Lynn gets frustrated when Bruce gets the better of her in arguments.**newline**No matter what she says, he always has a clever response.",4176 Favorite: null4177 },4178 geometry: null4179 },4180 {4181 type: "Feature",4182 properties: {4183 name: "to break loose",4184 desc: " to become free or loose, to escape",4185 example:4186 "**newline**o During the bad storm, the boat broke loose from the landing and**newline**drifted out to sea.**newline**o One bicyclist broke loose from the pack of racers and pulled ahead**newline**towards the finish line.",4187 Favorite: null4188 },4189 geometry: null4190 },4191 {4192 type: "Feature",4193 properties: {4194 name: "on edge",4195 desc: " nervous, anxious; upset, irritable",4196 example:4197 "**newline**o Cynthia was on edge all day about the important presentation she had**newline**to give to the local citizens group.**newline**o I don't like being around Jake when he's on edge like that. Someone**newline**should tell him to calm down and relax.",4198 Favorite: null4199 },4200 geometry: null4201 },4202 {4203 type: "Feature",4204 properties: {4205 name: "to waste one's breath",4206 desc:4207 " not be able to convince someone**newline**This idiom is used when someone is wasting time trying to convince another**newline**person. The idiom to save one's breath is related and means not to waste**newline**effort trying to convince someone.",4208 example:4209 "**newline**o Don't argue with Frank any longer. You are wasting your breath trying**newline**to get him to agree with you.**newline**o I have already decided what I'm going to do. You can't change my mind,**newline**so save your breath.",4210 Favorite: null4211 },4212 geometry: null4213 },4214 {4215 type: "Feature",4216 properties: {4217 name: "to cut short",4218 desc: " to make shorter, to interrupt (S)",4219 example:4220 "**newline**o The moderator asked the speaker to cut short his talk because there**newline**wasn't much time remaining for questions from the audience.**newline**o We were very unfortunate when we received bad news from home that**newline**forced us to cut our trip short.",4221 Favorite: null4222 },4223 geometry: null4224 },4225 {4226 type: "Feature",4227 properties: {4228 name: "to step in",4229 desc:4230 " to become involved or concerned with something; to enter a place**newline**for a brief time (also: to step into)",4231 example:4232 "**newline**o When the children started fighting on the play-ground, a teacher had to**newline**step in and stop the fight.**newline**o The supervisor asked one of the employees to step in her office for a**newline**moment.**newline**o Would you step into the hallway so that I can show you the information**newline**posted on the bulletin board?",4233 Favorite: null4234 },4235 geometry: null4236 },4237 {4238 type: "Feature",4239 properties: {4240 name: "to step down",4241 desc: " to retire or leave a top position, to resign",4242 example:4243 "**newline**o Next May the principal will step down after thirty-five years of service**newline**to the school.**newline**o The angry shareholders wanted the company president to step down**newline**because of the stock scandal.",4244 Favorite: null4245 },4246 geometry: null4247 },4248 {4249 type: "Feature",4250 properties: {4251 name: "to step on",4252 desc:4253 " to treat severely, to discipline; to go faster, to work more quickly**newline**For the second definition, the idiom is followed by the pronoun it.",4254 example:4255 "**newline**o Sometimes it's necessary to step on children when they do something**newline**dangerous.**newline**o We're going to be late for the movies. You'd better step on it!",4256 Favorite: null4257 },4258 geometry: null4259 },4260 {4261 type: "Feature",4262 properties: {4263 name: "a steal",4264 desc:4265 " very inexpensive, a bargain**newline**This idiom is often used in an exclamation using what.",4266 example:4267 "**newline**o I can't believe that I paid only $2,000 for this three year-old car. What**newline**a steal!**newline**o Scott considered it a steal when he bought a complete bedroom set for**newline**only $99.",4268 Favorite: null4269 },4270 geometry: null4271 },4272 {4273 type: "Feature",4274 properties: {4275 name: "to play up to",4276 desc: " to behave so as to gain favor with someone",4277 example:4278 "**newline**o The other students in the class resent Jim because he plays up to the**newline**teacher in order to get better grades.**newline**o When my children asked me to go shopping for a new video game, I**newline**knew why they had been playing up to me all morning.",4279 Favorite: null4280 },4281 geometry: null4282 },4283 {4284 type: "Feature",4285 properties: {4286 name: "more or less",4287 desc: " approximately, almost; somewhat, to a certain degree",4288 example:4289 "**newline**o Although your bedroom feels smaller, it's more or less the same size as**newline**mine.**newline**o Ted more or less agreed with our decision to put off the meeting until**newline**more members could show up. At least he didn't object strongly.",4290 Favorite: null4291 },4292 geometry: null4293 },4294 {4295 type: "Feature",4296 properties: {4297 name: "to screw up",4298 desc: " to confuse, to scramble (S); to cause problems in (S)",4299 example:4300 "**newline**o Chris had trouble finding Jane's apartment because the addresses of**newline**the buildings screwed him up.**newline**o Instead of fixing the television set, the technician screwed it up even**newline**more.",4301 Favorite: null4302 },4303 geometry: null4304 },4305 {4306 type: "Feature",4307 properties: {4308 name: "to goof up",4309 desc:4310 " to perform badly, to make a mistake (also: to mess up, to slip**newline**up)",4311 example:4312 "**newline**o I really goofed up on the exam today; did you mess up, too?**newline**o Karen slipped up when she forgot to deposit money into her checking**newline**account.",4313 Favorite: null4314 },4315 geometry: null4316 },4317 {4318 type: "Feature",4319 properties: {4320 name: "to go off the deep end",4321 desc: " to get very angry and do something hastily",4322 example:4323 "**newline**o Just because you had a serious argument with your supervisor, you**newline**didn't have to go off the deep end and resign, did you?**newline**o When Dan's wife demanded a divorce, he went off the deep end again.**newline**This time he was shouting so that the whole neighborhood could hear.",4324 Favorite: null4325 },4326 geometry: null4327 },4328 {4329 type: "Feature",4330 properties: {4331 name: "to lose one's touch",4332 desc: " to fail at what one used to do well",4333 example:4334 "**newline**o Milton used to be the best salesman at the car dealership, but recently**newline**he seems to have lost his touch.**newline**o I used to play tennis very well, but today you beat me easily. I must be**newline**losing my touch.",4335 Favorite: null4336 },4337 geometry: null4338 },4339 {4340 type: "Feature",4341 properties: {4342 name: "in hand",4343 desc: " under firm control, well managed",4344 example:4345 "**newline**o The copilot asked the pilot if he had the plane in hand or whether he**newline**needed any help navigating through the severe thunderstorm.**newline**o The police officer radioed to the station that she had the emergency**newline**situation in hand and didn't require any assistance.",4346 Favorite: null4347 },4348 geometry: null4349 },4350 {4351 type: "Feature",4352 properties: {4353 name: "on hand",4354 desc:4355 " available, nearby**newline**This idiom is often followed by in case.",4356 example:4357 "**newline**o I always keep some extra money on hand in case I forget to get cash**newline**from the bank.**newline**o The concert organizers arranged to have some security guards on hand**newline**in case there were any problems during the performance.",4358 Favorite: null4359 },4360 geometry: null4361 },4362 {4363 type: "Feature",4364 properties: {4365 name: "to kick (something) around",4366 desc:4367 " to discuss informally (over a period of time)**newline**(S) (also: to toss around)",4368 example:4369 "**newline**o At first my friends were reluctant to consider my suggestion, but they**newline**finally were willing to kick it ground for a while.**newline**o Herb thought that we should kick around the idea of establishing a**newline**special fund for supporting needy members of the club.",4370 Favorite: null4371 },4372 geometry: null4373 },4374 {4375 type: "Feature",4376 properties: {4377 name: "on the ball",4378 desc: " attentive, competent, alert",4379 example:4380 "**newline**o Jim was the only one who caught that serious error in the bookkeeping**newline**statements. He's really on the ball.**newline**o Ella was certainly on the ball when she remembered to reconfirm our**newline**fight arrangements. All the rest of us would have forgotten.",4381 Favorite: null4382 },4383 geometry: null4384 },4385 {4386 type: "Feature",4387 properties: {4388 name: "to make up",4389 desc:4390 " to meet or fulfill a missed obligation at a later time (S); to create,**newline**to invent (an idea) (S); to apply cosmetics to (S); to comprise, to be composed**newline**of**newline**Note that all of the definitions are separable except the last one.",4391 example:4392 "**newline**o The teacher allowed several students who missed the exam to make it**newline**up during the next class.**newline**o The little boy made up a bad excuse for wearing his dirty shoes in the**newline**house, so his mother punished him.**newline**o Dee was able to make her face up in half the normal time because she**newline**didn't use much makeup.**newline**o Two separate bodies --- the House of Representatives and the Senate --**newline**- make up the Congress of the United States.",4393 Favorite: null4394 },4395 geometry: null4396 },4397 {4398 type: "Feature",4399 properties: {4400 name: "to make up with",4401 desc:4402 " resolve differences with**newline**This idiom is used for differences of opinion between friends and lovers.",4403 example:4404 "**newline**o Gundula made up with her roommate after their serious**newline**misunderstanding about arrangements for the party.**newline**o After the bad quarrel the two lovers kissed and made up with each**newline**other.",4405 Favorite: null4406 },4407 geometry: null4408 },4409 {4410 type: "Feature",4411 properties: {4412 name: "to pull together",4413 desc:4414 " to gather, to collect (information) (S); to gain control of**newline**one's emotions (S)**newline**A reflexive pronoun must e used for the second definition.",4415 example:4416 "**newline**o The reporter pulled together information from several sources in**newline**preparing the newspaper article.**newline**o Mr. Simpson was so frightened when he heard footsteps behind him on**newline**the lonely, dark street that it took several minutes to pull himself**newline**together.",4417 Favorite: null4418 },4419 geometry: null4420 },4421 {4422 type: "Feature",4423 properties: {4424 name: "to be looking up",4425 desc:4426 " to appear promising or optimistic, to be improving**newline**This idiom is used in a continuous tense, very often with the subject things.",4427 example:4428 "**newline**o The board chairman is glad to report that things are looking up for the**newline**company after several years of declining sales.**newline**o Prospects for building that new library in the downtown area are**newline**looking up.",4429 Favorite: null4430 },4431 geometry: null4432 },4433 {4434 type: "Feature",4435 properties: {4436 name: "to kick the habit",4437 desc: " to stop a bad habit",4438 example:4439 "**newline**o Once a child becomes accustomed to chewing his nails, it's difficult kick**newline**the habit.**newline**o The doctor advised the heavy cigarette smoker that her heart had**newline**become damaged and that she should kick the habit right away.",4440 Favorite: null4441 },4442 geometry: null4443 },4444 {4445 type: "Feature",4446 properties: {4447 name: "to cover up",4448 desc:4449 " to conceal, to hide (S)**newline**This idiom is used for events which are potentially embarrassing to one's**newline**reputation, as well as against the law. The noun coverup can be formed.",4450 example:4451 "**newline**o The office worker tried to cover up his crimes, but everyone knew that**newline**he had been stealing office supplies all along.**newline**o The political coverup of the bribery scandal failed and was reported by**newline**all the major media.",4452 Favorite: null4453 },4454 geometry: null4455 },4456 {4457 type: "Feature",4458 properties: {4459 name: "to drop off",4460 desc:4461 " to fall asleep; to take to a certain location (S); to decrease (for**newline**the third definition, also: to fall off)",4462 example:4463 "**newline**o My mother dropped off during the boring television show; her head**newline**was nodding up and down.**newline**o I don't mind dropping you off at the store on my way to work.**newline**o Business has been dropping off rapidly recently, but fortunately it**newline**hasn't been falling off as quickly as for our competitors.",4464 Favorite: null4465 },4466 geometry: null4467 },4468 {4469 type: "Feature",4470 properties: {4471 name: "to turn over",4472 desc:4473 " to place upside down (S); to flip, to turn upside down; to pass**newline**or give control to someone (S)",4474 example:4475 "**newline**o the teacher asked the students to turn the answer sheet over and to**newline**write a short essay on the back.**newline**o The car was going too fast around the corner and turned over twice.**newline**o Mr. Collins has decided to turn over his jewelry store to his son at the**newline**end of the year.",4476 Favorite: null4477 },4478 geometry: null4479 },4480 {4481 type: "Feature",4482 properties: {4483 name: "to go through channels",4484 desc:4485 " to send a request through the normal way**newline**This idiom can be used with the adjective proper.",4486 example:4487 "**newline**o If you go through proper channels in this company, it's sometimes**newline**impossible to get anything done quickly.**newline**o The police told the important civic leader that even she had to go**newline**through channels in reporting the burglary of her house.",4488 Favorite: null4489 },4490 geometry: null4491 },4492 {4493 type: "Feature",4494 properties: {4495 name: "last straw",4496 desc:4497 " the final event in a series of unacceptable actions**newline**This idiom is always used with the definite article the.",4498 example:4499 "**newline**o When John asked to borrow money from me for the fourth time, it was**newline**the last straw. I finally told him that I couldn't lend him any more.**newline**o I can't believe that my roommate left the door to our department**newline**unlocked again. It's the last straw; I'm moving out.",4500 Favorite: null4501 },4502 geometry: null4503 },4504 {4505 type: "Feature",4506 properties: {4507 name: "to get cold feet",4508 desc:4509 " to become unable or afraid to do something**newline**This idiom is usually used in the case of an important or dangerous action.",4510 example:4511 "**newline**o Karl was supposed to marry Elaine this weekend, but at the last**newline**moment he got cold feet.**newline**o Only one of the rock climbers got cold feet when the group reached the**newline**base of the hundred-meter cliff.",4512 Favorite: null4513 },4514 geometry: null4515 },4516 {4517 type: "Feature",4518 properties: {4519 name: "to trade in",4520 desc:4521 " to receive credit for the value of an old item towards the**newline**purchase of a new item (S)**newline**This idiom is used to form the noun trade-in.",4522 example:4523 "**newline**o The car dealership offered me $1,000 for my old car if I traded it in for**newline**a new model.**newline**o The appliance company was offering a $50 trade-in during the special**newline**promotion for its new line of refrigerators.",4524 Favorite: null4525 },4526 geometry: null4527 },4528 {4529 type: "Feature",4530 properties: {4531 name: "face-to-face",4532 desc:4533 " direct, personal; directly, personally (written without hyphens)**newline**This idiom can be used both as an adjective (the first definition) and as an**newline**adverb (the second definition).",4534 example:4535 "**newline**o The workers' representatives had a face-to-face meeting with**newline**management to resolve the salary issue.**newline**o The stepmother and her teenage soon talked face to face about his**newline**troubles in school.",4536 Favorite: null4537 },4538 geometry: null4539 },4540 {4541 type: "Feature",4542 properties: {4543 name: "to be with (someone)",4544 desc:4545 " to support, to back (also: to go along with); to**newline**understand or follow what someone is saying",4546 example:4547 "**newline**o Although others thought that we shouldn't go along with Jerry, I told**newline**Jerry that I was with him on his proposal for reorganizing the staff.**newline**o After turning left at the traffic light, go two blocks and turn right on**newline**Madison. After three more blocks, turn right again. Are you still with**newline**me?",4548 Favorite: null4549 },4550 geometry: null4551 },4552 {4553 type: "Feature",4554 properties: {4555 name: "to be with it",4556 desc:4557 " to be able to focus or concentrate on (also: to get with it)**newline**To be with it in the negative has the same meaning as to feel out of it. The**newline**related form to get with it is used in commands.",4558 example:4559 "**newline**o Jack's really with it today. I've never seen him play such good soccer.**newline**o You've done only a small amount of work in two hours. You're not with**newline**it today, are you?**newline**o It's no excuse to say that you feel out of it. We need everyone's help on**newline**this, so get with it!",4560 Favorite: null4561 },4562 geometry: null4563 },4564 {4565 type: "Feature",4566 properties: {4567 name: "to fall for",4568 desc: " to fall in love quickly; to be fooled or tricked by",4569 example:4570 "**newline**o Samantha and Derek never expected to fall for each other like they did,**newline**but they got married within two weeks of having met.**newline**o The Masons wanted to believe their son, but unfortunately they had**newline**fallen for his lies too many times to be deceived once again.",4571 Favorite: null4572 },4573 geometry: null4574 },4575 {4576 type: "Feature",4577 properties: {4578 name: "it figures",4579 desc:4580 " it seems likely, reasonable, or typical**newline**This idiom is either followed by a that-clause or by no other part of grammar.",4581 example:4582 "**newline**o It figures that the children were willing to help with the yardwork only**newline**if they received a rewarded for doing so.**newline**o When I told Evan that his secretary was unhappy about not getting a**newline**raise, he said that it figured.",4583 Favorite: null4584 },4585 geometry: null4586 },4587 {4588 type: "Feature",4589 properties: {4590 name: "to fill (someone) in",4591 desc:4592 " to inform, to give background information to (also: to**newline**clue in) (S)**newline**This idiom is often followed by the preposition on and a noun phrase**newline**containing the pertinent information.",4593 example:4594 "**newline**o Could you fill me in on what is going to be discussed at tomorrow's**newline**meeting?**newline**o Not having been to the convention, my associate asked me to clue him**newline**in on the proceedings.",4595 Favorite: null4596 },4597 geometry: null4598 },4599 {4600 type: "Feature",4601 properties: {4602 name: "to make (someone) tick",4603 desc:4604 " to motivate to behave or act in a certain way (S)**newline**This idiom is used within a what-clause.",4605 example:4606 "**newline**o If a salesperson knows what makes a customer tick, he will be able to**newline**sell a lot of merchandise.**newline**o It's been impossible for us to figure out what makes our new boss tick.**newline**One moment she seems pleasant and then the next moment she's upset.",4607 Favorite: null4608 },4609 geometry: null4610 },4611 {4612 type: "Feature",4613 properties: {4614 name: "to cover for",4615 desc:4616 " to take someone's place temporarily, to substitute for; to**newline**protect someone by lying or deceiving",4617 example:4618 "**newline**o Go ahead and take your coffee break. I'll cover for you until you return.**newline**o The criminal made his wife cover for him when the police asked if the**newline**man had been home all day. She swore that he had been there.",4619 Favorite: null4620 },4621 geometry: null4622 },4623 {4624 type: "Feature",4625 properties: {4626 name: "to give (someone) a break",4627 desc:4628 " to provide a person with another opportunity**newline**or chance (S); not to expect too much work from (S); not to expect someone to**newline**believe (S)**newline**Command forms are most common with this idiom. For the third definition,**newline**the pronoun me must be used.",4629 example:4630 '**newline**o The driver pleaded with the police officer to give him a break and not**newline**issue him a ticket for speeding.**newline**o When the students heard how much homework the teacher wanted**newline**them to do over the holiday, they begged, "Give us a break, Professor**newline**Doyle!"**newline**o Oh, Jim, give me a break! That\'s a terrible excuse for being late.',4631 Favorite: null4632 },4633 geometry: null4634 },4635 {4636 type: "Feature",4637 properties: {4638 name: "to bow out",4639 desc:4640 " to stop doing as a regular activity, to remove oneself from a**newline**situation**newline**The related idiom to want out indicates that someone desires to bow out.",4641 example:4642 "**newline**o She bowed out as the school's registrar after sixteen years of service.**newline**o One of the two partners wanted out of the deal because they couldn't**newline**agree on the terms of the contract.",4643 Favorite: null4644 },4645 geometry: null4646 },4647 {4648 type: "Feature",4649 properties: {4650 name: "to pin on",4651 desc:4652 " to find guilty of a crime or offense (S) (also: to hang on)**newline**This idiom is divided by a noun phrase containing the crime or offense. The**newline**accused person is mentioned after the preposition on.",4653 example:4654 "**newline**o The prosecuting attorney tried to pin the murder on the victim's**newline**husband, but the jury returned a verdict of \"not guilty.\"**newline**o I wasn't anywhere near the window when it got broken. You can't pin**newline**that on me.",4655 Favorite: null4656 },4657 geometry: null4658 },4659 {4660 type: "Feature",4661 properties: {4662 name: "to get a rise out of",4663 desc:4664 " to provoke a response from**newline**This idiom is usually used when someone is teased into responding in anger or**newline**annoyance.",4665 example:4666 "**newline**o You can kid me all day about my mistake, but you won't get a rise out**newline**of me.**newline**o I got a rise out of Marvin when I teased him about his weight. Marvin**newline**weighs over two-hundred pounds.",4667 Favorite: null4668 },4669 geometry: null4670 },4671 {4672 type: "Feature",4673 properties: {4674 name: "to stick around",4675 desc:4676 " to stay or remain where one is, to wait**newline**This idiom is used when someone is waiting for something to happen or for**newline**someone to arrive",4677 example:4678 "**newline**o Todd had to stick around the house all day until the new furniture was**newline**finally delivered in the late afternoon.**newline**o Why don't you stick around for a while and see if Sarah eventually**newline**shows up?",4679 Favorite: null4680 },4681 geometry: null4682 },4683 {4684 type: "Feature",4685 properties: {4686 name: "to pick up the tab",4687 desc:4688 " to pay the cost or bill**newline**This idiom applies when someone pays for the cost of another person's meal,**newline**tickets, etc.",4689 example:4690 "**newline**o The advertising manger is flying to Puerto Rico for a conference, and**newline**her firm is picking up the tab.**newline**o The government picked up the tab for the visiting dignitary. It paid for**newline**all of the lodging and meals, as well as transportation, during his stay.",4691 Favorite: null4692 },4693 geometry: null4694 },4695 {4696 type: "Feature",4697 properties: {4698 name: "by the way",4699 desc:4700 " incidentally**newline**This idiom is used when someone thinks of something further in the course of**newline**a conversation.",4701 example:4702 "**newline**o Movies are my favorite form of entertainment. Oh, by the way, have**newline**you seen the new picture that's playing at the Bijou?**newline**o Vera's been divorced for three years now. She told me, by the way, that**newline**she never plans to remarry.",4703 Favorite: null4704 },4705 geometry: null4706 },4707 {4708 type: "Feature",4709 properties: {4710 name: "to go to town",4711 desc: " to do something with enthusiasm and thoroughness",4712 example:4713 "**newline**o Our interior decorator really went to town in remodeling our living**newline**room. I'm afraid to ask how much it's going to cost.**newline**o Charlie really went to town on his research project. He consulted over**newline**forty reference works and wrote a ninety-page report.",4714 Favorite: null4715 },4716 geometry: null4717 },4718 {4719 type: "Feature",4720 properties: {4721 name: "to let slide",4722 desc: " to neglect a duty (S); to ignore a situation (S)",4723 example:4724 "**newline**o Terry knew that she should have paid the electric bill on time instead of**newline**letting it slide. Now the utility company has turned off her service.**newline**o When he tried to get a rise out of me by mentioning my failure to**newline**receive a promotion at work, I just let it slide.",4725 Favorite: null4726 },4727 geometry: null4728 },4729 {4730 type: "Feature",4731 properties: {4732 name: "search me",4733 desc:4734 " I don't know (also: beats me)**newline**This idiom is used informally, usually as a command form.",4735 example:4736 '**newline**o When Elmer asked his wife if she knew why the new neighbors left their**newline**garage door open all night, she responded, "Search me."**newline**o When I asked Dereck why his girlfriend wasn\'t at the party yet, he said,**newline**"Beats me. I expected her an hour ago."',4737 Favorite: null4738 },4739 geometry: null4740 },4741 {4742 type: "Feature",4743 properties: {4744 name: "to get off one's chest",4745 desc:4746 " to express one's true feelings (S)**newline**This idiom is used when someone has long waited to express themselves.",4747 example:4748 "**newline**o Ellen felt a lot better when she finally talked to a counselor and got the**newline**problem off her chest.**newline**o Faye hasn't shared her concern about her marriage with her husband**newline**yet. I think that she should get it off her chest soon.",4749 Favorite: null4750 },4751 geometry: null4752 },4753 {4754 type: "Feature",4755 properties: {4756 name: "to live it up",4757 desc: " to spend money freely, to live luxuriously",4758 example:4759 "**newline**o Kyle and Eric saved up money for two years so that they could travel to**newline**Europe and live it up.**newline**o After receiving a large inheritance from a rich aunt, I was able to live it**newline**up for years.",4760 Favorite: null4761 },4762 geometry: null4763 },4764 {4765 type: "Feature",4766 properties: {4767 name: "to liven up",4768 desc: " to energize, to make more active (also: to pick up)",4769 example:4770 "**newline**o The teacher occasionally took the class on field trips just to liven things**newline**up a bit.**newline**o The animals in the zoo began to liven up when evening came and the**newline**temperatures dropped.**newline**o Many people have to drink coffee every morning just to pick themselves**newline**up.",4771 Favorite: null4772 },4773 geometry: null4774 },4775 {4776 type: "Feature",4777 properties: {4778 name: "to have a voice in",4779 desc: " to share involvement in",4780 example:4781 "**newline**o The new vice-president was promised that she would have a voice in**newline**developing the company's international expansion.**newline**o The students are trying to have a voice in college affairs by gaining**newline**representation on administrative committees.",4782 Favorite: null4783 },4784 geometry: null4785 },4786 {4787 type: "Feature",4788 properties: {4789 name: "to check in",4790 desc:4791 " to register at a hotel or motel; to leave or deposit for**newline**transporting or safekeeping (S)**newline**The adjective form check-in derives from this idiom.",4792 example:4793 "**newline**o Courtney arrived in town at mid-day and promptly checked in at the**newline**Plaza Hotel. The hotel permitted an early check-in time.**newline**o There dozens of people at the airline counters waiting to check their**newline**bags in for their flights.",4794 Favorite: null4795 },4796 geometry: null4797 },4798 {4799 type: "Feature",4800 properties: {4801 name: "to check out",4802 desc:4803 " to pay the bill at a hotel or motel and then leave; to investigate,**newline**to examine (S)**newline**The adjective form check-out derives from this idiom.",4804 example:4805 "**newline**o The latest you should check out of the hotel is 12 noon. However, in**newline**your case, we can set a special check-out time of 2:00 P.M.**newline**o The police received a call from someone claiming to have witnessed a**newline**murder. The police sent two detectives to check the call out right away.",4806 Favorite: null4807 },4808 geometry: null4809 },4810 {4811 type: "Feature",4812 properties: {4813 name: "to take at one's word",4814 desc: " to accept what one says as true, to believe",4815 example:4816 "**newline**o When he offered to be responsible for the fund raiser, I took him at his**newline**word. Now he's saying that he's not available to do it.**newline**o You should be careful about taking her at her word. She's been known**newline**to say one thing but to do another.",4817 Favorite: null4818 },4819 geometry: null4820 },4821 {4822 type: "Feature",4823 properties: {4824 name: "to serve (the/one's) purpose",4825 desc: " to be useful, to suit one's needs or**newline**requirements",4826 example:4827 "**newline**o I don't have a screwdriver to open this, but I think that a knife will**newline**serve the purpose.**newline**o Jane prefers working to studying, so it served her purpose to drop out**newline**of school and take that job.",4828 Favorite: null4829 },4830 geometry: null4831 },4832 {4833 type: "Feature",4834 properties: {4835 name: "in the worst way",4836 desc: " very much, greatly",4837 example:4838 "**newline**o Jim and Claudia want to have children in the worst way. They are**newline**trying very hard to conceive.**newline**o Because Umer ahs relatives in Turkey, he wants to visit there in the**newline**worst way.",4839 Favorite: null4840 },4841 geometry: null4842 },4843 {4844 type: "Feature",4845 properties: {4846 name: "to cop out",4847 desc:4848 " to avoid one's responsibility, to quit**newline**This idiom is an informal version of the second definition to back out (lesson**newline**29). The noun form copout means an excuse for avoiding responsibility.",4849 example:4850 "**newline**o Evelyn had agreed to help us with arrangements for the party, but she**newline**copped out at the last minute.**newline**o I can't believe that Cindy offered such an explanation for failing to show**newline**up. What a poor copout!",4851 Favorite: null4852 },4853 geometry: null4854 },4855 {4856 type: "Feature",4857 properties: {4858 name: "to line up",4859 desc: " to form a line; to arrange to have, to manage to obtain (S)",4860 example:4861 "**newline**o The moviegoers lined up in front of the theater showing the most**newline**popular film of the summer.**newline**o Rob is going to schedule the famous author to speak at the convention**newline**if he can line her up in time.",4862 Favorite: null4863 },4864 geometry: null4865 },4866 {4867 type: "Feature",4868 properties: {4869 name: "to lose one's cool",4870 desc: " to get excited, angry, or flustered",4871 example:4872 "**newline**o Despite the boos from some in the audience, the actors on stage never**newline**lost their cool.**newline**o Although the group of skiers were in danger form an apparent**newline**avalanche, their ski guide never lost his cool.",4873 Favorite: null4874 },4875 geometry: null4876 },4877 {4878 type: "Feature",4879 properties: {4880 name: "to leave open",4881 desc: " to delay making a decision on (S)",4882 example:4883 "**newline**o In making up the job announcement, the firm decided to leave the**newline**salary open until a qualified candidate was found.**newline**o We know that the annual summer camp will be held in August, but let's**newline**leave the exact dates open for now.",4884 Favorite: null4885 },4886 geometry: null4887 },4888 {4889 type: "Feature",4890 properties: {4891 name: "to turn on",4892 desc:4893 " to interest greatly, to excite (S)**newline**The idiom with the opposite meaning is to turn off. These idioms are used to**newline**form the nouns turnon and turnoff.",4894 example:4895 "**newline**o Does great art turn you on? I find going to a museum and viewing**newline**classic works of art a real turnon.**newline**o Going to a bar and having silly conversation with strangers really turns**newline**me off. In fact, most bar scenes are really turnoffs to me.",4896 Favorite: null4897 },4898 geometry: null4899 },4900 {4901 type: "Feature",4902 properties: {4903 name: "to miss the boat",4904 desc: " to lose an opportunity, to fail in some undertaking",4905 example:4906 "**newline**o The precious metals market was looking up several months ago, but**newline**unfortunately most investors missed the boat.**newline**o Mr. Vlasic's new business went bankrupt within a short time. He really**newline**missed the boat by opening a tanning salon near the beach.",4907 Favorite: null4908 },4909 geometry: null4910 },4911 {4912 type: "Feature",4913 properties: {4914 name: "to think up",4915 desc:4916 " to invent, to create (also: to dream up)**newline**This idiom is often used for an unusual or foolish thought.",4917 example:4918 "**newline**o Who thought up the idea of painting the living room walls bright red?**newline**o When asked by the teacher why she was late, the student dreamed up a**newline**plausible excuse.",4919 Favorite: null4920 },4921 geometry: null4922 },4923 {4924 type: "Feature",4925 properties: {4926 name: "to throw (someone) a curve",4927 desc:4928 " to introduce an unexpected topic, causing**newline**embarrassment (S)",4929 example:4930 "**newline**o The first week of class was going very well until a student threw the**newline**teacher a curve by suggesting that the textbook was too difficult.**newline**o The director asked us in advance to stick to the meeting agenda and not**newline**to throw him any curves.",4931 Favorite: null4932 },4933 geometry: null4934 },4935 {4936 type: "Feature",4937 properties: {4938 name: "to make waves",4939 desc:4940 " to create a disturbance, usually by complaining**newline**This idiom is similar in meaning to the previous idiom, but the emphasis is on**newline**the aspect of complaining rather than causing embarrassment.",4941 example:4942 "**newline**o In most companies, an employee who makes waves is not appreciated.**newline**o The meeting was going smoothly until one of the participants made**newline**waves about the newly revised compensation package.",4943 Favorite: null4944 },4945 geometry: null4946 },4947 {4948 type: "Feature",4949 properties: {4950 name: "to carry on",4951 desc:4952 " to continue as before; to conduct, to engage in; to behave in an**newline**immature manner",4953 example:4954 "**newline**o Even in the face of disaster, the inhabitants carried on as though**newline**nothing had happened.**newline**o The business associates decided to carry on their discussion in the**newline**hotel bar instead of the conference room.**newline**o I can't believe that John carried on so much just because his dog died.**newline**He looked depressed and cried for weeks after it happened.",4955 Favorite: null4956 },4957 geometry: null4958 },4959 {4960 type: "Feature",4961 properties: {4962 name: "not on your life",4963 desc:4964 " absolutely not (also: no way)**newline**This idiom is used as a kind of exclamation by itself.",4965 example:4966 '**newline**o You\'re asking me to invest in that poorly rated company just because**newline**you know the son of the president? Not on your life!**newline**o When a friend tried to get Mark to jump out of a plane with a parachute,**newline**he immediately responded, "No way!"',4967 Favorite: null4968 },4969 geometry: null4970 },4971 {4972 type: "Feature",4973 properties: {4974 name: "to cover ground",4975 desc:4976 " to be extensive, to discuss much material**newline**Forms such as a lot of, too much, too little are used before the noun ground.",4977 example:4978 "**newline**o That national commission's report on urban ghettos covers a lot of**newline**ground. Many of the recommendations are too costly to implement.**newline**o In his first lecture on Greek philosophers, I thought that our professor**newline**covered too little ground.",4979 Favorite: null4980 },4981 geometry: null4982 },4983 {4984 type: "Feature",4985 properties: {4986 name: "to mind the store",4987 desc: " to be responsible for an office while others are gone",4988 example:4989 "**newline**o It seems that all of our employees are taking a lunch break at the same**newline**time. I wonder who's minding the store.**newline**o Lynne agreed to mind the store while the others went outside to watch**newline**the parade passing by.",4990 Favorite: null4991 },4992 geometry: null4993 },4994 {4995 type: "Feature",4996 properties: {4997 name: "to throw the book at",4998 desc: " to punish with full penalty, to be harsh on",4999 example:5000 "**newline**o Because the criminal was a repeat offender, the judge threw the book at**newline**him with heavy fines and a long prison term.**newline**o My boss threw the book at me when he discovered that I had been**newline**using company time for personal business. I was severely reprimanded**newline**and forced to make up the lost time.",5001 Favorite: null5002 },5003 geometry: null5004 },5005 {5006 type: "Feature",5007 properties: {5008 name: "to put one's foot in",5009 desc:5010 " to say or do the wrong thing**newline**This idiom is used with the noun phrase one's mouth or the pronoun it.",5011 example:5012 "**newline**o Fred really put his foot in his mouth when he called his supervisor by**newline**the wrong name.**newline**o I really put my foot in it when I forgot my girlfriend's birthday and**newline**didn't buy her anything. She almost lost her cool.",5013 Favorite: null5014 },5015 geometry: null5016 },5017 {5018 type: "Feature",5019 properties: {5020 name: "to be up for grabs",5021 desc:5022 " to become available to others**newline**this idiom is used when something is highly desirable to many other people.",5023 example:5024 "**newline**o When one of the full-time contract instructors stepped down, her nice**newline**office overlooking the river was up for grabs.**newline**o Did you know that Senator Stone is retiring and that her Senate seat is**newline**up for grabs?",5025 Favorite: null5026 },5027 geometry: null5028 },5029 {5030 type: "Feature",5031 properties: {5032 name: "to show off",5033 desc:5034 " to display one's ability in order to attract attention (S); to let**newline**others see, to expose to public view (S)**newline**This idiom can form the noun showoff for the first definition.",5035 example:5036 "**newline**o Elizabeth is an excellent swimmer, but I don't like the way she shows**newline**off in front of everyone. It's very obvious that she enjoys being a**newline**showoff.**newline**o Jacquie showed her large wedding ring off to all her friends.",5037 Favorite: null5038 },5039 geometry: null5040 },5041 {5042 type: "Feature",5043 properties: {5044 name: "to learn the ropes",5045 desc:5046 " to become familiar with routine procedures at work or**newline**school",5047 example:5048 "**newline**o The job applicant didn't have much previous experience or knowledge,**newline**but she seemed intelligent enough to learn the ropes quickly.**newline**o It took the new schoolteacher a year to learn the ropes regarding**newline**administrative and curricular matters.",5049 Favorite: null5050 },5051 geometry: null5052 },5053 {5054 type: "Feature",5055 properties: {5056 name: "to keep one's fingers crossed",5057 desc:5058 " to hope to have good results, to hope that**newline**nothing bad will happen**newline**This idiom reflects the way people cross their fingers to hope for good luck.",5059 example:5060 "**newline**o Let's keep our fingers crossed that we got passing grades on that**newline**college entrance exam.**newline**o Jerry kept his fingers crossed that the good weather would hold up for**newline**the picnic he was planning for the coming weekend.",5061 Favorite: null5062 },5063 geometry: null5064 },5065 {5066 type: "Feature",5067 properties: {5068 name: "to land on one's feet",5069 desc:5070 " to recover safely form an unpleasant or dangerous**newline**situation",5071 example:5072 "**newline**o After a series of personal and professional difficulties, it's amazing that**newline**George has landed on his feet so quickly.**newline**o Some young adults get into so much trouble at school that they are**newline**never able to land on their feet again. They drop out before graduating.",5073 Favorite: null5074 },5075 geometry: null5076 },5077 {5078 type: "Feature",5079 properties: {5080 name: "to dish out",5081 desc:5082 " to distribute in large quantity (S); to speak of others in a critical**newline**manner (S)",5083 example:5084 "**newline**o Mary's mom dished out two or three scoops of ice cream for each child**newline**at the birthday party.**newline**o Larry can't seem to take any criticism of his actions but he certainly**newline**likes to dish it out.",5085 Favorite: null5086 },5087 geometry: null5088 },5089 {5090 type: "Feature",5091 properties: {5092 name: "to get through to",5093 desc:5094 ' to communicate with, to make someone understand (also:**newline**to break through to)**newline**This idiom has the meaning of to make someone "catch on" (Lesson 29, eighth**newline**idiom, the first definition)',5095 example:5096 "**newline**o Some of the students in my reading class understand English so poorly**newline**that it is difficult to get through to them.**newline**o The doctors have never succeeded in breaking though to Mr. Ames,**newline**who is a silent and secretive patient.",5097 Favorite: null5098 },5099 geometry: null5100 },5101 {5102 type: "Feature",5103 properties: {5104 name: "to keep one's word",5105 desc:5106 " to fulfill a promise, to be responsible**newline**An idiom with the opposite meaning is to break one's word.",5107 example:5108 "**newline**o Suzanne kept her word to me not to let on to others that I intend to**newline**step down next month.**newline**o Thomas always intends to keep his word, but invariably the end result**newline**is that he breaks his word. He just isn't capable of being a responsible**newline**person.",5109 Favorite: null5110 },5111 geometry: null5112 },5113 {5114 type: "Feature",5115 properties: {5116 name: "to be over one's head",5117 desc:5118 " to be very busy, to have too much to do (also: to be**newline**up to one's ears); to be beyond one's ability to understand",5119 example:5120 "**newline**o I'd love to take a week off for a hiking trip, but at the moment I am over**newline**my head in work. Maybe next week when I'm only up to my ears!**newline**o It was impossible for the tutor to get through to Bill about the physics**newline**problem because the subject matter was over Bill's head.",5121 Favorite: null5122 },5123 geometry: null5124 },5125 {5126 type: "Feature",5127 properties: {5128 name: "to ask for",5129 desc: " to deserve, to receive a just punishment (also: to bring upon)",5130 example:5131 "**newline**o If you drink alcohol and then drive a car, you're only asking for trouble.**newline**o Don't complain about your cut in salary. You asked for it by refusing to**newline**heed our repeated warnings not to be late and inefficient.",5132 Favorite: null5133 },5134 geometry: null5135 },5136 {5137 type: "Feature",5138 properties: {5139 name: "to be a far cry from",5140 desc: " to be very different from",5141 example:5142 "**newline**o I enjoyed visiting Seattle, but it was a far cry from the ideal vacation**newline**spot I expected.**newline**o Ned is enjoying his new job, but his responsibilities are a far cry from**newline**what he was told they would be.",5143 Favorite: null5144 },5145 geometry: null5146 },5147 {5148 type: "Feature",5149 properties: {5150 name: "by all means",5151 desc:5152 " certainly, definitely, naturally (also: of course); using any**newline**possible way or method",5153 example:5154 "**newline**o If the Johnsons invite us for dinner, then by all means we have to**newline**return the invitation. Of cause, we don't have to invite their children,**newline**too.**newline**o In order to ensure its survival, the ailing company has to obtain an**newline**infusion of cash by all means.",5155 Favorite: null5156 },5157 geometry: null5158 },5159 {5160 type: "Feature",5161 properties: {5162 name: "to get out from under",5163 desc:5164 " to restore one's financial security, to resolve a**newline**difficult financial obligation",5165 example:5166 "**newline**o After years of struggling to get ahead, the young couple finally got out**newline**from under their debts.**newline**o The ailing company, succeeding in obtaining the necessary cash, was**newline**able to get out from under its financial burdens.",5167 Favorite: null5168 },5169 geometry: null5170 },5171 {5172 type: "Feature",5173 properties: {5174 name: "to take the bull by the horns",5175 desc:5176 " to handle a difficult situation with**newline**determination**newline**This idiom is usually used when someone has been postponing an action for**newline**some time and finally wants or needs to resolve it.",5177 example:5178 "**newline**o After three years of faithful service, Jake decided to take the bull by the**newline**horns and ask his boss for a raise.**newline**o Vic has been engaged to Laura for a long time now, and I know that he**newline**loves her. He should take the bull by the horns and ask her to marry**newline**him.",5179 Favorite: null5180 },5181 geometry: null5182 },5183 {5184 type: "Feature",5185 properties: {5186 name: "to give (someone) a hand",5187 desc:5188 " to assist, to aid, to help (also: to lend**newline**someone a hand) (S)",5189 example:5190 "**newline**o Would you give me a hand lifting this heavy box?**newline**o When Terry's car broke down at night on the highway, no one would**newline**stop to lend her a hand.",5191 Favorite: null5192 },5193 geometry: null5194 },5195 {5196 type: "Feature",5197 properties: {5198 name: "to give (someone) a big hand",5199 desc: " to clap one's hands in applause, to applaud**newline**(S)",5200 example:5201 "**newline**o After the talented new vocalist had sung her number, the audience**newline**gave her a big hand.**newline**o Should we give a big hand to each beauty contestant is as she is**newline**introduced, or should we wait until all the introductions are finished?",5202 Favorite: null5203 },5204 geometry: null5205 },5206 {5207 type: "Feature",5208 properties: {5209 name: "to goof off",5210 desc: " to waste time, to be idle",5211 example:5212 "**newline**o Some of the workers in our office always goof off when the boss is out.**newline**o On Saturday afternoons, I like to go to a movie or just goof off at home.",5213 Favorite: null5214 },5215 geometry: null5216 },5217 {5218 type: "Feature",5219 properties: {5220 name: "to talk back to",5221 desc: " to answer in a rude manner, to speak to disrespectfully",5222 example:5223 "**newline**o Billy, if you talk back to me like that once more, you're going to spend**newline**the rest of the day in your room.**newline**o The school principal had to reprimand the child for talking back to her**newline**teacher.",5224 Favorite: null5225 },5226 geometry: null5227 },5228 {5229 type: "Feature",5230 properties: {5231 name: "to be in",5232 desc:5233 " to be popular or fashionable; to be available at one's work or home",5234 example:5235 "**newline**o Most young people tend to want anything that is in at the time, but a**newline**few don't care about current trends.**newline**o Could you please tell me when Mrs. Zachary will be in? I'd like to talk to**newline**her soon.",5236 Favorite: null5237 },5238 geometry: null5239 },5240 {5241 type: "Feature",5242 properties: {5243 name: "to be out",5244 desc:5245 " to be unpopular or no longer in fashion; to be away from one's**newline**work or home",5246 example:5247 "**newline**o These days, designer jeans are in and long skirts are out.**newline**o I'm sorry, Mr. Jensen is out at the moment. Could I take a message?",5248 Favorite: null5249 },5250 geometry: null5251 },5252 {5253 type: "Feature",5254 properties: {5255 name: "to draw the line at",5256 desc: " to determine to be unacceptable, to refuse to consider",5257 example:5258 "**newline**o I don't mind helping him with his homework, but I draw the line at**newline**writing a term paper for him.**newline**o The conference organizers tried to accommodate the needs of the**newline**various interest groups, but they drew the line at extending the**newline**conference by two day.",5259 Favorite: null5260 },5261 geometry: null5262 },5263 {5264 type: "Feature",5265 properties: {5266 name: "to get out of line",5267 desc:5268 " to disobey or ignore normal procedures or rules (also: to**newline**step out of line)",5269 example:5270 "**newline**o When a child gets out of line in that teacher's class, she uses the oldfashioned**newline**method of making the child sit in the corner of the room.**newline**o Any employee who steps out of line by coming to work in an**newline**unacceptable condition will be fired.",5271 Favorite: null5272 },5273 geometry: null5274 },5275 {5276 type: "Feature",5277 properties: {5278 name: "dry run",5279 desc: " rehearsal, practice session",5280 example:5281 "**newline**o The college president requested a dry run of the graduation ceremony**newline**in order to ensure that all aspects went smoothly.**newline**o Before the manager present the reorganizational plans to the board of**newline**directors, he did several dry runs of his presentation.",5282 Favorite: null5283 },5284 geometry: null5285 },5286 {5287 type: "Feature",5288 properties: {5289 name: "to play by ear",5290 desc:5291 " to play music that one has heard but never read (S); to**newline**proceed without plan, to do spontaneously (S)**newline**The pronoun it is often used with the second definition.",5292 example:5293 "**newline**o That pianist can play most popular music by ear. She never needs to**newline**read sheet music.**newline**o My husband wanted to plan our trip carefully, but I argued that it was**newline**more fun if we played it by ear.",5294 Favorite: null5295 },5296 geometry: null5297 },5298 {5299 type: "Feature",5300 properties: {5301 name: "to be in (someone's) shoes",5302 desc:5303 " to be in another person's position, to face the**newline**same situation as another person",5304 example:5305 "**newline**o If I were in your shoes, I wouldn't take too many classes this semester.**newline**o When his boss finds out about that accounting error, I wouldn't want to**newline**be in his shoes.",5306 Favorite: null5307 },5308 geometry: null5309 },5310 {5311 type: "Feature",5312 properties: {5313 name: "to keep after",5314 desc: " to remind constantly, to nag",5315 example:5316 "**newline**o Lynn always has to keep after her children about cleaning up their**newline**rooms and doing chores around the house.**newline**o Lon is so forgetful that it's necessary to keep after him about every little**newline**thing.",5317 Favorite: null5318 },5319 geometry: null5320 },5321 {5322 type: "Feature",5323 properties: {5324 name: "to fix up",5325 desc:5326 " to repair or put back in good condition (S); to arrange a date or an**newline**engagement for another person (S)",5327 example:5328 "**newline**o Instead of buying an expensive new home, we decided to buy an older**newline**home and fix it up ourselves.**newline**o Since my visiting friend didn't have a date for dinner, I fixed her up**newline**with a male friend of mine. They got along very well together.",5329 Favorite: null5330 },5331 geometry: null5332 },5333 {5334 type: "Feature",5335 properties: {5336 name: "to be had",5337 desc: " to be victimized or cheated",5338 example:5339 '**newline**o When the jeweler confirmed that the diamonds that the woman had**newline**purchased abroad were really fake, she exclaimed, "I\'ve been had!"**newline**o The angry customer complained about being overcharged at the store,**newline**asserting that this was the third time that he had been had.',5340 Favorite: null5341 },5342 geometry: null5343 }5344 ]...

Full Screen

Full Screen

zka.js

Source:zka.js Github

copy

Full Screen

1/**2 * User: do3 * Date: 28.12.20 13:274 * (c) 2012, Doc Cirrus GmbH, Berlin5 */6const ObjectId = require( 'mongoose' ).Types.ObjectId;7module.exports = {8 context: {9 formName: 'ZKA',10 activities: [11 {12 _id: ObjectId( '5fe1a7cc430cbc32743b436a' ),13 actType: 'FORM',14 status: 'VALID',15 attachments: ['5fe1a7cc430cbc32743b4369'],16 attachedMediaTags: [],17 subType: '',18 time: '',19 backupEmployeeIds: [],20 userContent: 'ZKA',21 mediaImportError: '',22 partnerInfo: '',23 explanations: '',24 activities: ['5fe0a034dffd7bdf7ceffc45'],25 referencedBy: [],26 formId: '5f9fd3fb814faa61d83bc3f6',27 formVersion: '5fa2b6cb414f7e75d87b45cf',28 formPdf: '',29 formLang: 'de',30 formGender: 'm',31 apkState: 'IN_PROGRESS',32 unlinkedMirrorIds: [],33 savedEmails: [],34 ruleStatus: 'NOT_VALIDATED',35 receipts: [],36 scheinOrder: '',37 scheinDiagnosis: '',38 reasonType: '',39 totalReceipts: 0,40 totalPenalties: 0,41 totalReceiptsOutstanding: 0,42 continuousIcds: [],43 insuranceName: '',44 hasVat: false,45 vat: 0,46 icds: [],47 icdsExtra: [],48 scheinSlipMedicalTreatment: '',49 erstBesch: true,50 folgeBesc: false,51 eTSArrangementCode: '',52 eTSArrangementCodeRequestMessageId: '',53 eTSAErrorMessage: '',54 __t: 'FORM',55 attachedMedia: [],56 timestamp: Date( '2020-12-22T07:51:14.833Z' ),57 patientId: '5e9ed6eeee3a343fd3542ab5',58 employeeId: '5e55190ed7d326bf8f1b6b00',59 locationId: ObjectId( '000000000000000000000001' ),60 content: 'ZKA',61 editor: [62 {63 _id: ObjectId( '5fe1d542d161ea502339c2a6' ),64 name: 'Denis Oczko',65 initials: 'DO'66 }67 ],68 caseFolderId: '5fdc8497c22c898608e94e42',69 naehereAngabenZuDenEmpfehlungen: '',70 medData: [],71 linkedEmployees: [],72 linkedTimestamps: [],73 linkedContents: [],74 employeeName: 'Oczko, Denis',75 employeeInitials: 'DO',76 patientLastName: '001',77 patientFirstName: '001',78 lastChanged: Date( '2020-12-22T11:15:14.932Z' )79 }80 ],81 documents: [82 {83 _id: ObjectId( '5fe1a7cc430cbc32743b4369' ),84 usesMedia: [85 '5f9fd418e5ee7a61df10c9e1',86 '5f9fd4194bb0a461d9f950c8',87 '5f9fd4191c97d661e679916c'88 ],89 accessBy: [],90 tags: [],91 type: 'FORM',92 formId: '5f9fd3fb814faa61d83bc3f6',93 formData: '',94 mapData: {95 markerArray: [],96 markerText: '',97 contactAddresses: [],98 contactAddressesName: [],99 actType: 'FORM',100 subType: ' ',101 status: 'CREATED',102 currency: 'EUR',103 currencySymbol: '€',104 caseFolderType: 'PUBLIC',105 caseFolderAdditionalType: null,106 caseFolderIdentity: null,107 age: 91,108 dobSmaller: '12.12.29',109 dobSmallerWithoutPoints: '121229',110 dob: '12.12.1929',111 kbvDob: '12.12.1929',112 dd: '12',113 mm: '12',114 yy: '29',115 yyyy: '1929',116 patientDOB: 'Thu Dec 12 1929 10:00:00 GMT+0100',117 dobPlain: '1929-12-12T10:00:00+01:00',118 patientSince: '2020-04-21T11:19:44.683Z',119 dateOfDeath: '',120 dateOfInActive: '',121 isDeceased: 'Nein',122 inActive: 'Nein',123 reason: '',124 jobStatus: '',125 bestPatientPhone: '030303',126 patPhone: '030303',127 patEmail: '',128 patFax: '',129 patHttp: '',130 patientDbId: '5e9ed6eeee3a343fd3542ab5',131 patientId: '12',132 patientNo: '12',133 title: '',134 firstname: '001',135 nameaffix: '',136 nameinfix: '',137 lastname: '001',138 fullname: '001 001',139 talk: 'Herr',140 patientName: '001, 001',141 longPatientName: 'Herr 001 001',142 address: 'Lala 1\n12105 Berlin',143 addon: '',144 houseno: '1',145 street: 'Lala',146 zip: '12105',147 city: 'Berlin',148 country: 'Deutschland',149 countryCode: 'D',150 cantonCode: '4',151 dataTransmissionToMediportApproved: 'Nein',152 workingAt: '',153 jobTitle: '',154 isPensioner: 'Nein',155 currentDate: '22.12.2020',156 currentSmall: '22.12.20',157 displayname: '001 001',158 chiffre: '0 121229',159 insuranceName: 'BARMER',160 insuranceNo: 'M123456678',161 insuranceId: '104940005',162 insuranceKind: '1',163 persGroup: '',164 dmp: '',165 insuranceGrpId: '72601',166 insuranceBgNumber: '',167 insuranceGLN: '',168 receipientGLN: '',169 insuranceNames: 'BARMER',170 insuranceValidTo: '',171 insuranceValidToSlash: '',172 isBVG: false,173 commercialNo: '310101300',174 doctorNumber: '200007958',175 zsrNumber: '',176 careDegree: 'keiner',177 officialAddressBC: {178 zip: '12105',179 city: 'Berlin',180 street: 'Lala',181 houseno: '1',182 countryCode: 'D',183 addon: '',184 cantonCode: '4'185 },186 gender: 'm',187 genderUpperCase: 'M',188 isMale: true,189 isFemale: false,190 isMaleM: 'M',191 isFemaleW: '',192 socialSecurityNo: '',193 emergencyContact: '',194 internetAddress: '',195 mobilePhone: '',196 insuranceAddr1: 'Lichtscheider Str. 89',197 insuranceAddr2: '42285 Wuppertal',198 insurancePrintName: 'BARMER',199 insuranceType: 'PUBLIC',200 locationFeatures: '',201 costCarrierBillingSection: '00',202 feeSchedule: '2',203 paidFree: false,204 paid: true,205 arbeitsunfall: '',206 utUnfall: false,207 fk4202: '',208 createUniqCaseIdentNoOnInvoice: false,209 tiersInsurance: 'Tiers Payant',210 vekaCardNo: '',211 receiver: 'Herr 001 001',212 cardStatus: 'RED',213 timestampString: '2020-12-22T07:51:14.833Z',214 timestampDate: '2020-12-22T07:51:14.833Z',215 timestamp: '22.12.20',216 timestampBFB: '221220',217 dateNormal: '22.12.2020',218 dateQuarter: '4',219 dateYearQuarter: '2020-4',220 dateYearMonth: '2020-12',221 dateYearWeek: '2020-52',222 date: '22.12.20',223 time: '',224 diagnoses: '',225 patientAdditionalNumbers: '',226 familyDoctorModel: 'Ja',227 locName: 'DO_NEU',228 locPhone: '0300141',229 locFax: '034130314',230 locStreet: 'adsas',231 locHouseno: '12',232 locZip: '10623',233 locCity: 'Berlin',234 locEmail: 'do@doc-cirrus.com',235 locWWW: '',236 locBankName: '',237 locBankIBAN: '',238 locBankBIC: '',239 locRegion: '',240 locCantonCode: '4',241 locCountry: 'Deutschland',242 locCountryCode: 'D',243 institutionCode: '',244 locKV: '72',245 locDepartment: '',246 employeeTalk: 'Herr',247 employeeTitle: '',248 employeeFirstname: 'Denis',249 employeeNameaffix: '',250 employeeLastname: 'Oczko',251 employeeOfficialNo: '200007958',252 employeeType: 'PHYSICIAN',253 employeeTypeTranslated: 'Arzt',254 employeeDepartment: '',255 employeeNo: '',256 employeeSpecialities: '',257 specialisationText: '',258 employeeWorkDescription: '',259 employeePhysicianIknr: '',260 employeeGlnNumber: '',261 employeeZsrNumber: '',262 employeeKNumber: '',263 employeePhysicianType: '',264 arztstempel: ' Denis Oczko\n' +265 '\n' +266 'adsas 12\n' +267 '10623 Berlin\n' +268 'T: 0300141 / F: 034130314\n' +269 'LANR: 200007958\n' +270 'BSNR: 310101300\n',271 locId: '000000000000000000000001',272 locGLN: '',273 employeeId: '5e55190ed7d326bf8f1b6b00',274 employeeGLN: '',275 qualiDignitiesText: '0000',276 quantiDignitiesText: '',277 fk4124: '',278 scheinLocationFeatures: '',279 scheinDayOfAccident: '',280 scheinTimeOfAccident: '',281 scheinDayOfArrivalt: '',282 scheinTimeOfArrival: '',283 scheinDayOfFristTreat: '',284 scheinFristTreatPhysician: '',285 scheinWorkingHoursStart: '',286 scheinWorkingHoursEnd: '',287 scheinBgAhb: false,288 scheinBgBhb: false,289 scheinAccidentCompany: '',290 scheinAccidentCompanyCity: '',291 scheinAccidentCompanyPLZ: '',292 scheinAccidentCompanyStreetHouseno: '',293 isASV: false,294 certNumber: 'Y/9/1901/36/488'295 },296 formState: {297 contentType: 'dc/form',298 formName: 'ZKA',299 BasisProgrammnr: '12',300 besPersonengruppe: '00',301 KennzeichenKK: '101234567',302 VorbefundZytoNomenklaturlll: '1',303 VorbefundZytoNomenklaturlll__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',304 VorbefundZytoGrupeV: '&nbsp;',305 VorbefundZytoGrupeV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',306 VorbefundHPV: '0',307 VorbefundHPV__options: '&nbsp;{newline}*0{newline}1{newline}',308 VorbefundZytoGruppe0l: '2',309 VorbefundZytoGruppe0l__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',310 VorbefundZytoGruppell: '&nbsp;',311 VorbefundZytoGruppell__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',312 VorbefundHPVErgebnis: '&nbsp;',313 VorbefundHPVErgebnis__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',314 VorbefundVirustyp: '&nbsp;',315 VorbefundVirustyp__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}9{newline}',316 VorbefundZytoGruppelll: '&nbsp;',317 VorbefundZytoGruppelll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',318 eGKVersichertennr: 'A123456789',319 BSNR: '310101300',320 NBSNR: '',321 LANR: '200007958',322 VorbefundZytoGruppelllD: '&nbsp;',323 VorbefundZytoGruppelllD__options: '*&nbsp;{newline}1{newline}2{newline}',324 ZervixEinstellbar: '0',325 ZervixEinstellbar__options: '&nbsp;{newline}*0{newline}1{newline}',326 KolposkopischerBefund: '0',327 KolposkopischerBefund__options: '&nbsp;{newline}*0{newline}1{newline}',328 SichtbarkeitPZG: '&nbsp;',329 SichtbarkeitPZG__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',330 VorbefundZytoGruppeIV: '&nbsp;',331 VorbefundZytoGruppeIV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',332 PatIdentnr: '',333 Patdob: '12.12.1929',334 PatPLZ: '22.12.2020',335 AnzahlBiopsien: '11',336 TypTZ: '&nbsp;',337 TypTZ__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',338 kongenitaleAnomalie: '&nbsp;',339 kongenitaleAnomalie__options: '*&nbsp;{newline}1{newline}',340 Normalbefund: '&nbsp;',341 Normalbefund__options: '*&nbsp;{newline}0{newline}1{newline}',342 Kondylome: '&nbsp;',343 Kondylome__options: '*&nbsp;{newline}1{newline}',344 Endometriose: '&nbsp;',345 Endometriose__options: '*&nbsp;{newline}1{newline}',346 Polypen: '&nbsp;',347 Polypen__options: '*&nbsp;{newline}1{newline}',348 Entzuendung: '&nbsp;',349 Entzuendung__options: '*&nbsp;{newline}1{newline}',350 Stenose: '&nbsp;',351 Stenose__options: '*&nbsp;{newline}1{newline}',352 PostOPVeraenderung: '&nbsp;',353 PostOPVeraenderung__options: '*&nbsp;{newline}1{newline}',354 Sonstige32: '&nbsp;',355 Sonstige32__options: '*&nbsp;{newline}1{newline}',356 AIS: '&nbsp;',357 AIS__options: '*&nbsp;{newline}1{newline}',358 InvasivesPlattenepithelkarzinom: '&nbsp;',359 InvasivesPlattenepithelkarzinom__options: '*&nbsp;{newline}1{newline}',360 InvasivesAdenokarzinom: '&nbsp;',361 InvasivesAdenokarzinom__options: '*&nbsp;{newline}1{newline}',362 sonstigeBefunde37: '&nbsp;',363 sonstigeBefunde37__options: '*&nbsp;{newline}1{newline}',364 Befund: '1',365 Befund__options: '&nbsp;{newline}*1{newline}2{newline}',366 EinstufungDysplasievorgaenge: '&nbsp;',367 EinstufungDysplasievorgaenge__options: '*&nbsp;{newline}1{newline}2{newline}',368 EinstufungabnormenBefunde: '&nbsp;',369 EinstufungabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',370 VerdachtAIS: '&nbsp;',371 VerdachtAIS__options: '*&nbsp;{newline}0{newline}1{newline}',372 LokalisationabnormenBefunde: '&nbsp;',373 LokalisationabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}',374 'GroeßeLaesion': '&nbsp;',375 'GroeßeLaesion__options': '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',376 VerdachtInvasion: '&nbsp;',377 VerdachtInvasion__options: '*&nbsp;{newline}0{newline}1{newline}4{newline}',378 weitereBefunde: '&nbsp;',379 weitereBefunde__options: '*&nbsp;{newline}0{newline}1{newline}4{newline}',380 'Maßnahmen': '1',381 'Maßnahmen__options': '&nbsp;{newline}*1{newline}2{newline}3{newline}',382 EmpfohleneManahme: '0',383 EmpfohleneManahme__options: '&nbsp;{newline}*0{newline}1{newline}2{newline}',384 '1Sonstige33': '',385 '2Sonstige33': '',386 '1sonstigeBefunde38': '',387 '2sonstigeBefunde38': '',388 EmpfehlungKontolleAbklaerung: '&nbsp;',389 EmpfehlungKontolleAbklaerung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',390 MethodeKonisation: '&nbsp;',391 MethodeKonisation__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',392 StagingpT: '&nbsp;',393 StagingpT__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}9{newline}',394 StagingpN: '&nbsp;',395 StagingpN__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}9{newline}',396 ZeithorizontweitereKolposkopie: '&nbsp;',397 ZeithorizontweitereKolposkopie__options: '*&nbsp;{newline}1{newline}2{newline}',398 MethodeExzision: '&nbsp;',399 MethodeExzision__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',400 StagingpM: '&nbsp;',401 StagingpM__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',402 TiefeKonus: '',403 Zeithorizont: '',404 UmfangExzision: '',405 Therapieempfehlung: '&nbsp;',406 Therapieempfehlung__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 8{newline}',407 '1SonstigeoperativeEingriffe44': '',408 '2SonstigeoperativeEingriffe44': '',409 weitereTherapieempfehlungen1: '',410 weitereTherapieempfehlungen2: '',411 '1SonstigeoperativeEingriffe52': '',412 endueltigerhistoBefund: '&nbsp;',413 endueltigerhistoBefund__options: '*&nbsp;{newline}0{newline}1{newline}',414 Grading: '&nbsp;',415 Grading__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 4{newline}0 5{newline}',416 StagingFIGO: '&nbsp;',417 StagingFIGO__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}9{newline}',418 DurchfuehrungoperativerEingriff: '&nbsp;',419 DurchfuehrungoperativerEingriff__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}',420 OPdate: '22.12.2020'421 },422 formStateHash: 374107491,423 formInitialState: {424 contentType: 'dc/form',425 formName: 'ZKA',426 BasisProgrammnr: '',427 besPersonengruppe: '',428 KennzeichenKK: '',429 VorbefundZytoNomenklaturlll: '&nbsp;',430 VorbefundZytoNomenklaturlll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',431 VorbefundZytoGrupeV: '&nbsp;',432 VorbefundZytoGrupeV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',433 VorbefundHPV: '&nbsp;',434 VorbefundHPV__options: '*&nbsp;{newline}0{newline}1{newline}',435 VorbefundZytoGruppe0l: '&nbsp;',436 VorbefundZytoGruppe0l__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',437 VorbefundZytoGruppell: '&nbsp;',438 VorbefundZytoGruppell__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',439 VorbefundHPVErgebnis: '&nbsp;',440 VorbefundHPVErgebnis__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',441 VorbefundVirustyp: '&nbsp;',442 VorbefundVirustyp__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}9{newline}',443 VorbefundZytoGruppelll: '&nbsp;',444 VorbefundZytoGruppelll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',445 eGKVersichertennr: '{{InCase_T.insuranceNumber}}',446 BSNR: '310101300',447 NBSNR: '',448 LANR: '200007958',449 VorbefundZytoGruppelllD: '&nbsp;',450 VorbefundZytoGruppelllD__options: '*&nbsp;{newline}1{newline}2{newline}',451 ZervixEinstellbar: '&nbsp;',452 ZervixEinstellbar__options: '*&nbsp;{newline}0{newline}1{newline}',453 KolposkopischerBefund: '&nbsp;',454 KolposkopischerBefund__options: '*&nbsp;{newline}0{newline}1{newline}',455 SichtbarkeitPZG: '&nbsp;',456 SichtbarkeitPZG__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',457 VorbefundZytoGruppeIV: '&nbsp;',458 VorbefundZytoGruppeIV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',459 PatIdentnr: '',460 Patdob: '12.12.1929',461 PatPLZ: '22.12.2020',462 AnzahlBiopsien: '',463 TypTZ: '&nbsp;',464 TypTZ__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',465 kongenitaleAnomalie: '&nbsp;',466 kongenitaleAnomalie__options: '*&nbsp;{newline}1{newline}',467 Normalbefund: '&nbsp;',468 Normalbefund__options: '*&nbsp;{newline}0{newline}1{newline}',469 Kondylome: '&nbsp;',470 Kondylome__options: '*&nbsp;{newline}1{newline}',471 Endometriose: '&nbsp;',472 Endometriose__options: '*&nbsp;{newline}1{newline}',473 Polypen: '&nbsp;',474 Polypen__options: '*&nbsp;{newline}1{newline}',475 Entzuendung: '&nbsp;',476 Entzuendung__options: '*&nbsp;{newline}1{newline}',477 Stenose: '&nbsp;',478 Stenose__options: '*&nbsp;{newline}1{newline}',479 PostOPVeraenderung: '&nbsp;',480 PostOPVeraenderung__options: '*&nbsp;{newline}1{newline}',481 Sonstige32: '&nbsp;',482 Sonstige32__options: '*&nbsp;{newline}1{newline}',483 AIS: '&nbsp;',484 AIS__options: '*&nbsp;{newline}1{newline}',485 InvasivesPlattenepithelkarzinom: '&nbsp;',486 InvasivesPlattenepithelkarzinom__options: '*&nbsp;{newline}1{newline}',487 InvasivesAdenokarzinom: '&nbsp;',488 InvasivesAdenokarzinom__options: '*&nbsp;{newline}1{newline}',489 sonstigeBefunde37: '&nbsp;',490 sonstigeBefunde37__options: '*&nbsp;{newline}1{newline}',491 Befund: '&nbsp;',492 Befund__options: '*&nbsp;{newline}1{newline}2{newline}',493 EinstufungDysplasievorgaenge: '&nbsp;',494 EinstufungDysplasievorgaenge__options: '*&nbsp;{newline}1{newline}2{newline}',495 EinstufungabnormenBefunde: '&nbsp;',496 EinstufungabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',497 VerdachtAIS: '&nbsp;',498 VerdachtAIS__options: '*&nbsp;{newline}0{newline}1{newline}',499 LokalisationabnormenBefunde: '&nbsp;',500 LokalisationabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}',501 'GroeßeLaesion': '&nbsp;',502 'GroeßeLaesion__options': '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',503 VerdachtInvasion: '&nbsp;',504 VerdachtInvasion__options: '*&nbsp;{newline}0{newline}1{newline}4{newline}',505 weitereBefunde: '&nbsp;',506 weitereBefunde__options: '*&nbsp;{newline}0{newline}1{newline}4{newline}',507 'Maßnahmen': '&nbsp;',508 'Maßnahmen__options': '*&nbsp;{newline}1{newline}2{newline}3{newline}',509 EmpfohleneManahme: '&nbsp;',510 EmpfohleneManahme__options: '*&nbsp;{newline}0{newline}1{newline}2{newline}',511 '1Sonstige33': '',512 '2Sonstige33': '',513 '1sonstigeBefunde38': '',514 '2sonstigeBefunde38': '',515 EmpfehlungKontolleAbklaerung: '&nbsp;',516 EmpfehlungKontolleAbklaerung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',517 MethodeKonisation: '&nbsp;',518 MethodeKonisation__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',519 StagingpT: '&nbsp;',520 StagingpT__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}9{newline}',521 StagingpN: '&nbsp;',522 StagingpN__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}9{newline}',523 ZeithorizontweitereKolposkopie: '&nbsp;',524 ZeithorizontweitereKolposkopie__options: '*&nbsp;{newline}1{newline}2{newline}',525 MethodeExzision: '&nbsp;',526 MethodeExzision__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',527 StagingpM: '&nbsp;',528 StagingpM__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',529 TiefeKonus: '',530 Zeithorizont: '',531 UmfangExzision: '',532 Therapieempfehlung: '&nbsp;',533 Therapieempfehlung__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 8{newline}',534 '1SonstigeoperativeEingriffe44': '',535 '2SonstigeoperativeEingriffe44': '',536 weitereTherapieempfehlungen1: '',537 weitereTherapieempfehlungen2: '',538 '1SonstigeoperativeEingriffe52': '',539 endueltigerhistoBefund: '&nbsp;',540 endueltigerhistoBefund__options: '*&nbsp;{newline}0{newline}1{newline}',541 Grading: '&nbsp;',542 Grading__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 4{newline}0 5{newline}',543 StagingFIGO: '&nbsp;',544 StagingFIGO__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}9{newline}',545 DurchfuehrungoperativerEingriff: '&nbsp;',546 DurchfuehrungoperativerEingriff__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}',547 OPdate: '22.12.2020'548 },549 formInstanceId: '5fa2b6cb414f7e75d87b45cf',550 publisher: 'Denis Oczko',551 contentType: 'dc/form',552 printerName: 'Virtual_PDF_Printer',553 locationId: '000000000000000000000001',554 isEditable: false,555 createdOn: Date( '2020-12-22T07:51:23.400Z' ),556 lastChanged: Date( '2020-12-22T11:15:14.974Z' ),557 actType: 'FORM',558 activityId: '5fe1a7cc430cbc32743b436a',559 caseFolderId: '5fdc8497c22c898608e94e42',560 patientId: '5e9ed6eeee3a343fd3542ab5',561 patientName: '001, 001',562 subType: ''563 }564 ],565 employees: [566 {567 _id: ObjectId( '5e55190ed7d326bf8f1b6b00' ),568 title: '',569 firstname: 'Denis',570 nameaffix: '',571 middlename: '',572 fk3120: '',573 lastname: 'Oczko',574 specialities: [],575 specialisationText: '',576 asvTeamNumbers: [],577 asvSpecializations: [],578 asvMembershipType: 'FULL',579 arztstempel: '',580 fromLDAP: false,581 countryMode: ['D'],582 qualiDignities: ['0000'],583 quantiDignities: [],584 roles: ['Empfang'],585 preferredLanguage: '',586 currentLocation: '000000000000000000000001',587 labdataSortOrder: 'MACRO4,CA,CL,FE,K,NA,P,AP,AMYL,LIP,CHE,CK,GGT,GOT,GPT,LDH,SP,HST,HS,MDRDK,KREA',588 bsnrs: [],589 expertise: [],590 ownZsrNumber: false,591 accounts: [],592 communications: [593 {594 signaling: true,595 confirmed: false,596 confirmNeeded: false,597 _id: ObjectId( '5e55190ed7d326bf8f1b6b01' ),598 type: 'EMAILJOB',599 preferred: false,600 value: 'do@doc-cirrus.com'601 }602 ],603 addresses: [],604 type: 'PHYSICIAN',605 locations: [606 {_id: '5e59116846acde8f581ad013', locname: 'Loc_2'},607 {_id: '5e5cf1f94a3f670bcfb290be', locname: 'AVWG Praxis 1'},608 {_id: '5e5cf25a4a3f670bcfb290c4', locname: 'AVWG Praxis 2'},609 {_id: '5ebd338246208810e74903f5', locname: 'DO_NEU_NB'},610 {_id: '5ecb62f2d8e4e7045509d566', locname: 'BS17'},611 {_id: '5f9ab52fdaaf2c66086c596f', locname: 'BS20'},612 {_id: '5fa42ab71c4d525450a25160', locname: 'Str. 1'},613 {_id: '000000000000000000000001', locname: 'DO_NEU'}614 ],615 talk: 'MR',616 notifications: [],617 username: 'DO',618 initials: 'DO',619 memberOf: [620 {_id: ObjectId( '5e55190ed7d326bf8f1b6aff' ), group: 'USER'},621 {_id: ObjectId( '5e551a87f6dd65bf8dd8edfd' ), group: 'ADMIN'},622 {_id: ObjectId( '5e551a87f6dd65bf8dd8edfc' ), group: 'CONTROLLER'},623 {_id: ObjectId( '5e551a87f6dd65bf8dd8edfb' ), group: 'SUPERUSER'},624 {_id: ObjectId( '5fdc4e27c22c898608e94dec' ), group: 'PHYSICIAN'}625 ],626 officialNo: '200007958',627 status: 'ACTIVE',628 dob: Date( '2020-02-25T12:54:38.624Z' )629 }630 ],631 location: {632 _id: ObjectId( '000000000000000000000001' ),633 kv: '72',634 kind: 'OFFICIAL',635 addon: '',636 countryCode: 'D',637 country: 'Deutschland',638 city: 'Berlin',639 zip: '10623',640 houseno: '12',641 street: 'adsas',642 email: 'do@doc-cirrus.com',643 locname: 'DO_NEU',644 commercialNo: '310101300',645 countryMode: ['D'],646 budgets: [647 {648 specialities: [],649 _id: ObjectId( '5f5202f655307c482c9d88e1' ),650 type: 'KBVUTILITY',651 startBudget: 1,652 startDate: Date( '2020-07-31T22:00:00.000Z' ),653 patientAgeRange1: 100,654 patientAgeRange2: 100,655 patientAgeRange3: 100,656 patientAgeRange4: 100657 }658 ],659 cardType: 'BANK',660 defaultPrinter: 'Virtual_PDF_Printer',661 emailFooter: '',662 enabledPrinters: ['Virtual_PDF_Printer'],663 imapPassword: '',664 imapUrl: '',665 imapUserName: '',666 isAdditionalLocation: false,667 isOptional: true,668 lastChanged: Date( '2020-11-13T14:13:02.913Z' ),669 openTimes: [],670 smtpEmailFrom: '',671 smtpHost: '',672 smtpPassword: '',673 smtpUserName: '',674 stockLocations: [],675 gkvInvoiceReceiver: '31',676 nonStandardCommercialNo: false,677 firstname: '',678 lastname: '',679 middlename: '',680 nameaffix: '',681 title: '',682 cantonCode: '4',683 konnektorProductVersion: 'XXX',684 fax: '034130314',685 phone: '0300141'686 },687 patients: [688 {689 _id: ObjectId( '5e9ed6eeee3a343fd3542ab5' ),690 additionalMirrorPatientIds: [],691 title: '',692 firstname: '001',693 nameaffix: '',694 middlename: '',695 fk3120: '',696 lastname: '001',697 physicians: [],698 employees: [ObjectId( '5e55190ed7d326bf8f1b6b00' )],699 markers: [],700 createPlanned: false,701 accessPRC: false,702 talk: 'MR',703 gender: 'MALE',704 sendPatientReceipt: false,705 patientNumber: 12,706 attachedSeverity: 'NONE',707 crmTags: [],708 edmpTypes: ['DM1'],709 edmpNotifiedAboutStatementOfParticipationTypes: ['DM1'],710 ehksDocType: 'EHKSND',711 scheinEmployeeIds: ['5e55190ed7d326bf8f1b6b00'],712 confirmedViewFromOtherLocations: true,713 additionalContacts: [],714 patientsFamilyMembers: [],715 additionalFamilyMembers: [],716 countryMode: ['D'],717 accounts: [],718 communications: [719 {720 signaling: true,721 confirmed: false,722 confirmNeeded: false,723 _id: ObjectId( '5ea6d788694a17e1bf7dea8a' ),724 type: 'PHONEPRIV',725 value: '030303'726 }727 ],728 addresses: [729 {730 street: 'Lala',731 houseno: '1',732 zip: '12105',733 city: 'Berlin',734 country: 'Deutschland',735 countryCode: 'D',736 addon: '',737 title: '',738 firstname: '',739 nameaffix: '',740 middlename: '',741 lastname: '',742 _id: ObjectId( '5e9ed6eeee3a343fd3542ab6' ),743 kind: 'OFFICIAL',744 cantonCode: '4'745 }746 ],747 kbvDob: '12.12.1929',748 insuranceStatus: [749 {750 fk4133: null,751 fk4110: null,752 insuranceKind: '1',753 costCarrierBillingSection: '00',754 costCarrierBillingGroup: '11',755 feeSchedule: '2',756 fused: false,757 unzkv: [],758 bgNumber: '',759 address1: 'Lichtscheider Str. 89',760 address2: '42285 Wuppertal',761 zipcode: '',762 city: '',763 phone: '',764 insuranceLink: '',765 email: '',766 insuranceGLN: '',767 recipientGLN: '',768 department: '',769 isTiersGarant: false,770 isTiersPayant: true,771 _id: ObjectId( '5e9ed6eeee3a343fd3542ab7' ),772 insuranceNo: 'M123456678',773 insuranceId: '104940005',774 insuranceName: 'BARMER',775 insurancePrintName: 'BARMER',776 insuranceGrpId: '72601',777 type: 'PUBLIC',778 persGroup: '4',779 dmp: '',780 kv: '72',781 locationId: '000000000000000000000001',782 fusedFrom: null,783 fusedToInsuranceId: null784 }785 ],786 affiliates: [],787 images: [],788 devices: [],789 partnerIds: [790 {791 asvTeamNumbers: [],792 _id: ObjectId( '5f48bf35f32aa383090f4f4f' ),793 partnerId: 'EDMP'794 }795 ],796 careDegree: 'NO',797 dob: Date( '1929-12-12T09:00:00.000Z' ),798 isDeceased: false,799 inActive: false,800 dob_MM: '12',801 dob_DD: '12',802 patientSince: Date( '2020-04-21T11:19:44.683Z' ),803 crmTreatments: [],804 crmCatalogShort: 'GOÄ',805 latestLabData: [],806 locationId: '',807 patientNo: '12',808 lastChanged: Date( '2020-12-22T10:59:34.058Z' ),809 activeCaseFolderId: '5fdc8497c22c898608e94e42',810 confirmedViewFromLocationIds: ['5e5cf25a4a3f670bcfb290c4', '5e59116846acde8f581ad013'],811 familyDoctorModel: false,812 attachedActivity: '5f0c6c6cf4e9c3803c1234e5',813 attachedContent: 'BL Versicherter: 5/0 (35524/0 35533/0)',814 edmpCaseNo: '12',815 ehksActivated: true,816 ehksPatientNo: '12',817 latestMedData: []818 }819 ]820 },821 result: '<?xml version="1.0" encoding="utf-8"?><root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:gba:sqg ../../interface_LE/2020_kv_pid_1.0_Export.xsd" xmlns="urn:gba:sqg" container_version="2.0" content_version="1.0"><header><document><id V="{dacba71e-f993-4736-9a84-b1d6053a5ccd}"/><set_id V="{dacba71e-f993-4736-9a84-b1d6053a5ccd}"/><origination_dttm V="2020-12-28T12:30:42.767Z"/><modification_dttm V="2020-12-28T12:30:42.767Z"/><software><vendor name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Softwarehersteller" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><name V="DocCirrus-inSuite"/><version V="4.17.0"/><specification V="2020 PB V05"/></software><data_flow V="QS-Kollektivvertraglich"/><data_target V="Testdatenpool"/></document><provider name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Leistungserbringer" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><protocol><status_document V="OK"/></protocol><encryption/></header><body><data_container><care_provider><BSNRAMBULANT V="310101300"/><LANR V="200007958"/></care_provider><cases module="ZKA" pseud_procedure="ZK"><case><patient twodigitik="10"><pid><VERSICHERTENIDNEU V="M123456678"/></pid></patient><case_admin><id V="694176"/><guid V="{403602b8-3c0d-4fb3-9629-7ae5cec6b04e}"/><version V="1"/><action V="create"/><module V="ZKA"/><quarter V="4/2020"/><protocol><status_case V="OK"/></protocol></case_admin><qs_data xsi:type="qs_data_zka_type" module="ZKA"><B><felder><DokAbschlDat V="28.12.2020"/><PROGRAMMZK V="12"/><kasseiknr2Stellen V="10"/><versichertenstatusgkv V="0"/><GEBDATUM V="12.12.1929"/><DATUMUNT V="22.12.2020"/><ZYTBEFUNDVORUNT V="1"/><ZYTBEFUNDVORUNT01 V="2"/><ZYTBEFUNDVORUNTII/><ZYTBEFUNDVORUNTIII/><ZYTBEFUNDVORUNTIIID/><ZYTBEFUNDVORUNTIV/><ZYTBEFUNDVORUNTV/><HPVTVORUNTVORHAND V="0"/><HPVTVORBEFUND/><HPVVIRUSTYPVORBEFUND/><ZERVIXEINSTELLBAR V="0"/><KOLPOSKBEFUND V="0"/><PZGSICHTBAR/><TZTYP/><NORMALBEFUND/><GRADABNBEFUNDE/><VERDACHTAIS/><LOKALABNBEFUNDE/><GROESSELAESION/><VERDACHTINVASION/><WEITEREBEFUNDE/><KONGENANOMALIE/><KONDYLOME/><ENDOMETRIOSE/><EKTOENDOPOLYPEN/><ENTZUENDUNG/><STENOSE/><POSTOPVERAEND/><SONSTWEITBEFUNDE/><SONSTBEFUNDE/><MASSNAHMEN V="1"/><ANZAHLBIOPSIEN V="11"/><BEFUNDBIOPSKUERET V="1"/><METAPLASIEVORGAENGE/><ADENOCARCINOMAINSITU/><INVASIVPLATTENEPITHELKARZ/><INVASIVADENOKARZ/><SONSTMETAPLASIEBEFUNDE/><SONSTBEFBIOPSKUERET/><EMPFOHLENEMASSNAHMEBIOPS V="0"/><EMPFOHLENEKONTRABKL/><ZEITHORIZONTKONTRABKL/><ZEITHORIZONT/><THERAPIEEMPFEHLUNG/><SONSTOPEINGR/><WEITERETHERAPIEEMPF/><OPDATUM V="22.12.2020"/><ARTOPEINGRIFF/><METHOKONISATION/><TIEFEKONUS/><METHOEXZISION/><UMFANGEXZISION/><SONSTOPEINGR2/><ENDHISTOLBEFUNDVORH/><GRADING/><STAGINGFIGO/><TNMPT/><TNMPN/><TNMPM/></felder></B></qs_data></case><statistic><sent count="1"><create V="1"/><update V="0"/><delete V="0"/><corrupted V="0"/></sent><processed count="0"><create V="0"/><update V="0"/><delete V="0"/><corrupted V="0"/></processed></statistic></cases></data_container></body></root>'...

Full Screen

Full Screen

beautify.js

Source:beautify.js Github

copy

Full Screen

...64 }65 function trim(s) {66 return s.replace(/^\s\s*|\s\s*$/, '');67 }68 function print_newline(ignore_repeated) {69 flags.eat_next_space = false;70 if (opt_keep_array_indentation && is_array(flags.mode)) {71 return;72 }73 ignore_repeated = typeof ignore_repeated === 'undefined' ? true : ignore_repeated;74 flags.if_line = false;75 trim_output();76 if (!output.length) {77 return; // no newline on start of file78 }79 if (output[output.length - 1] !== "\n" || !ignore_repeated) {80 just_added_newline = true;81 output.push("\n");82 }83 for (var i = 0; i < flags.indentation_level; i += 1) {84 output.push(indent_string);85 }86 if (flags.var_line && flags.var_line_reindented) {87 if (opt_indent_char === ' ') {88 output.push(' '); // var_line always pushes 4 spaces, so that the variables would be one under another89 } else {90 output.push(indent_string); // skip space-stuffing, if indenting with a tab91 }92 }93 }94 function print_single_space() {95 if (flags.eat_next_space) {96 flags.eat_next_space = false;97 return;98 }99 var last_output = ' ';100 if (output.length) {101 last_output = output[output.length - 1];102 }103 if (last_output !== ' ' && last_output !== '\n' && last_output !== indent_string) { // prevent occassional duplicate space104 output.push(' ');105 }106 }107 function print_token() {108 just_added_newline = false;109 flags.eat_next_space = false;110 output.push(token_text);111 }112 function indent() {113 flags.indentation_level += 1;114 }115 function remove_indent() {116 if (output.length && output[output.length - 1] === indent_string) {117 output.pop();118 }119 }120 function set_mode(mode) {121 if (flags) {122 flag_store.push(flags);123 }124 flags = {125 previous_mode: flags ? flags.mode : 'BLOCK',126 mode: mode,127 var_line: false,128 var_line_tainted: false,129 var_line_reindented: false,130 in_html_comment: false,131 if_line: false,132 in_case: false,133 eat_next_space: false,134 indentation_baseline: -1,135 indentation_level: (flags ? flags.indentation_level + ((flags.var_line && flags.var_line_reindented) ? 1 : 0) : opt_indent_level),136 ternary_depth: 0137 };138 }139 function is_array(mode) {140 return mode === '[EXPRESSION]' || mode === '[INDENTED-EXPRESSION]';141 }142 function is_expression(mode) {143 return mode === '[EXPRESSION]' || mode === '[INDENTED-EXPRESSION]' || mode === '(EXPRESSION)';144 }145 function restore_mode() {146 do_block_just_closed = flags.mode === 'DO_BLOCK';147 if (flag_store.length > 0) {148 flags = flag_store.pop();149 }150 }151 function in_array(what, arr) {152 for (var i = 0; i < arr.length; i += 1) {153 if (arr[i] === what) {154 return true;155 }156 }157 return false;158 }159 function get_next_token() {160 n_newlines = 0;161 if (parser_pos >= input_length) {162 return ['', 'TK_EOF'];163 }164 wanted_newline = false;165 var c = input.charAt(parser_pos);166 parser_pos += 1;167 var keep_whitespace = opt_keep_array_indentation && is_array(flags.mode);168 if (keep_whitespace) {169 //170 // slight mess to allow nice preservation of array indentation and reindent that correctly171 // first time when we get to the arrays:172 // var a = [173 // ....'something'174 // we make note of whitespace_count = 4 into flags.indentation_baseline175 // so we know that 4 whitespaces in original source match indent_level of reindented source176 //177 // and afterwards, when we get to178 // 'something,179 // .......'something else'180 // we know that this should be indented to indent_level + (7 - indentation_baseline) spaces181 //182 var whitespace_count = 0;183 while (in_array(c, whitespace)) {184 if (c === "\n") {185 trim_output();186 output.push("\n");187 just_added_newline = true;188 whitespace_count = 0;189 } else {190 if (c === '\t') {191 whitespace_count += 4;192 } else if (c === '\r') {193 // nothing194 } else {195 whitespace_count += 1;196 }197 }198 if (parser_pos >= input_length) {199 return ['', 'TK_EOF'];200 }201 c = input.charAt(parser_pos);202 parser_pos += 1;203 }204 if (flags.indentation_baseline === -1) {205 flags.indentation_baseline = whitespace_count;206 }207 if (just_added_newline) {208 var i;209 for (i = 0; i < flags.indentation_level + 1; i += 1) {210 output.push(indent_string);211 }212 if (flags.indentation_baseline !== -1) {213 for (i = 0; i < whitespace_count - flags.indentation_baseline; i++) {214 output.push(' ');215 }216 }217 }218 } else {219 while (in_array(c, whitespace)) {220 if (c === "\n") {221 n_newlines += ( (opt_max_preserve_newlines) ? (n_newlines <= opt_max_preserve_newlines) ? 1: 0: 1 );222 }223 if (parser_pos >= input_length) {224 return ['', 'TK_EOF'];225 }226 c = input.charAt(parser_pos);227 parser_pos += 1;228 }229 if (opt_preserve_newlines) {230 if (n_newlines > 1) {231 for (i = 0; i < n_newlines; i += 1) {232 print_newline(i === 0);233 just_added_newline = true;234 }235 }236 }237 wanted_newline = n_newlines > 0;238 }239 if (in_array(c, wordchar)) {240 if (parser_pos < input_length) {241 while (in_array(input.charAt(parser_pos), wordchar)) {242 c += input.charAt(parser_pos);243 parser_pos += 1;244 if (parser_pos === input_length) {245 break;246 }247 }248 }249 // small and surprisingly unugly hack for 1E-10 representation250 if (parser_pos !== input_length && c.match(/^[0-9]+[Ee]$/) && (input.charAt(parser_pos) === '-' || input.charAt(parser_pos) === '+')) {251 var sign = input.charAt(parser_pos);252 parser_pos += 1;253 var t = get_next_token(parser_pos);254 c += sign + t[0];255 return [c, 'TK_WORD'];256 }257 if (c === 'in') { // hack for 'in' operator258 return [c, 'TK_OPERATOR'];259 }260 if (wanted_newline && last_type !== 'TK_OPERATOR'261 && last_type !== 'TK_EQUALS'262 && !flags.if_line && (opt_preserve_newlines || last_text !== 'var')) {263 print_newline();264 }265 return [c, 'TK_WORD'];266 }267 if (c === '(' || c === '[') {268 return [c, 'TK_START_EXPR'];269 }270 if (c === ')' || c === ']') {271 return [c, 'TK_END_EXPR'];272 }273 if (c === '{') {274 return [c, 'TK_START_BLOCK'];275 }276 if (c === '}') {277 return [c, 'TK_END_BLOCK'];278 }279 if (c === ';') {280 return [c, 'TK_SEMICOLON'];281 }282 if (c === '/') {283 var comment = '';284 // peek for comment /* ... */285 var inline_comment = true;286 if (input.charAt(parser_pos) === '*') {287 parser_pos += 1;288 if (parser_pos < input_length) {289 while (! (input.charAt(parser_pos) === '*' && input.charAt(parser_pos + 1) && input.charAt(parser_pos + 1) === '/') && parser_pos < input_length) {290 c = input.charAt(parser_pos);291 comment += c;292 if (c === '\x0d' || c === '\x0a') {293 inline_comment = false;294 }295 parser_pos += 1;296 if (parser_pos >= input_length) {297 break;298 }299 }300 }301 parser_pos += 2;302 if (inline_comment) {303 return ['/*' + comment + '*/', 'TK_INLINE_COMMENT'];304 } else {305 return ['/*' + comment + '*/', 'TK_BLOCK_COMMENT'];306 }307 }308 // peek for comment // ...309 if (input.charAt(parser_pos) === '/') {310 comment = c;311 while (input.charAt(parser_pos) !== '\r' && input.charAt(parser_pos) !== '\n') {312 comment += input.charAt(parser_pos);313 parser_pos += 1;314 if (parser_pos >= input_length) {315 break;316 }317 }318 parser_pos += 1;319 if (wanted_newline) {320 print_newline();321 }322 return [comment, 'TK_COMMENT'];323 }324 }325 if (c === "'" || // string326 c === '"' || // string327 (c === '/' &&328 ((last_type === 'TK_WORD' && in_array(last_text, ['return', 'do'])) ||329 (last_type === 'TK_COMMENT' || last_type === 'TK_START_EXPR' || last_type === 'TK_START_BLOCK' || last_type === 'TK_END_BLOCK' || last_type === 'TK_OPERATOR' || last_type === 'TK_EQUALS' || last_type === 'TK_EOF' || last_type === 'TK_SEMICOLON')))) { // regexp330 var sep = c;331 var esc = false;332 var resulting_string = c;333 if (parser_pos < input_length) {334 if (sep === '/') {335 //336 // handle regexp separately...337 //338 var in_char_class = false;339 while (esc || in_char_class || input.charAt(parser_pos) !== sep) {340 resulting_string += input.charAt(parser_pos);341 if (!esc) {342 esc = input.charAt(parser_pos) === '\\';343 if (input.charAt(parser_pos) === '[') {344 in_char_class = true;345 } else if (input.charAt(parser_pos) === ']') {346 in_char_class = false;347 }348 } else {349 esc = false;350 }351 parser_pos += 1;352 if (parser_pos >= input_length) {353 // incomplete string/rexp when end-of-file reached.354 // bail out with what had been received so far.355 return [resulting_string, 'TK_STRING'];356 }357 }358 } else {359 //360 // and handle string also separately361 //362 while (esc || input.charAt(parser_pos) !== sep) {363 resulting_string += input.charAt(parser_pos);364 if (!esc) {365 esc = input.charAt(parser_pos) === '\\';366 } else {367 esc = false;368 }369 parser_pos += 1;370 if (parser_pos >= input_length) {371 // incomplete string/rexp when end-of-file reached.372 // bail out with what had been received so far.373 return [resulting_string, 'TK_STRING'];374 }375 }376 }377 }378 parser_pos += 1;379 resulting_string += sep;380 if (sep === '/') {381 // regexps may have modifiers /regexp/MOD , so fetch those, too382 while (parser_pos < input_length && in_array(input.charAt(parser_pos), wordchar)) {383 resulting_string += input.charAt(parser_pos);384 parser_pos += 1;385 }386 }387 return [resulting_string, 'TK_STRING'];388 }389 if (c === '#') {390 if (output.length === 0 && input.charAt(parser_pos) === '!') {391 // shebang392 resulting_string = c;393 while (parser_pos < input_length && c != '\n') {394 c = input.charAt(parser_pos);395 resulting_string += c;396 parser_pos += 1;397 }398 output.push(trim(resulting_string) + '\n');399 print_newline();400 return get_next_token();401 }402 // Spidermonkey-specific sharp variables for circular references403 // https://developer.mozilla.org/En/Sharp_variables_in_JavaScript404 // http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935405 var sharp = '#';406 if (parser_pos < input_length && in_array(input.charAt(parser_pos), digits)) {407 do {408 c = input.charAt(parser_pos);409 sharp += c;410 parser_pos += 1;411 } while (parser_pos < input_length && c !== '#' && c !== '=');412 if (c === '#') {413 //414 } else if (input.charAt(parser_pos) === '[' && input.charAt(parser_pos + 1) === ']') {415 sharp += '[]';416 parser_pos += 2;417 } else if (input.charAt(parser_pos) === '{' && input.charAt(parser_pos + 1) === '}') {418 sharp += '{}';419 parser_pos += 2;420 }421 return [sharp, 'TK_WORD'];422 }423 }424 if (c === '<' && input.substring(parser_pos - 1, parser_pos + 3) === '<!--') {425 parser_pos += 3;426 flags.in_html_comment = true;427 return ['<!--', 'TK_COMMENT'];428 }429 if (c === '-' && flags.in_html_comment && input.substring(parser_pos - 1, parser_pos + 2) === '-->') {430 flags.in_html_comment = false;431 parser_pos += 2;432 if (wanted_newline) {433 print_newline();434 }435 return ['-->', 'TK_COMMENT'];436 }437 if (in_array(c, punct)) {438 while (parser_pos < input_length && in_array(c + input.charAt(parser_pos), punct)) {439 c += input.charAt(parser_pos);440 parser_pos += 1;441 if (parser_pos >= input_length) {442 break;443 }444 }445 if (c === '=') {446 return [c, 'TK_EQUALS'];447 } else {448 return [c, 'TK_OPERATOR'];449 }450 }451 return [c, 'TK_UNKNOWN'];452 }453 //----------------------------------454 indent_string = '';455 while (opt_indent_size > 0) {456 indent_string += opt_indent_char;457 opt_indent_size -= 1;458 }459 input = js_source_text;460 last_word = ''; // last 'TK_WORD' passed461 last_type = 'TK_START_EXPR'; // last token type462 last_text = ''; // last token text463 last_last_text = ''; // pre-last token text464 output = [];465 do_block_just_closed = false;466 whitespace = "\n\r\t ".split('');467 wordchar = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$'.split('');468 digits = '0123456789'.split('');469 punct = '+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! !! , : ? ^ ^= |= ::'.split(' ');470 // words which should always start on new line.471 line_starters = 'continue,try,throw,return,var,if,switch,case,default,for,while,break,function'.split(',');472 // states showing if we are currently in expression (i.e. "if" case) - 'EXPRESSION', or in usual block (like, procedure), 'BLOCK'.473 // some formatting depends on that.474 flag_store = [];475 set_mode('BLOCK');476 parser_pos = 0;477 while (true) {478 var t = get_next_token(parser_pos);479 token_text = t[0];480 token_type = t[1];481 if (token_type === 'TK_EOF') {482 break;483 }484 switch (token_type) {485 case 'TK_START_EXPR':486 if (token_text === '[') {487 if (last_type === 'TK_WORD' || last_text === ')') {488 // this is array index specifier, break immediately489 // a[x], fn()[x]490 if (in_array(last_text, line_starters)) {491 print_single_space();492 }493 set_mode('(EXPRESSION)');494 print_token();495 break;496 }497 if (flags.mode === '[EXPRESSION]' || flags.mode === '[INDENTED-EXPRESSION]') {498 if (last_last_text === ']' && last_text === ',') {499 // ], [ goes to new line500 if (flags.mode === '[EXPRESSION]') {501 flags.mode = '[INDENTED-EXPRESSION]';502 if (!opt_keep_array_indentation) {503 indent();504 }505 }506 set_mode('[EXPRESSION]');507 if (!opt_keep_array_indentation) {508 print_newline();509 }510 } else if (last_text === '[') {511 if (flags.mode === '[EXPRESSION]') {512 flags.mode = '[INDENTED-EXPRESSION]';513 if (!opt_keep_array_indentation) {514 indent();515 }516 }517 set_mode('[EXPRESSION]');518 if (!opt_keep_array_indentation) {519 print_newline();520 }521 } else {522 set_mode('[EXPRESSION]');523 }524 } else {525 set_mode('[EXPRESSION]');526 }527 } else {528 set_mode('(EXPRESSION)');529 }530 if (last_text === ';' || last_type === 'TK_START_BLOCK') {531 print_newline();532 } else if (last_type === 'TK_END_EXPR' || last_type === 'TK_START_EXPR' || last_type === 'TK_END_BLOCK' || last_text === '.') {533 // do nothing on (( and )( and ][ and ]( and .(534 } else if (last_type !== 'TK_WORD' && last_type !== 'TK_OPERATOR') {535 print_single_space();536 } else if (last_word === 'function' || last_word === 'typeof') {537 // function() vs function ()538 if (opt_jslint_happy) {539 print_single_space();540 }541 } else if (in_array(last_text, line_starters) || last_text === 'catch') {542 print_single_space();543 }544 print_token();545 break;546 case 'TK_END_EXPR':547 if (token_text === ']') {548 if (opt_keep_array_indentation) {549 if (last_text === '}') {550 // trim_output();551 // print_newline(true);552 remove_indent();553 print_token();554 restore_mode();555 break;556 }557 } else {558 if (flags.mode === '[INDENTED-EXPRESSION]') {559 if (last_text === ']') {560 restore_mode();561 print_newline();562 print_token();563 break;564 }565 }566 }567 }568 restore_mode();569 print_token();570 break;571 case 'TK_START_BLOCK':572 if (last_word === 'do') {573 set_mode('DO_BLOCK');574 } else {575 set_mode('BLOCK');576 }577 if (opt_brace_style=="expand") {578 if (last_type !== 'TK_OPERATOR') {579 if (last_text === 'return' || last_text === '=') {580 print_single_space();581 } else {582 print_newline(true);583 }584 }585 print_token();586 indent();587 } else {588 if (last_type !== 'TK_OPERATOR' && last_type !== 'TK_START_EXPR') {589 if (last_type === 'TK_START_BLOCK') {590 print_newline();591 } else {592 print_single_space();593 }594 } else {595 // if TK_OPERATOR or TK_START_EXPR596 if (is_array(flags.previous_mode) && last_text === ',') {597 if (last_last_text === '}') {598 // }, { in array context599 print_single_space();600 } else {601 print_newline(); // [a, b, c, {602 }603 }604 }605 indent();606 print_token();607 }608 break;609 case 'TK_END_BLOCK':610 restore_mode();611 if (opt_brace_style=="expand") {612 if (last_text !== '{') {613 print_newline();614 }615 print_token();616 } else {617 if (last_type === 'TK_START_BLOCK') {618 // nothing619 if (just_added_newline) {620 remove_indent();621 } else {622 // {}623 trim_output();624 }625 } else {626 if (is_array(flags.mode) && opt_keep_array_indentation) {627 // we REALLY need a newline here, but newliner would skip that628 opt_keep_array_indentation = false;629 print_newline();630 opt_keep_array_indentation = true;631 } else {632 print_newline();633 }634 }635 print_token();636 }637 break;638 case 'TK_WORD':639 // no, it's not you. even I have problems understanding how this works640 // and what does what.641 if (do_block_just_closed) {642 // do {} ## while ()643 print_single_space();644 print_token();645 print_single_space();646 do_block_just_closed = false;647 break;648 }649 if (token_text === 'function') {650 if (flags.var_line) {651 flags.var_line_reindented = true;652 }653 if ((just_added_newline || last_text === ';') && last_text !== '{') {654 // make sure there is a nice clean space of at least one blank line655 // before a new function definition656 n_newlines = just_added_newline ? n_newlines : 0;657 if ( ! opt_preserve_newlines) {658 n_newlines = 1;659 }660 for (var i = 0; i < 2 - n_newlines; i++) {661 print_newline(false);662 }663 }664 }665 if (token_text === 'case' || token_text === 'default') {666 if (last_text === ':') {667 // switch cases following one another668 remove_indent();669 } else {670 // case statement starts in the same line where switch671 flags.indentation_level--;672 print_newline();673 flags.indentation_level++;674 }675 print_token();676 flags.in_case = true;677 break;678 }679 prefix = 'NONE';680 if (last_type === 'TK_END_BLOCK') {681 if (!in_array(token_text.toLowerCase(), ['else', 'catch', 'finally'])) {682 prefix = 'NEWLINE';683 } else {684 if (opt_brace_style=="expand" || opt_brace_style=="end-expand") {685 prefix = 'NEWLINE';686 } else {687 prefix = 'SPACE';688 print_single_space();689 }690 }691 } else if (last_type === 'TK_SEMICOLON' && (flags.mode === 'BLOCK' || flags.mode === 'DO_BLOCK')) {692 prefix = 'NEWLINE';693 } else if (last_type === 'TK_SEMICOLON' && is_expression(flags.mode)) {694 prefix = 'SPACE';695 } else if (last_type === 'TK_STRING') {696 prefix = 'NEWLINE';697 } else if (last_type === 'TK_WORD') {698 if (last_text === 'else') {699 // eat newlines between ...else *** some_op...700 // won't preserve extra newlines in this place (if any), but don't care that much701 trim_output(true);702 }703 prefix = 'SPACE';704 } else if (last_type === 'TK_START_BLOCK') {705 prefix = 'NEWLINE';706 } else if (last_type === 'TK_END_EXPR') {707 print_single_space();708 prefix = 'NEWLINE';709 }710 if (in_array(token_text, line_starters) && last_text !== ')') {711 if (last_text == 'else') {712 prefix = 'SPACE';713 } else {714 prefix = 'NEWLINE';715 }716 }717 if (flags.if_line && last_type === 'TK_END_EXPR') {718 flags.if_line = false;719 }720 if (in_array(token_text.toLowerCase(), ['else', 'catch', 'finally'])) {721 if (last_type !== 'TK_END_BLOCK' || opt_brace_style=="expand" || opt_brace_style=="end-expand") {722 print_newline();723 } else {724 trim_output(true);725 print_single_space();726 }727 } else if (prefix === 'NEWLINE') {728 if ((last_type === 'TK_START_EXPR' || last_text === '=' || last_text === ',') && token_text === 'function') {729 // no need to force newline on 'function': (function730 // DONOTHING731 } else if (token_text === 'function' && last_text == 'new') {732 print_single_space();733 } else if (last_text === 'return' || last_text === 'throw') {734 // no newline between 'return nnn'735 print_single_space();736 } else if (last_type !== 'TK_END_EXPR') {737 if ((last_type !== 'TK_START_EXPR' || token_text !== 'var') && last_text !== ':') {738 // no need to force newline on 'var': for (var x = 0...)739 if (token_text === 'if' && last_word === 'else' && last_text !== '{') {740 // no newline for } else if {741 print_single_space();742 } else {743 flags.var_line = false;744 flags.var_line_reindented = false;745 print_newline();746 }747 }748 } else if (in_array(token_text, line_starters) && last_text != ')') {749 flags.var_line = false;750 flags.var_line_reindented = false;751 print_newline();752 }753 } else if (is_array(flags.mode) && last_text === ',' && last_last_text === '}') {754 print_newline(); // }, in lists get a newline treatment755 } else if (prefix === 'SPACE') {756 print_single_space();757 }758 print_token();759 last_word = token_text;760 if (token_text === 'var') {761 flags.var_line = true;762 flags.var_line_reindented = false;763 flags.var_line_tainted = false;764 }765 if (token_text === 'if') {766 flags.if_line = true;767 }768 if (token_text === 'else') {769 flags.if_line = false;770 }771 break;772 case 'TK_SEMICOLON':773 print_token();774 flags.var_line = false;775 flags.var_line_reindented = false;776 if (flags.mode == 'OBJECT') {777 // OBJECT mode is weird and doesn't get reset too well.778 flags.mode = 'BLOCK';779 }780 break;781 case 'TK_STRING':782 if (last_type === 'TK_START_BLOCK' || last_type === 'TK_END_BLOCK' || last_type === 'TK_SEMICOLON') {783 print_newline();784 } else if (last_type === 'TK_WORD') {785 print_single_space();786 }787 print_token();788 break;789 case 'TK_EQUALS':790 if (flags.var_line) {791 // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done792 flags.var_line_tainted = true;793 }794 print_single_space();795 print_token();796 print_single_space();797 break;798 case 'TK_OPERATOR':799 var space_before = true;800 var space_after = true;801 if (flags.var_line && token_text === ',' && (is_expression(flags.mode))) {802 // do not break on comma, for(var a = 1, b = 2)803 flags.var_line_tainted = false;804 }805 if (flags.var_line) {806 if (token_text === ',') {807 if (flags.var_line_tainted) {808 print_token();809 flags.var_line_reindented = true;810 flags.var_line_tainted = false;811 print_newline();812 break;813 } else {814 flags.var_line_tainted = false;815 }816 // } else if (token_text === ':') {817 // hmm, when does this happen? tests don't catch this818 // flags.var_line = false;819 }820 }821 if (last_text === 'return' || last_text === 'throw') {822 // "return" had a special handling in TK_WORD. Now we need to return the favor823 print_single_space();824 print_token();825 break;826 }827 if (token_text === ':' && flags.in_case) {828 print_token(); // colon really asks for separate treatment829 print_newline();830 flags.in_case = false;831 break;832 }833 if (token_text === '::') {834 // no spaces around exotic namespacing syntax operator835 print_token();836 break;837 }838 if (token_text === ',') {839 if (flags.var_line) {840 if (flags.var_line_tainted) {841 print_token();842 print_newline();843 flags.var_line_tainted = false;844 } else {845 print_token();846 print_single_space();847 }848 } else if (last_type === 'TK_END_BLOCK' && flags.mode !== "(EXPRESSION)") {849 print_token();850 if (flags.mode === 'OBJECT' && last_text === '}') {851 print_newline();852 } else {853 print_single_space();854 }855 } else {856 if (flags.mode === 'OBJECT') {857 print_token();858 print_newline();859 } else {860 // EXPR or DO_BLOCK861 print_token();862 print_single_space();863 }864 }865 break;866 // } else if (in_array(token_text, ['--', '++', '!']) || (in_array(token_text, ['-', '+']) && (in_array(last_type, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS']) || in_array(last_text, line_starters) || in_array(last_text, ['==', '!=', '+=', '-=', '*=', '/=', '+', '-'])))) {867 } else if (in_array(token_text, ['--', '++', '!']) || (in_array(token_text, ['-', '+']) && (in_array(last_type, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']) || in_array(last_text, line_starters)))) {868 // unary operators (and binary +/- pretending to be unary) special cases869 space_before = false;870 space_after = false;871 if (last_text === ';' && is_expression(flags.mode)) {872 // for (;; ++i)873 // ^^^874 space_before = true;875 }876 if (last_type === 'TK_WORD' && in_array(last_text, line_starters)) {877 space_before = true;878 }879 if (flags.mode === 'BLOCK' && (last_text === '{' || last_text === ';')) {880 // { foo; --i }881 // foo(); --bar;882 print_newline();883 }884 } else if (token_text === '.') {885 // decimal digits or object.property886 space_before = false;887 } else if (token_text === ':') {888 if (flags.ternary_depth == 0) {889 flags.mode = 'OBJECT';890 space_before = false;891 } else {892 flags.ternary_depth -= 1;893 }894 } else if (token_text === '?') {895 flags.ternary_depth += 1;896 }897 if (space_before) {898 print_single_space();899 }900 print_token();901 if (space_after) {902 print_single_space();903 }904 if (token_text === '!') {905 // flags.eat_next_space = true;906 }907 break;908 case 'TK_BLOCK_COMMENT':909 var lines = token_text.split(/\x0a|\x0d\x0a/);910 if (/^\/\*\*/.test(token_text)) {911 // javadoc: reformat and reindent912 print_newline();913 output.push(lines[0]);914 for (i = 1; i < lines.length; i++) {915 print_newline();916 output.push(' ');917 output.push(trim(lines[i]));918 }919 } else {920 // simple block comment: leave intact921 if (lines.length > 1) {922 // multiline comment block starts with a new line923 print_newline();924 trim_output();925 } else {926 // single-line /* comment */ stays where it is927 print_single_space();928 }929 for (i = 0; i < lines.length; i++) {930 output.push(lines[i]);931 output.push('\n');932 }933 }934 print_newline();935 break;936 case 'TK_INLINE_COMMENT':937 print_single_space();938 print_token();939 if (is_expression(flags.mode)) {940 print_single_space();941 } else {942 print_newline();943 }944 break;945 case 'TK_COMMENT':946 // print_newline();947 if (wanted_newline) {948 print_newline();949 } else {950 print_single_space();951 }952 print_token();953 print_newline();954 break;955 case 'TK_UNKNOWN':956 if (last_text === 'return' || last_text === 'throw') {957 print_single_space();958 }959 print_token();960 break;961 }962 last_last_text = last_text;963 last_type = token_type;964 last_text = token_text;965 }966 return output.join('').replace(/[\n ]+$/, '');967}...

Full Screen

Full Screen

zka-1.js

Source:zka-1.js Github

copy

Full Screen

1/**2 * User: do3 * Date: 12.01.21 13:504 * (c) 2012, Doc Cirrus GmbH, Berlin5 */6const ObjectId = require( 'mongoose' ).Types.ObjectId;7module.exports = {8 context: {9 formName: 'ZKA',10 activities: [11 {12 _id: ObjectId( "5ffd9eba08b33810ef278268" ),13 actType: 'FORM',14 status: 'VALID',15 attachments: ['5ffd9eba08b33810ef278267'],16 attachedMediaTags: [],17 subType: '',18 time: '',19 backupEmployeeIds: [],20 userContent: 'ZKA',21 mediaImportError: '',22 partnerInfo: '',23 explanations: '',24 activities: [],25 referencedBy: [],26 formId: '5f9fd3fb814faa61d83bc3f6',27 formVersion: '5fb4f46c658f2e2ebbd77c4e',28 formPdf: '',29 formLang: 'de',30 formGender: 'm',31 apkState: 'IN_PROGRESS',32 unlinkedMirrorIds: [],33 savedEmails: [],34 ruleStatus: 'NOT_VALIDATED',35 receipts: [],36 scheinOrder: '',37 scheinDiagnosis: '',38 reasonType: '',39 totalReceipts: 0,40 totalPenalties: 0,41 totalReceiptsOutstanding: 0,42 continuousIcds: [],43 insuranceName: '',44 hasVat: false,45 vat: 0,46 icds: [],47 icdsExtra: [],48 scheinSlipMedicalTreatment: '',49 erstBesch: true,50 folgeBesc: false,51 eTSArrangementCode: '',52 eTSArrangementCodeRequestMessageId: '',53 eTSAErrorMessage: '',54 __t: 'FORM',55 attachedMedia: [],56 timestamp: Date( "2021-01-12T13:01:27.195Z" ),57 patientId: '5f92dc9a218a1f5e886859fd',58 employeeId: '5e55190ed7d326bf8f1b6b00',59 locationId: ObjectId( "000000000000000000000001" ),60 content: 'ZKA',61 editor: [62 {63 _id: ObjectId( "5ffdb21308b33810ef2782ae" ),64 name: 'Denis Oczko',65 initials: 'DO'66 }67 ],68 caseFolderId: '5f9676f6ec66806e93d92adb',69 naehereAngabenZuDenEmpfehlungen: '',70 medData: [],71 linkedEmployees: [],72 linkedTimestamps: [],73 linkedContents: [],74 employeeName: 'Oczko, Denis',75 employeeInitials: 'DO',76 patientLastName: '0000000X',77 patientFirstName: '0000000X',78 lastChanged: Date( "2021-01-12T14:28:35.841Z" )79 }80 ],81 documents: [82 {83 _id: ObjectId( "5ffd9eba08b33810ef278267" ),84 usesMedia: [85 '5f9fd418e5ee7a61df10c9e1',86 '5f9fd4194bb0a461d9f950c8',87 '5f9fd4191c97d661e679916c'88 ],89 accessBy: [],90 tags: [],91 type: 'FORM',92 formId: '5f9fd3fb814faa61d83bc3f6',93 formData: '',94 mapData: {95 markerArray: [],96 markerText: '',97 contactAddresses: [],98 contactAddressesName: [],99 actType: 'FORM',100 subType: ' ',101 status: 'CREATED',102 currency: 'EUR',103 currencySymbol: '€',104 caseFolderType: 'PUBLIC',105 caseFolderAdditionalType: null,106 caseFolderIdentity: null,107 age: 20,108 dobSmaller: '12.12.00',109 dobSmallerWithoutPoints: '121200',110 dob: '12.12.2000',111 kbvDob: '12.12.2000',112 dd: '12',113 mm: '12',114 yy: '00',115 yyyy: '2000',116 patientDOB: 'Tue Dec 12 2000 10:00:00 GMT+0100',117 dobPlain: '2000-12-12T10:00:00+01:00',118 patientSince: '2020-10-23T13:37:13.418Z',119 dateOfDeath: '',120 dateOfInActive: '',121 isDeceased: 'Nein',122 inActive: 'Nein',123 reason: '',124 jobStatus: '',125 bestPatientPhone: '',126 patPhone: '',127 patEmail: '',128 patFax: '',129 patHttp: '',130 patientDbId: '5f92dc9a218a1f5e886859fd',131 patientId: '23',132 patientNo: '23',133 title: '',134 firstname: '0000000X',135 nameaffix: '',136 nameinfix: '',137 lastname: '0000000X',138 fullname: '0000000X 0000000X',139 talk: 'Herr',140 patientName: '0000000X, 0000000X',141 longPatientName: 'Herr 0000000X 0000000X',142 address: '',143 postbox: '',144 addon: '',145 houseno: '',146 street: '',147 zip: '',148 city: '',149 country: '',150 countryCode: '',151 cantonCode: '',152 dataTransmissionToMediportApproved: 'Nein',153 workingAt: '',154 jobTitle: '',155 isPensioner: 'Nein',156 currentDate: '12.01.2021',157 currentSmall: '12.01.21',158 displayname: '0000000X 0000000X',159 chiffre: '0 121200',160 insuranceName: 'BARMER',161 insuranceNo: '',162 insuranceId: '104940005',163 insuranceKind: '1',164 persGroup: '',165 dmp: '',166 insuranceGrpId: '72601',167 insuranceBgNumber: '',168 insuranceGLN: '',169 receipientGLN: '',170 insuranceNames: 'BARMER',171 insuranceValidTo: '',172 insuranceValidToSlash: '',173 isBVG: false,174 commercialNo: '310101300',175 doctorNumber: '200007958',176 zsrNumber: '',177 careDegree: 'keiner',178 officialAddressBC: {},179 poboxAddressBC: {},180 gender: 'm',181 genderUpperCase: 'M',182 isMale: true,183 isFemale: false,184 isMaleM: 'M',185 isFemaleW: '',186 socialSecurityNo: '',187 emergencyContact: '',188 internetAddress: '',189 mobilePhone: '',190 insuranceAddr1: 'Lichtscheider Str. 89',191 insuranceAddr2: '42285 Wuppertal',192 insurancePrintName: 'BARMER',193 insuranceType: 'PUBLIC',194 locationFeatures: '',195 costCarrierBillingSection: '00',196 feeSchedule: '2',197 paidFree: false,198 paid: true,199 arbeitsunfall: '',200 utUnfall: false,201 fk4202: '',202 createUniqCaseIdentNoOnInvoice: false,203 tiersInsurance: 'Tiers Payant',204 vekaCardNo: '',205 receiver: 'Herr 0000000X 0000000X',206 cardStatus: 'RED',207 timestampString: '2021-01-12T13:01:27.195Z',208 timestampDate: '2021-01-12T13:01:27.195Z',209 timestamp: '12.01.21',210 timestampBFB: '120121',211 dateNormal: '12.01.2021',212 dateQuarter: '1',213 dateYearQuarter: '2021-1',214 dateYearMonth: '2021-1',215 dateYearWeek: '2021-2',216 date: '12.01.21',217 time: '',218 diagnoses: '',219 patientAdditionalNumbers: '',220 familyDoctorModel: 'Ja',221 locName: 'DO_NEU',222 locPhone: '0300141',223 locFax: '034130314',224 locStreet: 'adsas',225 locHouseno: '12',226 locZip: '10623',227 locCity: 'Berlin',228 locEmail: 'do@doc-cirrus.com',229 locWWW: '',230 locBankName: '',231 locBankIBAN: '',232 locBankBIC: '',233 locRegion: '',234 locCantonCode: '4',235 locCountry: 'Deutschland',236 locCountryCode: 'D',237 institutionCode: '',238 locKV: '72',239 locDepartment: '',240 employeeTalk: 'Herr',241 employeeTitle: '',242 employeeFirstname: 'Denis',243 employeeNameaffix: '',244 employeeLastname: 'Oczko',245 employeeOfficialNo: '200007958',246 employeeType: 'PHYSICIAN',247 employeeTypeTranslated: 'Arzt',248 employeeDepartment: '',249 employeeNo: '',250 employeeSpecialities: '',251 specialisationText: '',252 employeeWorkDescription: '',253 employeePhysicianIknr: '',254 employeeGlnNumber: '',255 employeeZsrNumber: '',256 employeeKNumber: '',257 employeePhysicianType: '',258 arztstempel: ' Denis Oczko\n' +259 '\n' +260 'adsas 12\n' +261 '10623 Berlin\n' +262 'T: 0300141 / F: 034130314\n' +263 'LANR: 200007958\n' +264 'BSNR: 310101300\n',265 locId: '000000000000000000000001',266 locGLN: '',267 employeeId: '5e55190ed7d326bf8f1b6b00',268 employeeGLN: '',269 qualiDignitiesText: '0000',270 quantiDignitiesText: '',271 fk4124: '',272 scheinLocationFeatures: '',273 scheinDayOfAccident: '',274 scheinTimeOfAccident: '',275 scheinDayOfArrivalt: '',276 scheinTimeOfArrival: '',277 scheinDayOfFristTreat: '',278 scheinFristTreatPhysician: '',279 scheinWorkingHoursStart: '',280 scheinWorkingHoursEnd: '',281 scheinBgAhb: false,282 scheinBgBhb: false,283 scheinAccidentCompany: '',284 scheinAccidentCompanyCity: '',285 scheinAccidentCompanyPLZ: '',286 scheinAccidentCompanyStreetHouseno: '',287 isASV: false,288 certNumber: 'Y/9/1901/36/488'289 },290 formState: {291 contentType: 'dc/form',292 formName: 'ZKA',293 BasisProgrammnr: 'ZK',294 besPersonengruppe: '00',295 KennzeichenKK: '104940005',296 VorbefundZytoNomenklaturlll: '1',297 VorbefundZytoNomenklaturlll__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',298 VorbefundZytoGrupeV: '1',299 VorbefundZytoGrupeV__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}',300 VorbefundHPV: '0',301 VorbefundHPV__options: '&nbsp;{newline}*0{newline}1{newline}',302 VorbefundZytoGruppe0l: '2',303 VorbefundZytoGruppe0l__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',304 VorbefundZytoGruppell: '1',305 VorbefundZytoGruppell__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',306 VorbefundHPVErgebnis: '1',307 VorbefundHPVErgebnis__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',308 VorbefundVirustyp: '2',309 VorbefundVirustyp__options: '&nbsp;{newline}1{newline}*2{newline}8{newline}9{newline}',310 VorbefundZytoGruppelll: '2',311 VorbefundZytoGruppelll__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',312 eGKVersichertennr: 'A123123',313 BSNR: '310101300',314 NBSNR: '',315 LANR: '200007958',316 VorbefundZytoGruppelllD: '1',317 VorbefundZytoGruppelllD__options: '&nbsp;{newline}*1{newline}2{newline}',318 ZervixEinstellbar: '1',319 ZervixEinstellbar__options: '&nbsp;{newline}0{newline}*1{newline}',320 KolposkopischerBefund: '0',321 KolposkopischerBefund__options: '&nbsp;{newline}*0{newline}1{newline}',322 SichtbarkeitPZG: '1',323 SichtbarkeitPZG__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',324 VorbefundZytoGruppeIV: '2',325 VorbefundZytoGruppeIV__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',326 PatIdentnr: '0123',327 Patdob: '12.12.2000',328 PatPLZ: '12.01.2021',329 AnzahlBiopsien: '02',330 TypTZ: '2',331 TypTZ__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',332 kongenitaleAnomalie: '1',333 kongenitaleAnomalie__options: '&nbsp;{newline}*1{newline}',334 Normalbefund: '1',335 Normalbefund__options: '&nbsp;{newline}0{newline}*1{newline}',336 Kondylome: '1',337 Kondylome__options: '&nbsp;{newline}*1{newline}',338 Endometriose: '1',339 Endometriose__options: '&nbsp;{newline}*1{newline}',340 Polypen: '1',341 Polypen__options: '&nbsp;{newline}*1{newline}',342 Entzuendung: '1',343 Entzuendung__options: '&nbsp;{newline}*1{newline}',344 Stenose: '1',345 Stenose__options: '&nbsp;{newline}*1{newline}',346 PostOPVeraenderung: '1',347 PostOPVeraenderung__options: '&nbsp;{newline}*1{newline}',348 Sonstige32: '1',349 Sonstige32__options: '&nbsp;{newline}*1{newline}',350 AIS: '1',351 AIS__options: '&nbsp;{newline}*1{newline}',352 InvasivesPlattenepithelkarzinom: '1',353 InvasivesPlattenepithelkarzinom__options: '&nbsp;{newline}*1{newline}',354 InvasivesAdenokarzinom: '1',355 InvasivesAdenokarzinom__options: '&nbsp;{newline}*1{newline}',356 sonstigeBefunde37: '1',357 sonstigeBefunde37__options: '&nbsp;{newline}*1{newline}',358 Befund: '1',359 Befund__options: '&nbsp;{newline}*1{newline}2{newline}',360 EinstufungDysplasievorgaenge: '2',361 EinstufungDysplasievorgaenge__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',362 EinstufungabnormenBefunde: '2',363 EinstufungabnormenBefunde__options: '&nbsp;{newline}1{newline}*2{newline}8{newline}',364 VerdachtAIS: '1',365 VerdachtAIS__options: '&nbsp;{newline}0{newline}*1{newline}',366 LokalisationabnormenBefunde: '2',367 LokalisationabnormenBefunde__options: '&nbsp;{newline}1{newline}*2{newline}',368 'GroeßeLaesion': '1',369 'GroeßeLaesion__options': '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}',370 VerdachtInvasion: '0',371 VerdachtInvasion__options: '&nbsp;{newline}*0{newline}1{newline}',372 weitereBefunde: '1',373 weitereBefunde__options: '&nbsp;{newline}0{newline}*1{newline}',374 'Maßnahmen': '1',375 'Maßnahmen__options': '&nbsp;{newline}*1{newline}2{newline}3{newline}8{newline}',376 EmpfohleneManahme: '0',377 EmpfohleneManahme__options: '&nbsp;{newline}*0{newline}1{newline}2{newline}',378 '1Sonstige33': 'sonsitge',379 '2Sonstige33': '_zweiT',380 '1sonstigeBefunde38': 'sonst Befund ',381 '2sonstigeBefunde38': '_zwei11',382 EmpfehlungKontolleAbklaerung: '1',383 EmpfehlungKontolleAbklaerung__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}',384 MethodeKonisation: '2',385 MethodeKonisation__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',386 StagingpT: '3',387 StagingpT__options: '&nbsp;{newline}1{newline}2{newline}*3{newline}4{newline}5{newline}6{newline}9{newline}',388 StagingpN: '9',389 StagingpN__options: '&nbsp;{newline}1{newline}2{newline}3{newline}*9{newline}',390 ZeithorizontweitereKolposkopie: '2',391 ZeithorizontweitereKolposkopie__options: '&nbsp;{newline}1{newline}*2{newline}',392 MethodeExzision: '2',393 MethodeExzision__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',394 StagingpM: '1',395 StagingpM__options: '&nbsp;{newline}*1{newline}2{newline}9{newline}',396 TiefeKonus: '100',397 Zeithorizont: '03',398 UmfangExzision: '200',399 Therapieempfehlung: '0 2',400 Therapieempfehlung__options: '&nbsp;{newline}0 1{newline}*0 2{newline}0 3{newline}0 8{newline}',401 '1SonstigeoperativeEingriffe44': 'sonst op ein',402 '2SonstigeoperativeEingriffe44': '',403 weitereTherapieempfehlungen1: 'weitere therapie',404 weitereTherapieempfehlungen2: '_zweir112323',405 '1SonstigeoperativeEingriffe52': 'sonst operati',406 '1SonstigeoperativeEingriffe521': '_ZWEITE ZEILE',407 endueltigerhistoBefund: '0',408 endueltigerhistoBefund__options: '&nbsp;{newline}*0{newline}1{newline}',409 Grading: '0 1',410 Grading__options: '&nbsp;{newline}*0 1{newline}0 2{newline}0 3{newline}0 4{newline}0 5{newline}',411 StagingFIGO: '2',412 StagingFIGO__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}5{newline}9{newline}',413 DurchfuehrungoperativerEingriff: '1',414 DurchfuehrungoperativerEingriff__options: '&nbsp;{newline}*1{newline}2{newline}8{newline}',415 OPdate: '12.01.2021'416 },417 formStateHash: -2007140465,418 formInitialState: {419 contentType: 'dc/form',420 formName: 'ZKA',421 BasisProgrammnr: 'ZK',422 besPersonengruppe: '',423 KennzeichenKK: '104940005',424 VorbefundZytoNomenklaturlll: '&nbsp;',425 VorbefundZytoNomenklaturlll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',426 VorbefundZytoGrupeV: '&nbsp;',427 VorbefundZytoGrupeV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',428 VorbefundHPV: '&nbsp;',429 VorbefundHPV__options: '*&nbsp;{newline}0{newline}1{newline}',430 VorbefundZytoGruppe0l: '&nbsp;',431 VorbefundZytoGruppe0l__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',432 VorbefundZytoGruppell: '&nbsp;',433 VorbefundZytoGruppell__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',434 VorbefundHPVErgebnis: '&nbsp;',435 VorbefundHPVErgebnis__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',436 VorbefundVirustyp: '&nbsp;',437 VorbefundVirustyp__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}9{newline}',438 VorbefundZytoGruppelll: '&nbsp;',439 VorbefundZytoGruppelll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',440 eGKVersichertennr: '{{InCase_T.insuranceNumber}}',441 BSNR: '310101300',442 NBSNR: '',443 LANR: '200007958',444 VorbefundZytoGruppelllD: '&nbsp;',445 VorbefundZytoGruppelllD__options: '*&nbsp;{newline}1{newline}2{newline}',446 ZervixEinstellbar: '&nbsp;',447 ZervixEinstellbar__options: '*&nbsp;{newline}0{newline}1{newline}',448 KolposkopischerBefund: '&nbsp;',449 KolposkopischerBefund__options: '*&nbsp;{newline}0{newline}1{newline}',450 SichtbarkeitPZG: '&nbsp;',451 SichtbarkeitPZG__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',452 VorbefundZytoGruppeIV: '&nbsp;',453 VorbefundZytoGruppeIV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',454 PatIdentnr: '',455 Patdob: '12.12.2000',456 PatPLZ: '12.01.2021',457 AnzahlBiopsien: '',458 TypTZ: '&nbsp;',459 TypTZ__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',460 kongenitaleAnomalie: '&nbsp;',461 kongenitaleAnomalie__options: '*&nbsp;{newline}1{newline}',462 Normalbefund: '&nbsp;',463 Normalbefund__options: '*&nbsp;{newline}0{newline}1{newline}',464 Kondylome: '&nbsp;',465 Kondylome__options: '*&nbsp;{newline}1{newline}',466 Endometriose: '&nbsp;',467 Endometriose__options: '*&nbsp;{newline}1{newline}',468 Polypen: '&nbsp;',469 Polypen__options: '*&nbsp;{newline}1{newline}',470 Entzuendung: '&nbsp;',471 Entzuendung__options: '*&nbsp;{newline}1{newline}',472 Stenose: '&nbsp;',473 Stenose__options: '*&nbsp;{newline}1{newline}',474 PostOPVeraenderung: '&nbsp;',475 PostOPVeraenderung__options: '*&nbsp;{newline}1{newline}',476 Sonstige32: '&nbsp;',477 Sonstige32__options: '*&nbsp;{newline}1{newline}',478 AIS: '&nbsp;',479 AIS__options: '*&nbsp;{newline}1{newline}',480 InvasivesPlattenepithelkarzinom: '&nbsp;',481 InvasivesPlattenepithelkarzinom__options: '*&nbsp;{newline}1{newline}',482 InvasivesAdenokarzinom: '&nbsp;',483 InvasivesAdenokarzinom__options: '*&nbsp;{newline}1{newline}',484 sonstigeBefunde37: '&nbsp;',485 sonstigeBefunde37__options: '*&nbsp;{newline}1{newline}',486 Befund: '&nbsp;',487 Befund__options: '*&nbsp;{newline}1{newline}2{newline}',488 EinstufungDysplasievorgaenge: '&nbsp;',489 EinstufungDysplasievorgaenge__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',490 EinstufungabnormenBefunde: '&nbsp;',491 EinstufungabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}',492 VerdachtAIS: '&nbsp;',493 VerdachtAIS__options: '*&nbsp;{newline}0{newline}1{newline}',494 LokalisationabnormenBefunde: '&nbsp;',495 LokalisationabnormenBefunde__options: '*&nbsp;{newline}1{newline}2{newline}',496 'GroeßeLaesion': '&nbsp;',497 'GroeßeLaesion__options': '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',498 VerdachtInvasion: '&nbsp;',499 VerdachtInvasion__options: '*&nbsp;{newline}0{newline}1{newline}',500 weitereBefunde: '&nbsp;',501 weitereBefunde__options: '*&nbsp;{newline}0{newline}1{newline}',502 'Maßnahmen': '&nbsp;',503 'Maßnahmen__options': '*&nbsp;{newline}1{newline}2{newline}3{newline}8{newline}',504 EmpfohleneManahme: '&nbsp;',505 EmpfohleneManahme__options: '*&nbsp;{newline}0{newline}1{newline}2{newline}',506 '1Sonstige33': '',507 '2Sonstige33': '',508 '1sonstigeBefunde38': '',509 '2sonstigeBefunde38': '',510 EmpfehlungKontolleAbklaerung: '&nbsp;',511 EmpfehlungKontolleAbklaerung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',512 MethodeKonisation: '&nbsp;',513 MethodeKonisation__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',514 StagingpT: '&nbsp;',515 StagingpT__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}9{newline}',516 StagingpN: '&nbsp;',517 StagingpN__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}9{newline}',518 ZeithorizontweitereKolposkopie: '&nbsp;',519 ZeithorizontweitereKolposkopie__options: '*&nbsp;{newline}1{newline}2{newline}',520 MethodeExzision: '&nbsp;',521 MethodeExzision__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',522 StagingpM: '&nbsp;',523 StagingpM__options: '*&nbsp;{newline}1{newline}2{newline}9{newline}',524 TiefeKonus: '',525 Zeithorizont: '',526 UmfangExzision: '',527 Therapieempfehlung: '&nbsp;',528 Therapieempfehlung__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 8{newline}',529 '1SonstigeoperativeEingriffe44': '',530 '2SonstigeoperativeEingriffe44': '',531 weitereTherapieempfehlungen1: '',532 weitereTherapieempfehlungen2: '',533 '1SonstigeoperativeEingriffe52': '',534 '1SonstigeoperativeEingriffe521': '',535 endueltigerhistoBefund: '&nbsp;',536 endueltigerhistoBefund__options: '*&nbsp;{newline}0{newline}1{newline}',537 Grading: '&nbsp;',538 Grading__options: '*&nbsp;{newline}0 1{newline}0 2{newline}0 3{newline}0 4{newline}0 5{newline}',539 StagingFIGO: '&nbsp;',540 StagingFIGO__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}9{newline}',541 DurchfuehrungoperativerEingriff: '&nbsp;',542 DurchfuehrungoperativerEingriff__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}',543 OPdate: '12.01.2021'544 },545 formInstanceId: '5fb4f46c658f2e2ebbd77c4e',546 publisher: 'Denis Oczko',547 contentType: 'dc/form',548 printerName: 'Virtual_PDF_Printer',549 locationId: '000000000000000000000001',550 isEditable: false,551 createdOn: Date( "2021-01-12T13:01:41.648Z" ),552 lastChanged: Date( "2021-01-12T14:28:35.870Z" ),553 actType: 'FORM',554 activityId: '5ffd9eba08b33810ef278268',555 caseFolderId: '5f9676f6ec66806e93d92adb',556 patientId: '5f92dc9a218a1f5e886859fd',557 patientName: '0000000X, 0000000X',558 subType: ''559 }560 ],561 employees: [562 {563 _id: ObjectId( "5e55190ed7d326bf8f1b6b00" ),564 title: '',565 firstname: 'Denis',566 nameaffix: '',567 middlename: '',568 fk3120: '',569 lastname: 'Oczko',570 specialities: [],571 specialisationText: '',572 asvTeamNumbers: [],573 asvSpecializations: [],574 asvMembershipType: 'FULL',575 arztstempel: '',576 fromLDAP: false,577 countryMode: ['D'],578 qualiDignities: ['0000'],579 quantiDignities: [],580 roles: ['Empfang'],581 preferredLanguage: '',582 currentLocation: '000000000000000000000001',583 labdataSortOrder: 'MACRO4,CA,CL,FE,K,NA,P,AP,AMYL,LIP,CHE,CK,GGT,GOT,GPT,LDH,SP,HST,HS,MDRDK,KREA',584 bsnrs: [],585 expertise: [],586 ownZsrNumber: false,587 accounts: [],588 communications: [589 {590 signaling: true,591 confirmed: false,592 confirmNeeded: false,593 _id: ObjectId( "5e55190ed7d326bf8f1b6b01" ),594 type: 'EMAILJOB',595 preferred: false,596 value: 'do@doc-cirrus.com'597 }598 ],599 addresses: [],600 type: 'PHYSICIAN',601 locations: [602 {_id: '5e59116846acde8f581ad013', locname: 'Loc_2'},603 {_id: '5e5cf1f94a3f670bcfb290be', locname: 'AVWG Praxis 1'},604 {_id: '5e5cf25a4a3f670bcfb290c4', locname: 'AVWG Praxis 2'},605 {_id: '5ebd338246208810e74903f5', locname: 'DO_NEU_NB'},606 {_id: '5ecb62f2d8e4e7045509d566', locname: 'BS17'},607 {_id: '5f9ab52fdaaf2c66086c596f', locname: 'BS20'},608 {_id: '5fa42ab71c4d525450a25160', locname: 'Str. 1'},609 {_id: '000000000000000000000001', locname: 'DO_NEU'}610 ],611 talk: 'MR',612 notifications: [],613 username: 'DO',614 initials: 'DO',615 memberOf: [616 {_id: ObjectId( "5e55190ed7d326bf8f1b6aff" ), group: 'USER'},617 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfd" ), group: 'ADMIN'},618 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfc" ), group: 'CONTROLLER'},619 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfb" ), group: 'SUPERUSER'},620 {_id: ObjectId( "5fdc4e27c22c898608e94dec" ), group: 'PHYSICIAN'}621 ],622 officialNo: '200007958',623 status: 'ACTIVE',624 dob: Date( "2020-02-25T12:54:38.624Z" )625 }626 ],627 location: {628 _id: '000000000000000000000001',629 kv: '72',630 kind: 'OFFICIAL',631 addon: '',632 countryCode: 'D',633 country: 'Deutschland',634 city: 'Berlin',635 zip: '10623',636 houseno: '12',637 street: 'adsas',638 email: 'do@doc-cirrus.com',639 locname: 'DO_NEU',640 commercialNo: '310101300',641 countryMode: ['D'],642 budgets: [643 {644 specialities: [],645 _id: '5f5202f655307c482c9d88e1',646 type: 'KBVUTILITY',647 startBudget: 1,648 startDate: '2020-07-31T22:00:00.000Z',649 patientAgeRange1: 100,650 patientAgeRange2: 100,651 patientAgeRange3: 100,652 patientAgeRange4: 100653 }654 ],655 cardType: 'BANK',656 defaultPrinter: 'Virtual_PDF_Printer',657 emailFooter: '',658 enabledPrinters: ['Virtual_PDF_Printer'],659 imapPassword: '',660 imapUrl: '',661 imapUserName: '',662 isAdditionalLocation: false,663 isOptional: true,664 lastChanged: '2020-11-13T14:13:02.913Z',665 openTimes: [],666 smtpEmailFrom: '',667 smtpHost: '',668 smtpPassword: '',669 smtpUserName: '',670 stockLocations: [],671 gkvInvoiceReceiver: '31',672 nonStandardCommercialNo: false,673 firstname: '',674 lastname: '',675 middlename: '',676 nameaffix: '',677 title: '',678 cantonCode: '4',679 konnektorProductVersion: 'XXX',680 fax: '034130314',681 phone: '0300141'682 },683 patients: [684 {685 _id: ObjectId( "5f92dc9a218a1f5e886859fd" ),686 additionalMirrorPatientIds: [],687 title: '',688 firstname: '0000000X',689 nameaffix: '',690 middlename: '',691 fk3120: '',692 lastname: '0000000X',693 physicians: [],694 employees: [ObjectId( "5e55190ed7d326bf8f1b6b00" )],695 markers: [],696 createPlanned: false,697 accessPRC: false,698 talk: 'MR',699 gender: 'MALE',700 sendPatientReceipt: false,701 familyDoctorModel: false,702 patientNumber: 23,703 attachedSeverity: 'NONE',704 crmTags: [],705 edmpTypes: [],706 edmpNotifiedAboutStatementOfParticipationTypes: [],707 ehksDocType: 'EHKSND',708 scheinEmployeeIds: ['5e55190ed7d326bf8f1b6b00'],709 confirmedViewFromOtherLocations: false,710 confirmedViewFromLocationIds: [],711 additionalContacts: [],712 patientsFamilyMembers: [],713 additionalFamilyMembers: [],714 countryMode: ['D'],715 accounts: [],716 communications: [],717 addresses: [],718 kbvDob: '12.12.2000',719 insuranceStatus: [720 {721 fk4133: null,722 fk4110: null,723 insuranceKind: '1',724 costCarrierBillingSection: '00',725 costCarrierBillingGroup: '11',726 feeSchedule: '2',727 fused: false,728 unzkv: [],729 bgNumber: '',730 address1: 'Lichtscheider Str. 89',731 address2: '42285 Wuppertal',732 zipcode: '',733 city: '',734 phone: '',735 insuranceLink: '',736 email: '',737 insuranceGLN: '',738 recipientGLN: '',739 department: '',740 isTiersGarant: false,741 isTiersPayant: true,742 _id: ObjectId( "5f92dc9a218a1f5e886859fe" ),743 insuranceId: '104940005',744 insuranceName: 'BARMER',745 insurancePrintName: 'BARMER',746 insuranceGrpId: '72601',747 type: 'PUBLIC',748 persGroup: '',749 dmp: '',750 kv: '72',751 locationId: '000000000000000000000001',752 fusedFrom: null,753 fusedToInsuranceId: null754 }755 ],756 affiliates: [],757 images: [],758 devices: [],759 partnerIds: [],760 careDegree: 'NO',761 dob: Date( "2000-12-12T09:00:00.000Z" ),762 isDeceased: false,763 inActive: false,764 dob_MM: '12',765 dob_DD: '12',766 patientSince: Date( "2020-10-23T13:37:13.418Z" ),767 crmTreatments: [],768 crmCatalogShort: 'GOÄ',769 latestLabData: [],770 locationId: '',771 patientNo: '23',772 lastChanged: Date( "2021-01-08T17:07:04.664Z" ),773 invoiceRecipient: null,774 activeCaseFolderId: '5f9676f6ec66806e93d92adb',775 latestMedData: []776 }777 ]778 },779 result: '<?xml version="1.0" encoding="utf-8"?><root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:gba:sqg ../../interface_LE/2020_kv_pid_1.0_Export.xsd" xmlns="urn:gba:sqg" container_version="2.0" content_version="1.0"><header><document><id V="{e6147116-7234-4dd9-8304-5b1156d42fbd}"/><set_id V="{e6147116-7234-4dd9-8304-5b1156d42fbd}"/><origination_dttm V="2021-01-12T15:22:38.273Z"/><modification_dttm V="2021-01-12T15:22:38.273Z"/><software><vendor name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Softwarehersteller" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><name V="DocCirrus-inSuite"/><version V="4.17.0"/><specification V="2020 PB V05"/></software><data_flow V="QS-Kollektivvertraglich"/><data_target V="Testdatenpool"/></document><provider name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Leistungserbringer" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><protocol><status_document V="OK"/></protocol><encryption/></header><body><data_container><care_provider><BSNRAMBULANT V="310101300"/><LANR V="200007958"/></care_provider><cases module="ZKA" pseud_procedure="ZK"><case><patient twodigitik="10"><pid><VERSICHERTENIDNEU V=""/></pid></patient><case_admin><id V="23"/><guid V="{b83c34cf-1d50-4a35-8dbb-dbe58025ab88}"/><version V="1"/><action V="create"/><module V="ZKA"/><quarter V="1/2021"/><protocol><status_case V="OK"/></protocol></case_admin><qs_data xsi:type="qs_data_zka_type" module="ZKA"><B><felder><DokAbschlDat V="12.01.2021"/><PROGRAMMZK V="ZK"/><kasseiknr2Stellen V="10"/><versichertenstatusgkv V="1"/><GEBDATUM V="12.12.2000"/><DATUMUNT V="12.01.2021"/><ZYTBEFUNDVORUNT V="1"/><ZYTBEFUNDVORUNT01 V="2"/><ZYTBEFUNDVORUNTII V="1"/><ZYTBEFUNDVORUNTIII V="2"/><ZYTBEFUNDVORUNTIIID V="1"/><ZYTBEFUNDVORUNTIV V="2"/><ZYTBEFUNDVORUNTV V="1"/><HPVTVORUNTVORHAND V="0"/><HPVTVORBEFUND V="1"/><HPVVIRUSTYPVORBEFUND V="2"/><ZERVIXEINSTELLBAR V="1"/><KOLPOSKBEFUND V="0"/><PZGSICHTBAR V="1"/><TZTYP V="2"/><NORMALBEFUND V="1"/><GRADABNBEFUNDE V="2"/><VERDACHTAIS V="1"/><LOKALABNBEFUNDE V="2"/><GROESSELAESION V="1"/><VERDACHTINVASION V="0"/><WEITEREBEFUNDE V="1"/><KONGENANOMALIE V="1"/><KONDYLOME V="1"/><ENDOMETRIOSE V="1"/><EKTOENDOPOLYPEN V="1"/><ENTZUENDUNG V="1"/><STENOSE V="1"/><POSTOPVERAEND V="1"/><SONSTWEITBEFUNDE V="1"/><SONSTBEFUNDE V="sonsitge_zweiT"/><MASSNAHMEN V="1"/><ANZAHLBIOPSIEN V="02"/><BEFUNDBIOPSKUERET V="1"/><METAPLASIEVORGAENGE V="2"/><ADENOCARCINOMAINSITU V="1"/><INVASIVPLATTENEPITHELKARZ V="1"/><INVASIVADENOKARZ V="1"/><SONSTMETAPLASIEBEFUNDE V="1"/><SONSTBEFBIOPSKUERET V="sonst Befund_zwei11"/><EMPFOHLENEMASSNAHMEBIOPS V="0"/><EMPFOHLENEKONTRABKL V="1"/><ZEITHORIZONTKONTRABKL V="2"/><ZEITHORIZONT V="03"/><THERAPIEEMPFEHLUNG V="02"/><SONSTOPEINGR V="sonst op ein"/><WEITERETHERAPIEEMPF V="weitere therapie_zweir112323"/><OPDATUM V="12.01.2021"/><ARTOPEINGRIFF V="1"/><METHOKONISATION V="2"/><TIEFEKONUS V="100"/><METHOEXZISION V="2"/><UMFANGEXZISION V="200"/><SONSTOPEINGR2 V="sonst operati_ZWEITE ZEILE"/><ENDHISTOLBEFUNDVORH V="0"/><GRADING V="01"/><STAGINGFIGO V="2"/><TNMPT V="3"/><TNMPN V="9"/><TNMPM V="1"/></felder></B></qs_data></case><statistic><sent count="1"><create V="1"/><update V="0"/><delete V="0"/><corrupted V="0"/></sent><processed count="0"><create V="0"/><update V="0"/><delete V="0"/><corrupted V="0"/></processed></statistic></cases></data_container></body></root>'...

Full Screen

Full Screen

zkp-1.js

Source:zkp-1.js Github

copy

Full Screen

1/**2 * User: do3 * Date: 28.12.20 13:274 * (c) 2012, Doc Cirrus GmbH, Berlin5 */6const ObjectId = require( 'mongoose' ).Types.ObjectId;7module.exports = {8 context: {9 formName: 'ZKP',10 activities: [11 {12 _id: ObjectId( "5ff891507a65255801b27c44" ),13 actType: 'FORM',14 status: 'VALID',15 attachments: ['5ff891507a65255801b27c43'],16 attachedMediaTags: [],17 subType: '',18 time: '',19 backupEmployeeIds: [],20 userContent: 'ZKP',21 mediaImportError: '',22 partnerInfo: '',23 explanations: '',24 activities: [],25 referencedBy: [],26 formId: '5f9fd499e5ee7a61df10c9f3',27 formVersion: '5fb4f42f81eb992ec9f72be5',28 formPdf: '',29 formLang: 'de',30 formGender: 'm',31 apkState: 'IN_PROGRESS',32 unlinkedMirrorIds: [],33 savedEmails: [],34 ruleStatus: 'NOT_VALIDATED',35 receipts: [],36 scheinOrder: '',37 scheinDiagnosis: '',38 reasonType: '',39 totalReceipts: 0,40 totalPenalties: 0,41 totalReceiptsOutstanding: 0,42 continuousIcds: [],43 insuranceName: '',44 hasVat: false,45 vat: 0,46 icds: [],47 icdsExtra: [],48 scheinSlipMedicalTreatment: '',49 erstBesch: true,50 folgeBesc: false,51 eTSArrangementCode: '',52 eTSArrangementCodeRequestMessageId: '',53 eTSAErrorMessage: '',54 __t: 'FORM',55 attachedMedia: [],56 timestamp: Date( "2021-01-08T17:07:05.909Z" ),57 patientId: '5f92dc9a218a1f5e886859fd',58 employeeId: '5e55190ed7d326bf8f1b6b00',59 locationId: ObjectId( "000000000000000000000001" ),60 content: 'ZKP',61 editor: [62 {63 _id: ObjectId( "5ffd6ac182e5c773b1168384" ),64 name: 'Denis Oczko',65 initials: 'DO'66 }67 ],68 caseFolderId: '5f9676f6ec66806e93d92adb',69 naehereAngabenZuDenEmpfehlungen: '',70 medData: [],71 linkedEmployees: [],72 linkedTimestamps: [],73 linkedContents: [],74 employeeName: 'Oczko, Denis',75 employeeInitials: 'DO',76 patientLastName: '0000000X',77 patientFirstName: '0000000X',78 lastChanged: Date( "2021-01-12T09:24:17.286Z" )79 }80 ],81 documents: [82 {83 _id: ObjectId( "5ff891507a65255801b27c43" ),84 usesMedia: [85 '5f9fd4e1814faa61d83bc3fc',86 '5f9fd4e31c97d661e6799178',87 '5f9fd4e24bb0a461d9f950d5'88 ],89 accessBy: [],90 tags: [],91 type: 'FORM',92 formId: '5f9fd499e5ee7a61df10c9f3',93 formData: '',94 mapData: {95 markerArray: [],96 markerText: '',97 contactAddresses: [],98 contactAddressesName: [],99 actType: 'FORM',100 subType: ' ',101 status: 'CREATED',102 currency: 'EUR',103 currencySymbol: '€',104 caseFolderType: 'PUBLIC',105 caseFolderAdditionalType: null,106 caseFolderIdentity: null,107 age: 20,108 dobSmaller: '12.12.00',109 dobSmallerWithoutPoints: '121200',110 dob: '12.12.2000',111 kbvDob: '12.12.2000',112 dd: '12',113 mm: '12',114 yy: '00',115 yyyy: '2000',116 patientDOB: 'Tue Dec 12 2000 10:00:00 GMT+0100',117 dobPlain: '2000-12-12T10:00:00+01:00',118 patientSince: '2020-10-23T13:37:13.418Z',119 dateOfDeath: '',120 dateOfInActive: '',121 isDeceased: 'Nein',122 inActive: 'Nein',123 reason: '',124 jobStatus: '',125 bestPatientPhone: '',126 patPhone: '',127 patEmail: '',128 patFax: '',129 patHttp: '',130 patientDbId: '5f92dc9a218a1f5e886859fd',131 patientId: '23',132 patientNo: '23',133 title: '',134 firstname: '0000000X',135 nameaffix: '',136 nameinfix: '',137 lastname: '0000000X',138 fullname: '0000000X 0000000X',139 talk: 'Herr',140 patientName: '0000000X, 0000000X',141 longPatientName: 'Herr 0000000X 0000000X',142 address: '',143 postbox: '',144 addon: '',145 houseno: '',146 street: '',147 zip: '',148 city: '',149 country: '',150 countryCode: '',151 cantonCode: '',152 dataTransmissionToMediportApproved: 'Nein',153 workingAt: '',154 jobTitle: '',155 isPensioner: 'Nein',156 currentDate: '08.01.2021',157 currentSmall: '08.01.21',158 displayname: '0000000X 0000000X',159 chiffre: '0 121200',160 insuranceName: 'BARMER',161 insuranceNo: '',162 insuranceId: '104940005',163 insuranceKind: '1',164 persGroup: '',165 dmp: '',166 insuranceGrpId: '72601',167 insuranceBgNumber: '',168 insuranceGLN: '',169 receipientGLN: '',170 insuranceNames: 'BARMER',171 insuranceValidTo: '',172 insuranceValidToSlash: '',173 isBVG: false,174 commercialNo: '310101300',175 doctorNumber: '200007958',176 zsrNumber: '',177 careDegree: 'keiner',178 gender: 'm',179 genderUpperCase: 'M',180 isMale: true,181 isFemale: false,182 isMaleM: 'M',183 isFemaleW: '',184 socialSecurityNo: '',185 emergencyContact: '',186 internetAddress: '',187 mobilePhone: '',188 insuranceAddr1: 'Lichtscheider Str. 89',189 insuranceAddr2: '42285 Wuppertal',190 insurancePrintName: 'BARMER',191 insuranceType: 'PUBLIC',192 locationFeatures: '',193 costCarrierBillingSection: '00',194 feeSchedule: '2',195 paidFree: false,196 paid: true,197 arbeitsunfall: '',198 utUnfall: false,199 fk4202: '',200 createUniqCaseIdentNoOnInvoice: false,201 tiersInsurance: 'Tiers Payant',202 vekaCardNo: '',203 receiver: 'Herr 0000000X 0000000X',204 cardStatus: 'RED',205 timestampString: '2021-01-08T17:07:05.909Z',206 timestampDate: '2021-01-08T17:07:05.909Z',207 timestamp: '08.01.21',208 timestampBFB: '080121',209 dateNormal: '08.01.2021',210 dateQuarter: '1',211 dateYearQuarter: '2021-1',212 dateYearMonth: '2021-1',213 dateYearWeek: '2021-1',214 date: '08.01.21',215 time: '',216 diagnoses: '',217 patientAdditionalNumbers: '',218 familyDoctorModel: 'Ja',219 locName: 'DO_NEU',220 locPhone: '0300141',221 locFax: '034130314',222 locStreet: 'adsas',223 locHouseno: '12',224 locZip: '10623',225 locCity: 'Berlin',226 locEmail: 'do@doc-cirrus.com',227 locWWW: '',228 locBankName: '',229 locBankIBAN: '',230 locBankBIC: '',231 locRegion: '',232 locCantonCode: '4',233 locCountry: 'Deutschland',234 locCountryCode: 'D',235 institutionCode: '',236 locKV: '72',237 locDepartment: '',238 employeeTalk: 'Herr',239 employeeTitle: '',240 employeeFirstname: 'Denis',241 employeeNameaffix: '',242 employeeLastname: 'Oczko',243 employeeOfficialNo: '200007958',244 employeeType: 'PHYSICIAN',245 employeeTypeTranslated: 'Arzt',246 employeeDepartment: '',247 employeeNo: '',248 employeeSpecialities: '',249 specialisationText: '',250 employeeWorkDescription: '',251 employeePhysicianIknr: '',252 employeeGlnNumber: '',253 employeeZsrNumber: '',254 employeeKNumber: '',255 employeePhysicianType: '',256 arztstempel: ' Denis Oczko\n' +257 '\n' +258 'adsas 12\n' +259 '10623 Berlin\n' +260 'T: 0300141 / F: 034130314\n' +261 'LANR: 200007958\n' +262 'BSNR: 310101300\n',263 locId: '000000000000000000000001',264 locGLN: '',265 employeeId: '5e55190ed7d326bf8f1b6b00',266 employeeGLN: '',267 qualiDignitiesText: '0000',268 quantiDignitiesText: '',269 fk4124: '',270 scheinLocationFeatures: '',271 scheinDayOfAccident: '',272 scheinTimeOfAccident: '',273 scheinDayOfArrivalt: '',274 scheinTimeOfArrival: '',275 scheinDayOfFristTreat: '',276 scheinFristTreatPhysician: '',277 scheinWorkingHoursStart: '',278 scheinWorkingHoursEnd: '',279 scheinBgAhb: false,280 scheinBgBhb: false,281 scheinAccidentCompany: '',282 scheinAccidentCompanyCity: '',283 scheinAccidentCompanyPLZ: '',284 scheinAccidentCompanyStreetHouseno: '',285 isASV: false,286 certNumber: 'Y/9/1901/36/488'287 },288 formState: {289 contentType: 'dc/form',290 formName: 'ZKP',291 BasisProgrammnr: 'ZK',292 'Primärscreeningdate': '08.01.2021',293 KennzeichenKK: '104940005',294 HPVImpfung: '2',295 HPVImpfung__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}9{newline}',296 BefundZytoNomenklaturlll_1: '0',297 BefundZytoNomenklaturlll_1__options: '&nbsp;{newline}*0{newline}1{newline}',298 besPersonengruppe: '00',299 VorbefundZytoNomenklaturlll: '1',300 VorbefundZytoNomenklaturlll__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',301 VorbefundZyto0l: '2',302 VorbefundZyto0l__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',303 FeststellungImpfstatus: '2',304 FeststellungImpfstatus__options: '&nbsp;{newline}1{newline}*2{newline}',305 ArtAnlassUntersuchung: '1',306 ArtAnlassUntersuchung__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',307 VorbefundZytoGruppell: '1',308 VorbefundZytoGruppell__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',309 VorbefundZytoGruppelll: '2',310 VorbefundZytoGruppelll__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',311 vorherigeBefunde: '0',312 vorherigeBefunde__options: '&nbsp;{newline}*0{newline}1{newline}',313 Ergebnisdokumentation: '1',314 Ergebnisdokumentation__options: '&nbsp;{newline}*1{newline}2{newline}',315 BSNR: '310101300',316 NBSNR: '',317 LANR: '200007958',318 PatIdentnr: '',319 Patdob: '12.12.2000',320 PatPLZ: '12345',321 eGKVersichertennr: '',322 NameHPVImpfstoff1: 'Produkt\n',323 NameHPVImpfstoff2: '',324 letzteUntersuchungdate_formatted: '01.2021',325 letzteUntersuchungdate: 'Thu Jan 07 2021 00:00:00 GMT+0100',326 VorbefundZytoGruppelllD: '1',327 VorbefundZytoGruppelllD__options: '&nbsp;{newline}*1{newline}2{newline}',328 VorbefundHisto: '1',329 VorbefundHisto__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}9{newline}',330 AusflusspathBlutungen: '1',331 AusflusspathBlutungen__options: '&nbsp;{newline}0{newline}*1{newline}',332 IUP: '0',333 IUP__options: '&nbsp;{newline}*0{newline}1{newline}',334 EinnahmeOvuhemmerSonstigeHormone: '1',335 EinnahmeOvuhemmerSonstigeHormone__options: '&nbsp;{newline}0{newline}*1{newline}',336 ZustandnachGynOPRadiatio: '0',337 ZustandnachGynOPRadiatio__options: '&nbsp;{newline}*0{newline}1{newline}',338 Schwangerschaft: '1',339 Schwangerschaft__options: '&nbsp;{newline}0{newline}*1{newline}',340 KlinischerBefund: '2',341 KlinischerBefund__options: '&nbsp;{newline}1{newline}*2{newline}',342 BefundZytoNomenklaturlll: '1',343 BefundZytoNomenklaturlll__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',344 Abweichungen: '0',345 Abweichungen__options: '&nbsp;{newline}*0{newline}1{newline}9{newline}',346 VorbefundVirustyp: '2',347 VorbefundVirustyp__options: '&nbsp;{newline}1{newline}*2{newline}8{newline}9{newline}',348 VorbefundHPVTestErgebnis: '1',349 VorbefundHPVTestErgebnis__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',350 HPVTestErgebnis_2: '0',351 HPVTestErgebnis_2__options: '&nbsp;{newline}*0{newline}1{newline}',352 VorbefundZytoGruppeV: '1',353 VorbefundZytoGruppeV__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}',354 VorbefundZytoGruppeIV: '2',355 VorbefundZytoGruppeIV__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',356 EinstufungDysplasievorgaenge: '2',357 EinstufungDysplasievorgaenge__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',358 AIS: '1',359 AIS__options: '&nbsp;{newline}*1{newline}',360 InvasivesPlattenepithelkarzinom: '1',361 InvasivesPlattenepithelkarzinom__options: '&nbsp;{newline}*1{newline}',362 InvasivesAdenokarzinom: '1',363 InvasivesAdenokarzinom__options: '&nbsp;{newline}*1{newline}',364 SonstigeBefunde31: '1',365 SonstigeBefunde31__options: '&nbsp;{newline}*1{newline}',366 UntersuchungsnummerZyto: '1234566889',367 '1SonstigeBefunde32': 'sonst befund',368 '2SonstigeBefunde32': '',369 BefundZytoGruppe0i: '2',370 BefundZytoGruppe0i__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}',371 HPVTestErgebnis_1: '1',372 HPVTestErgebnis_1__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',373 Virustyp: '2',374 Virustyp__options: '&nbsp;{newline}1{newline}*2{newline}8{newline}',375 BefundZytoGruppell: '1',376 BefundZytoGruppell__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}',377 BefundZytoGruppelll: '2',378 BefundZytoGruppelll__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',379 'EmpfohleneMaßnahme': '1',380 'EmpfohleneMaßnahme__options': '&nbsp;{newline}0{newline}*1{newline}',381 BefundZytoGruppelllD: '1',382 BefundZytoGruppelllD__options: '&nbsp;{newline}*1{newline}2{newline}',383 EmpfehlungKontrolleAbklaerung: '2',384 EmpfehlungKontrolleAbklaerung__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',385 BefundZytoGruppeIV: '2',386 BefundZytoGruppeIV__options: '&nbsp;{newline}1{newline}*2{newline}3{newline}4{newline}',387 ZeithorizontKontrolleAbklaerung: '1',388 ZeithorizontKontrolleAbklaerung__options: '&nbsp;{newline}*1{newline}2{newline}',389 BefundZytoGruppeV: '1',390 BefundZytoGruppeV__options: '&nbsp;{newline}*1{newline}2{newline}3{newline}4{newline}',391 HPVTest: '0',392 HPVTest__options: '&nbsp;{newline}*0{newline}1{newline}',393 Zeithorizont: '01'394 },395 formStateHash: -798166264,396 formInitialState: {397 contentType: 'dc/form',398 formName: 'ZKP',399 BasisProgrammnr: 'ZK',400 'Primärscreeningdate': '08.01.2021',401 KennzeichenKK: '104940005',402 HPVImpfung: '&nbsp;',403 HPVImpfung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}9{newline}',404 BefundZytoNomenklaturlll_1: '&nbsp;',405 BefundZytoNomenklaturlll_1__options: '*&nbsp;{newline}0{newline}1{newline}',406 besPersonengruppe: '',407 VorbefundZytoNomenklaturlll: '&nbsp;',408 VorbefundZytoNomenklaturlll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',409 VorbefundZyto0l: '&nbsp;',410 VorbefundZyto0l__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',411 FeststellungImpfstatus: '&nbsp;',412 FeststellungImpfstatus__options: '*&nbsp;{newline}1{newline}2{newline}',413 ArtAnlassUntersuchung: '&nbsp;',414 ArtAnlassUntersuchung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',415 VorbefundZytoGruppell: '&nbsp;',416 VorbefundZytoGruppell__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',417 VorbefundZytoGruppelll: '&nbsp;',418 VorbefundZytoGruppelll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',419 vorherigeBefunde: '&nbsp;',420 vorherigeBefunde__options: '*&nbsp;{newline}0{newline}1{newline}',421 Ergebnisdokumentation: '&nbsp;',422 Ergebnisdokumentation__options: '*&nbsp;{newline}1{newline}2{newline}',423 BSNR: '310101300',424 NBSNR: '',425 LANR: '200007958',426 PatIdentnr: '',427 Patdob: '12.12.2000',428 PatPLZ: '',429 eGKVersichertennr: '',430 NameHPVImpfstoff1: '',431 NameHPVImpfstoff2: '',432 letzteUntersuchungdate_formatted: '',433 letzteUntersuchungdate: '',434 VorbefundZytoGruppelllD: '&nbsp;',435 VorbefundZytoGruppelllD__options: '*&nbsp;{newline}1{newline}2{newline}',436 VorbefundHisto: '&nbsp;',437 VorbefundHisto__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}9{newline}',438 AusflusspathBlutungen: '&nbsp;',439 AusflusspathBlutungen__options: '*&nbsp;{newline}0{newline}1{newline}',440 IUP: '&nbsp;',441 IUP__options: '*&nbsp;{newline}0{newline}1{newline}',442 EinnahmeOvuhemmerSonstigeHormone: '&nbsp;',443 EinnahmeOvuhemmerSonstigeHormone__options: '*&nbsp;{newline}0{newline}1{newline}',444 ZustandnachGynOPRadiatio: '&nbsp;',445 ZustandnachGynOPRadiatio__options: '*&nbsp;{newline}0{newline}1{newline}',446 Schwangerschaft: '&nbsp;',447 Schwangerschaft__options: '*&nbsp;{newline}0{newline}1{newline}',448 KlinischerBefund: '&nbsp;',449 KlinischerBefund__options: '*&nbsp;{newline}1{newline}2{newline}',450 BefundZytoNomenklaturlll: '&nbsp;',451 BefundZytoNomenklaturlll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}5{newline}6{newline}',452 Abweichungen: '&nbsp;',453 Abweichungen__options: '*&nbsp;{newline}0{newline}1{newline}9{newline}',454 VorbefundVirustyp: '&nbsp;',455 VorbefundVirustyp__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}9{newline}',456 VorbefundHPVTestErgebnis: '&nbsp;',457 VorbefundHPVTestErgebnis__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',458 HPVTestErgebnis_2: '&nbsp;',459 HPVTestErgebnis_2__options: '*&nbsp;{newline}0{newline}1{newline}',460 VorbefundZytoGruppeV: '&nbsp;',461 VorbefundZytoGruppeV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',462 VorbefundZytoGruppeIV: '&nbsp;',463 VorbefundZytoGruppeIV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',464 EinstufungDysplasievorgaenge: '&nbsp;',465 EinstufungDysplasievorgaenge__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',466 AIS: '&nbsp;',467 AIS__options: '*&nbsp;{newline}1{newline}',468 InvasivesPlattenepithelkarzinom: '&nbsp;',469 InvasivesPlattenepithelkarzinom__options: '*&nbsp;{newline}1{newline}',470 InvasivesAdenokarzinom: '&nbsp;',471 InvasivesAdenokarzinom__options: '*&nbsp;{newline}1{newline}',472 SonstigeBefunde31: '&nbsp;',473 SonstigeBefunde31__options: '*&nbsp;{newline}1{newline}',474 UntersuchungsnummerZyto: '',475 '1SonstigeBefunde32': '',476 '2SonstigeBefunde32': '',477 BefundZytoGruppe0i: '&nbsp;',478 BefundZytoGruppe0i__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',479 HPVTestErgebnis_1: '&nbsp;',480 HPVTestErgebnis_1__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',481 Virustyp: '&nbsp;',482 Virustyp__options: '*&nbsp;{newline}1{newline}2{newline}8{newline}',483 BefundZytoGruppell: '&nbsp;',484 BefundZytoGruppell__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}',485 BefundZytoGruppelll: '&nbsp;',486 BefundZytoGruppelll__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',487 'EmpfohleneMaßnahme': '&nbsp;',488 'EmpfohleneMaßnahme__options': '*&nbsp;{newline}0{newline}1{newline}',489 BefundZytoGruppelllD: '&nbsp;',490 BefundZytoGruppelllD__options: '*&nbsp;{newline}1{newline}2{newline}',491 EmpfehlungKontrolleAbklaerung: '&nbsp;',492 EmpfehlungKontrolleAbklaerung__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',493 BefundZytoGruppeIV: '&nbsp;',494 BefundZytoGruppeIV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',495 ZeithorizontKontrolleAbklaerung: '&nbsp;',496 ZeithorizontKontrolleAbklaerung__options: '*&nbsp;{newline}1{newline}2{newline}',497 BefundZytoGruppeV: '&nbsp;',498 BefundZytoGruppeV__options: '*&nbsp;{newline}1{newline}2{newline}3{newline}4{newline}',499 HPVTest: '&nbsp;',500 HPVTest__options: '*&nbsp;{newline}0{newline}1{newline}',501 Zeithorizont: ''502 },503 formInstanceId: '5fb4f42f81eb992ec9f72be5',504 publisher: 'Denis Oczko',505 contentType: 'dc/form',506 printerName: 'Virtual_PDF_Printer',507 locationId: '000000000000000000000001',508 isEditable: false,509 createdOn: Date( "2021-01-08T17:07:13.344Z" ),510 lastChanged: Date( "2021-01-12T09:24:17.316Z" ),511 actType: 'FORM',512 activityId: '5ff891507a65255801b27c44',513 caseFolderId: '5f9676f6ec66806e93d92adb',514 patientId: '5f92dc9a218a1f5e886859fd',515 patientName: '0000000X, 0000000X',516 subType: ''517 }518 ],519 employees: [520 {521 _id: ObjectId( "5e55190ed7d326bf8f1b6b00" ),522 title: '',523 firstname: 'Denis',524 nameaffix: '',525 middlename: '',526 fk3120: '',527 lastname: 'Oczko',528 specialities: [],529 specialisationText: '',530 asvTeamNumbers: [],531 asvSpecializations: [],532 asvMembershipType: 'FULL',533 arztstempel: '',534 fromLDAP: false,535 countryMode: ['D'],536 qualiDignities: ['0000'],537 quantiDignities: [],538 roles: ['Empfang'],539 preferredLanguage: '',540 currentLocation: '000000000000000000000001',541 labdataSortOrder: 'MACRO4,CA,CL,FE,K,NA,P,AP,AMYL,LIP,CHE,CK,GGT,GOT,GPT,LDH,SP,HST,HS,MDRDK,KREA',542 bsnrs: [],543 expertise: [],544 ownZsrNumber: false,545 accounts: [],546 communications: [547 {548 signaling: true,549 confirmed: false,550 confirmNeeded: false,551 _id: ObjectId( "5e55190ed7d326bf8f1b6b01" ),552 type: 'EMAILJOB',553 preferred: false,554 value: 'do@doc-cirrus.com'555 }556 ],557 addresses: [],558 type: 'PHYSICIAN',559 locations: [560 {_id: '5e59116846acde8f581ad013', locname: 'Loc_2'},561 {_id: '5e5cf1f94a3f670bcfb290be', locname: 'AVWG Praxis 1'},562 {_id: '5e5cf25a4a3f670bcfb290c4', locname: 'AVWG Praxis 2'},563 {_id: '5ebd338246208810e74903f5', locname: 'DO_NEU_NB'},564 {_id: '5ecb62f2d8e4e7045509d566', locname: 'BS17'},565 {_id: '5f9ab52fdaaf2c66086c596f', locname: 'BS20'},566 {_id: '5fa42ab71c4d525450a25160', locname: 'Str. 1'},567 {_id: '000000000000000000000001', locname: 'DO_NEU'}568 ],569 talk: 'MR',570 notifications: [],571 username: 'DO',572 initials: 'DO',573 memberOf: [574 {_id: ObjectId( "5e55190ed7d326bf8f1b6aff"), group: 'USER' },575 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfd"), group: 'ADMIN' },576 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfc"), group: 'CONTROLLER' },577 {_id: ObjectId( "5e551a87f6dd65bf8dd8edfb"), group: 'SUPERUSER' },578 {_id: ObjectId( "5fdc4e27c22c898608e94dec"), group: 'PHYSICIAN' }579 ],580 officialNo: '200007958',581 status: 'ACTIVE',582 dob: Date( "2020-02-25T12:54:38.624Z" )583 }584 ],585 location: {586 _id: '000000000000000000000001',587 kv: '72',588 kind: 'OFFICIAL',589 addon: '',590 countryCode: 'D',591 country: 'Deutschland',592 city: 'Berlin',593 zip: '10623',594 houseno: '12',595 street: 'adsas',596 email: 'do@doc-cirrus.com',597 locname: 'DO_NEU',598 commercialNo: '310101300',599 countryMode: ['D'],600 budgets: [601 {602 specialities: [],603 _id: '5f5202f655307c482c9d88e1',604 type: 'KBVUTILITY',605 startBudget: 1,606 startDate: '2020-07-31T22:00:00.000Z',607 patientAgeRange1: 100,608 patientAgeRange2: 100,609 patientAgeRange3: 100,610 patientAgeRange4: 100611 }612 ],613 cardType: 'BANK',614 defaultPrinter: 'Virtual_PDF_Printer',615 emailFooter: '',616 enabledPrinters: ['Virtual_PDF_Printer'],617 imapPassword: '',618 imapUrl: '',619 imapUserName: '',620 isAdditionalLocation: false,621 isOptional: true,622 lastChanged: '2020-11-13T14:13:02.913Z',623 openTimes: [],624 smtpEmailFrom: '',625 smtpHost: '',626 smtpPassword: '',627 smtpUserName: '',628 stockLocations: [],629 gkvInvoiceReceiver: '31',630 nonStandardCommercialNo: false,631 firstname: '',632 lastname: '',633 middlename: '',634 nameaffix: '',635 title: '',636 cantonCode: '4',637 konnektorProductVersion: 'XXX',638 fax: '034130314',639 phone: '0300141'640 },641 patients: [642 {643 _id: ObjectId( "5f92dc9a218a1f5e886859fd" ),644 additionalMirrorPatientIds: [],645 title: '',646 firstname: '0000000X',647 nameaffix: '',648 middlename: '',649 fk3120: '',650 lastname: '0000000X',651 physicians: [],652 employees: [ObjectId( "5e55190ed7d326bf8f1b6b00" )],653 markers: [],654 createPlanned: false,655 accessPRC: false,656 talk: 'MR',657 gender: 'MALE',658 sendPatientReceipt: false,659 familyDoctorModel: false,660 patientNumber: 23,661 attachedSeverity: 'NONE',662 crmTags: [],663 edmpTypes: [],664 edmpNotifiedAboutStatementOfParticipationTypes: [],665 ehksDocType: 'EHKSND',666 scheinEmployeeIds: ['5e55190ed7d326bf8f1b6b00'],667 confirmedViewFromOtherLocations: false,668 confirmedViewFromLocationIds: [],669 additionalContacts: [],670 patientsFamilyMembers: [],671 additionalFamilyMembers: [],672 countryMode: ['D'],673 accounts: [],674 communications: [],675 addresses: [],676 kbvDob: '12.12.2000',677 insuranceStatus: [678 {679 fk4133: null,680 fk4110: null,681 insuranceKind: '1',682 costCarrierBillingSection: '00',683 costCarrierBillingGroup: '11',684 feeSchedule: '2',685 fused: false,686 unzkv: [],687 bgNumber: '',688 address1: 'Lichtscheider Str. 89',689 address2: '42285 Wuppertal',690 zipcode: '',691 city: '',692 phone: '',693 insuranceLink: '',694 email: '',695 insuranceGLN: '',696 recipientGLN: '',697 department: '',698 isTiersGarant: false,699 isTiersPayant: true,700 _id: ObjectId( "5f92dc9a218a1f5e886859fe" ),701 insuranceId: '104940005',702 insuranceName: 'BARMER',703 insurancePrintName: 'BARMER',704 insuranceGrpId: '72601',705 type: 'PUBLIC',706 persGroup: '',707 dmp: '',708 kv: '72',709 locationId: '000000000000000000000001',710 fusedFrom: null,711 fusedToInsuranceId: null712 }713 ],714 affiliates: [],715 images: [],716 devices: [],717 partnerIds: [],718 careDegree: 'NO',719 dob: Date( "2000-12-12T09:00:00.000Z" ),720 isDeceased: false,721 inActive: false,722 dob_MM: '12',723 dob_DD: '12',724 patientSince: Date( "2020-10-23T13:37:13.418Z" ),725 crmTreatments: [],726 crmCatalogShort: 'GOÄ',727 latestLabData: [],728 locationId: '',729 patientNo: '23',730 lastChanged: Date( "2021-01-08T17:07:04.664Z" ),731 invoiceRecipient: null,732 activeCaseFolderId: '5f9676f6ec66806e93d92adb',733 latestMedData: []734 }735 ]736 },737 result: '<?xml version="1.0" encoding="utf-8"?><root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:gba:sqg ../../interface_LE/2020_kv_pid_1.0_Export.xsd" xmlns="urn:gba:sqg" container_version="2.0" content_version="1.0"><header><document><id V="{6270eb67-7b13-4e36-a64a-88e0b25d07dd}"/><set_id V="{6270eb67-7b13-4e36-a64a-88e0b25d07dd}"/><origination_dttm V="2021-01-12T10:47:09.786Z"/><modification_dttm V="2021-01-12T10:47:09.786Z"/><software><vendor name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Softwarehersteller" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><name V="DocCirrus-inSuite"/><version V="4.17.0"/><specification V="2020 PB V05"/></software><data_flow V="QS-Kollektivvertraglich"/><data_target V="Testdatenpool"/></document><provider name="Doc Cirrus GmbH" address="Bessemerstr. 82, 12103 Berlin" email="info@doc-cirrus.com" function="Leistungserbringer" fax="+49.30.20898729.9" phone="+49.30.20898729.0" registration="sw12345"/><protocol><status_document V="OK"/></protocol><encryption/></header><body><data_container><care_provider><BSNRAMBULANT V="310101300"/><LANR V="200007958"/></care_provider><cases module="ZKP" pseud_procedure="ZK"><case><patient twodigitik="10"><pid><VERSICHERTENIDNEU V=""/></pid></patient><case_admin><id V="23"/><guid V="{2881cfb0-38dd-4c15-9b05-40a6d440da65}"/><version V="1"/><action V="create"/><module V="ZKP"/><quarter V="1/2021"/><protocol><status_case V="OK"/></protocol></case_admin><qs_data xsi:type="qs_data_zkp_type" module="ZKP"><B><felder><DokAbschlDat V="12.01.2021"/><PROGRAMMZK V="ZK"/><kasseiknr2Stellen V="10"/><versichertenstatusgkv V="1"/><GEBDATUM V="12.12.2000"/><PLZ3stellig V="123"/><DATUMUNT V="08.01.2021"/><HPVIMPFUNG V="2"/><PRODUKT V="Produkt"/><HERKUNFTIMPFSTATUS V="2"/><ARTUANLUNT V="1"/><BEFUNDEVORUNTVORH V="0"/><HERKUNFTERGEBVORU V="1"/><VORUNTDATUM V="01.2021"/><ZYTBEFUNDVORUNTVORH V="0"/><ZYTBEFUNDVORUNT V="1"/><ZYTBEFUNDVORUNT01 V="2"/><ZYTBEFUNDVORUNTII V="1"/><ZYTBEFUNDVORUNTIII V="2"/><ZYTBEFUNDVORUNTIIID V="1"/><ZYTBEFUNDVORUNTIV V="2"/><ZYTBEFUNDVORUNTV V="1"/><HPVTVORUNTVORHAND V="0"/><HPVTVORBEFUND V="1"/><HPVVIRUSTYPVORBEFUND V="2"/><HISTOLOGVORBEFUNDVORUNT V="1"/><METAPLASIEVORGAENGE V="2"/><ADENOCARCINOMAINSITU V="1"/><INVASIVPLATTENEPITHELKARZ V="1"/><INVASIVADENOKARZ V="1"/><SONSTMETAPLASIEBEFUNDE V="1"/><SONSTBEFUNDE V="sonst befund"/><ANAMABWEICHVORUNT V="0"/><AUSFLUSSPATHBLUTUNG V="1"/><IUP V="0"/><HORMONANWENDUNGEN V="1"/><GYNOPRADIATIO V="0"/><GRAVIDITAET V="1"/><KLINISCHERBEFUND V="2"/><UNTERSUCHUNGSNUMMER V="1234566889"/><ZYTBEFUND V="1"/><ZYTBEFUND01 V="2"/><ZYTBEFUNDII V="1"/><ZYTBEFUNDIII V="2"/><ZYTBEFUNDIIID V="1"/><ZYTBEFUNDIV V="2"/><ZYTBEFUNDV V="1"/><HPVTEST V="0"/><HPVTERGEBNIS V="1"/><HPVVIRUSTYP V="2"/><EMPFOHLENEMASSNAHME V="1"/><EMPFOHLENEKONTRABKL V="2"/><ZEITHORIZONTKONTRABKL V="1"/><ZEITHORIZONT V="01"/></felder></B></qs_data></case><statistic><sent count="1"><create V="1"/><update V="0"/><delete V="0"/><corrupted V="0"/></sent><processed count="0"><create V="0"/><update V="0"/><delete V="0"/><corrupted V="0"/></processed></statistic></cases></data_container></body></root>'...

Full Screen

Full Screen

disallow-newline-before-block-statements.js

Source:disallow-newline-before-block-statements.js Github

copy

Full Screen

1var Checker = require('../../../lib/checker');2var expect = require('chai').expect;3var reportAndFix = require('../../lib/assertHelpers').reportAndFix;4describe('rules/disallow-newline-before-block-statements', function() {5 var checker;6 beforeEach(function() {7 checker = new Checker();8 checker.registerDefaultRules();9 });10 describe('with option value true -', function() {11 beforeEach(function() {12 checker.configure({ disallowNewlineBeforeBlockStatements: true });13 });14 reportAndFix({15 name: 'disallowed newline if there is one',16 rules: { disallowNewlineBeforeBlockStatements: true },17 input: 'function test()\n{abc();}',18 output: 'function test() {abc();}'19 });20 reportAndFix({21 name: 'disallowed newline only for function definition block statement',22 rules: { disallowNewlineBeforeBlockStatements: true },23 input: 'function test()\n{var obj = \n{a:1,\nb:2,\nc:3\n};\n\n return {\nval:1\n};\n}',24 output: 'function test() {var obj = \n{a:1,\nb:2,\nc:3\n};\n\n return {\nval:1\n};\n}'25 });26 reportAndFix({27 name: 'disallowed newline for all 4 statements',28 rules: { disallowNewlineBeforeBlockStatements: true },29 input: [30 'function test()',31 '{',32 'if(true)',33 '{',34 'switch (a)',35 '{',36 'case 1: break;',37 '}',38 'return 1;',39 '}',40 'for(var i in [1,2,3])',41 '{',42 '}',43 '}'44 ].join('\n'),45 output: [46 'function test() {',47 'if(true) {',48 'switch (a) {',49 'case 1: break;',50 '}',51 'return 1;',52 '}',53 'for(var i in [1,2,3]) {',54 '}',55 '}'56 ].join('\n'),57 errors: 458 });59 it('should not report disallowed newline before opening brace', function() {60 expect(checker.checkString('function test() {abc();}')).to.have.no.errors();61 });62 it('should not report disallowed newline before opening brace when there are white-spaces between', function() {63 expect(checker.checkString('function test() /* COOOMMMENTTT*/ {abc();}')).to.have.no.errors();64 });65 it('should not report disallowed newline for object definitions', function() {66 expect(checker.checkString('function test(){var obj = \n{a:1,\nb:2,\nc:3\n};\n\n return {\nval:1\n};\n}'))67 .to.have.no.errors();68 });69 it('should not report disallowed newline', function() {70 expect(checker.checkString(71 'function test(){\nif(true){\nreturn {\nval:1\n}\n}\nvar obj = \n{a:1,\nb:2,\nc:3\n};\n}'))72 .to.have.no.errors();73 });74 it('should not throw error if opening parentheses is first symbol in the file', function() {75 expect(checker.checkString('{ test: 1 }')).to.have.no.errors();76 });77 it('should not affect bare blocks #1328', function() {78 expect(checker.checkString([79 'exports.NamedNodeMap = NamedNodeMap;',80 '',81 '{',82 'let prototype = NamedNodeMap.prototype;',83 'while (prototype) {',84 'for (const name of Object.getOwnPropertyNames(prototype)) {',85 'reservedNames.add(name);',86 '}',87 'prototype = Object.getPrototypeOf(prototype);',88 '}',89 '}'90 ].join('\n'))).to.have.no.errors();91 });92 it('should not affect bare blocks with a parent BlockStatement #1328', function() {93 expect(checker.checkString([94 'function a() {',95 'let b = 1;',96 '',97 '{',98 'let c = 1;',99 '} ',100 '}'101 ].join('\n'))).to.have.no.errors();102 });103 });104 describe('with option value array - ', function() {105 describe('"if" blocks', function() {106 beforeEach(function() {107 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });108 });109 it('should report extra newlines when configured with "if"', function() {110 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}'))111 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');112 });113 it('should not complain when configured with "if" and newline not added', function() {114 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}')).to.have.no.errors();115 });116 it('should not complain when not configured with "if"', function() {117 checker.configure({ disallowNewlineBeforeBlockStatements: ['else'] });118 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}')).to.have.no.errors();119 });120 });121 describe('"else" and "else if" blocks', function() {122 beforeEach(function() {123 checker.configure({ disallowNewlineBeforeBlockStatements: ['else'] });124 });125 it('should report extra newlines when configured with "else"', function() {126 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse\n{\n\tx--;\n}'))127 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');128 });129 it('should not complain when configured with "else" and newline not added', function() {130 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse {\n\tx--;\n}'))131 .to.have.no.errors();132 });133 it('should not complain when not configured with "else"', function() {134 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });135 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse\n{\n\tx--;\n}'))136 .to.have.no.errors();137 });138 });139 describe('"for" loops', function() {140 beforeEach(function() {141 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });142 });143 it('should report extra newlines when configured with "for"', function() {144 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i)\n{\n\tx++;\n}'))145 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');146 });147 it('should not complain when configured with "for" and newline not added', function() {148 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i) {\n\tx++;\n}')).to.have.no.errors();149 });150 it('should not complain when note configured with "for"', function() {151 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });152 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i)\n{\n\tx++;\n}')).to.have.no.errors();153 });154 });155 describe('"switch" statements', function() {156 beforeEach(function() {157 checker.configure({ disallowNewlineBeforeBlockStatements: ['switch'] });158 });159 it('should report extra newlines when configured with "switch"', function() {160 expect(checker.checkString('switch (a)\n{\n\tcase 1: break;\n}'))161 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');162 });163 it('should not report newline before opening brace when there are white-spaces between', function() {164 expect(checker.checkString('switch (a) /* COOOMMMENTTT*/ {case 1: break;}')).to.have.no.errors();165 });166 it('should complain when configured with "switch" and no cases', function() {167 expect(checker.checkString('switch (a)\n{\n}'))168 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');169 });170 it('should complain when configured with "switch" and parenthesized discriminant', function() {171 expect(checker.checkString('switch ((function(){}()))\n{\n\tcase 1: break;\n}'))172 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');173 });174 it('should not complain when configured with "switch" and case on brace line', function() {175 expect(checker.checkString('switch (a) {default: 1;\n}')).to.have.no.errors();176 });177 it('should not complain when configured with "switch" and newline not added', function() {178 expect(checker.checkString('switch (a) {\n\tcase 1: break;\n}')).to.have.no.errors();179 });180 it('should not complain when not configured with "switch"', function() {181 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });182 expect(checker.checkString('switch (a)\n{\n\tcase 1: break;\n}')).to.have.no.errors();183 });184 });185 describe('"for...in" loops', function() {186 beforeEach(function() {187 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });188 });189 it('should report extra newlines when configured with "for"', function() {190 expect(checker.checkString('for (var i in x)\n{\n\ty++;\n}'))191 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');192 });193 it('should not complain when configured with "for" and newline not added', function() {194 expect(checker.checkString('for (var i in x) {\n\ty++;\n}')).to.have.no.errors();195 });196 it('should not complain when not configured with "for"', function() {197 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });198 expect(checker.checkString('for (var i in x)\n{\n\ty++;\n}')).to.have.no.errors();199 });200 });201 describe('function declarations', function() {202 beforeEach(function() {203 checker.configure({ disallowNewlineBeforeBlockStatements: ['function'] });204 });205 it('should report extra newlines when configured with "function"', function() {206 expect(checker.checkString('function myFunc(y)\n{\n\ty++;\n}'))207 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');208 });209 it('should not complain when configured with "function" and newline not added', function() {210 expect(checker.checkString('function myFunc(y) {\n\ty++;\n}')).to.have.no.errors();211 });212 it('should not complain when not configured with "function"', function() {213 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });214 expect(checker.checkString('function myFunc(y)\n{\n\ty++;\n}')).to.have.no.errors();215 });216 });217 describe('function expressions', function() {218 beforeEach(function() {219 checker.configure({ disallowNewlineBeforeBlockStatements: ['function'] });220 });221 it('should report extra newlines when configured with "function"', function() {222 expect(checker.checkString('var z = function(y)\n{\n\ty++;\n}'))223 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');224 });225 it('should not complain when configured with "function" and newline not added', function() {226 expect(checker.checkString('var z = function(y) {\n\ty++;\n}')).to.have.no.errors();227 });228 it('should not complain when not configured with "function"', function() {229 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });230 expect(checker.checkString('var z = function(y)\n{\n\ty++;\n}')).to.have.no.errors();231 });232 });233 describe('arrow function expressions', function() {234 beforeEach(function() {235 checker.configure({ disallowNewlineBeforeBlockStatements: ['function'] });236 });237 it('should report extra newlines when configured with "function"', function() {238 expect(checker.checkString('var z = (y) => \n{\n\ty++;\n}'))239 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');240 });241 it('should not complain when configured with "function" and newline not added', function() {242 expect(checker.checkString('var z = (y) => {\n\ty++;\n}')).to.have.no.errors();243 });244 it('should not complain when not configured with "function"', function() {245 checker.configure({ disallowNewlineBeforeBlockStatements: ['if'] });246 expect(checker.checkString('var z = (y) => \n{\n\ty++;\n}')).to.have.no.errors();247 });248 });249 describe('"try" blocks', function() {250 beforeEach(function() {251 checker.configure({ disallowNewlineBeforeBlockStatements: ['try'] });252 });253 it('should report extra newlines when configured with "try"', function() {254 expect(checker.checkString('try\n{\n\ty++;\n} catch(e) {\n}'))255 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');256 });257 it('should not complain when configured with "try" and newline not added', function() {258 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n}\nfinally\n{\n\tq = 5;\n}'))259 .to.have.no.errors();260 });261 it('should not complain when not configured with "try"', function() {262 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });263 expect(checker.checkString('try\n{\n\ty++;\n} catch(e) {\n}')).to.have.no.errors();264 });265 });266 describe('"catch" blocks', function() {267 beforeEach(function() {268 checker.configure({ disallowNewlineBeforeBlockStatements: ['catch'] });269 });270 it('should report extra newlines when configured with "catch"', function() {271 expect(checker.checkString('try {\n\ty++;\n} catch(e)\n{\n}'))272 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');273 });274 it('should not complain when configured with "catch" and newline not added', function() {275 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n}')).to.have.no.errors();276 });277 it('should not complain when not configured with "catch"', function() {278 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });279 expect(checker.checkString('try {\n\ty++;\n} catch(e)\n{\n}')).to.have.no.errors();280 });281 });282 describe('"finally" blocks', function() {283 beforeEach(function() {284 checker.configure({ disallowNewlineBeforeBlockStatements: ['finally'] });285 });286 it('should report extra newlines when configured with "finally"', function() {287 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n} finally\n{\n\tq = 5;\n}'))288 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');289 });290 it('should not complain when configured with "finally" and newline not added', function() {291 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n} finally {\n\tq = 5;\n}'))292 .to.have.no.errors();293 });294 it('should not complain when not configured with "finally"', function() {295 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });296 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n} finally\n{\n\tq = 5;\n}'))297 .to.have.no.errors();298 });299 });300 describe('"while" loops', function() {301 beforeEach(function() {302 checker.configure({ disallowNewlineBeforeBlockStatements: ['while'] });303 });304 it('should report extra newlines when configured with "while"', function() {305 expect(checker.checkString('while (x < 10)\n{\n\tx++;\n}'))306 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');307 });308 it('should not complain when configured with "while" and newline not added', function() {309 expect(checker.checkString('while (x < 10) {\n\tx++;\n}')).to.have.no.errors();310 });311 it('should not complain when not configured with "while"', function() {312 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });313 expect(checker.checkString('while (x < 10)\n{\n\tx++;\n}')).to.have.no.errors();314 });315 });316 describe('"do...while" loops', function() {317 beforeEach(function() {318 checker.configure({ disallowNewlineBeforeBlockStatements: ['do'] });319 });320 it('should report extra newlines when configured with "do"', function() {321 expect(checker.checkString('do\n{\n\tx++;\n} while (x < 10);'))322 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');323 });324 it('should not complain when configured with "do" and newline not added', function() {325 expect(checker.checkString('do {\n\tx++;\n} while (x < 10);')).to.have.no.errors();326 });327 it('should not complain when not configured with "do"', function() {328 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });329 expect(checker.checkString('do\n{\n\tx++;\n} while (x < 10);')).to.have.no.errors();330 });331 });332 describe('"class" blocks', function() {333 beforeEach(function() {334 checker.configure({ disallowNewlineBeforeBlockStatements: ['class'] });335 });336 it('should report extra newlines when configured with "class"', function() {337 expect(checker.checkString('class Foo \r\n{\r\n\tfoo () {\r\n\t\treturn 1;\r\n\t}\r\n}'))338 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');339 });340 it('should not complain when configured with "class" and newline not added', function() {341 expect(checker.checkString('class Foo {\r\n\tfoo () {\r\n\t\treturn 1;\r\n\t}\r\n}'))342 .to.have.no.errors();343 });344 it('should not complain when not configured with "class"', function() {345 checker.configure({ disallowNewlineBeforeBlockStatements: ['for'] });346 expect(checker.checkString('class Foo {\r\n\tfoo () {\r\n\t\treturn 1;\r\n\t}\r\n}'))347 .to.have.no.errors();348 });349 });350 describe('other block types', function() {351 beforeEach(function() {352 checker.configure({353 disallowNewlineBeforeBlockStatements: [354 'if',355 'else',356 'try',357 'catch',358 'finally',359 'do',360 'while',361 'for',362 'function'363 ]364 });365 });366 it('should be ignored', function() {367 expect(checker.checkString('{\nvar y = { "things": "stuff" };\n}')).to.have.no.errors();368 });369 });370 });371 describe('with option value object and allExcept multiLine - ', function() {372 beforeEach(function() {373 checker.configure({374 disallowNewlineBeforeBlockStatements: {375 value: true,376 allExcept: ['multiLine']377 }378 });379 });380 it('misc checks', function() {381 expect(checker.checkString('function foo(a,b) { }'))382 .to.have.no.errors();383 expect(checker.checkString('function foo(a,\nb) { }'))384 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');385 expect(checker.checkString('switch((function(){}\n())) { }'))386 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');387 expect(checker.checkString('function foo() { for (var i=0; i<len; i++) { } }'))388 .to.have.no.errors();389 expect(checker.checkString('function foo() { for (var i=0; i<len;\ni++) { } }'))390 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');391 expect(checker.checkString('function foo() { for (var i=0; i<len;\ni++)\n{ } }'))392 .to.have.no.errors();393 expect(checker.checkString('function foo() { if (true) { } }'))394 .to.have.no.errors();395 expect(checker.checkString('function foo() { if (a && b()) { } }'))396 .to.have.no.errors();397 expect(checker.checkString('function foo() { if (a &&\nb()) { } }'))398 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');399 expect(checker.checkString('function foo() { if (a &&\nb())\n{ } }'))400 .to.have.no.errors();401 expect(checker.checkString('(function () {}())'))402 .to.have.no.errors();403 expect(checker.checkString('try {\n\ty++;\n} catch(e) {\n}'))404 .to.have.no.errors();405 });406 it('"switch" statements', function() {407 expect(checker.checkString('switch((function(){}\n())) { }'))408 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');409 expect(checker.checkString('switch((function(){}()))\n{ }'))410 .to.have.one.validation.error.from('disallowNewlineBeforeBlockStatements');411 expect(checker.checkString('switch((function(){}\n()))\n{ }'))412 .to.have.no.errors();413 });414 });...

Full Screen

Full Screen

require-newline-before-block-statements.js

Source:require-newline-before-block-statements.js Github

copy

Full Screen

1var Checker = require('../../../lib/checker');2var expect = require('chai').expect;3describe('rules/require-newline-before-block-statements', function() {4 var checker;5 beforeEach(function() {6 checker = new Checker();7 checker.registerDefaultRules();8 });9 describe('with option value true - ', function() {10 beforeEach(function() {11 checker.configure({ requireNewlineBeforeBlockStatements: true });12 });13 it('should report missing newline before opening brace', function() {14 expect(checker.checkString('function test() {abc();}'))15 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');16 });17 it('should report missing newline before opening brace for "switch"', function() {18 expect(checker.checkString('switch (a) {\n\tcase 1: break;\n}'))19 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');20 });21 it('should report missing newline before opening brace when there are white-spaces between', function() {22 expect(checker.checkString('function test() /* COOOMMMENTTT*/ {abc();}'))23 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');24 });25 it('should not report missing newline if there is one', function() {26 expect(checker.checkString('function test()\n{abc();}')).to.have.no.errors();27 });28 it('should not report missing newline if there are more of them combined with white-spaces', function() {29 expect(checker.checkString('function test() \n \n/*BLOCK*/ {abc();}')).to.have.no.errors();30 });31 it('should not report missing newline for object definitions', function() {32 expect(checker.checkString('function test()\n{var obj = {a:1,\nb:2,\nc:3\n};\n\n return {\nval:1\n};\n}'))33 .to.have.no.errors();34 });35 it('should report missing newline only for function definition block statement', function() {36 expect(checker.checkString('function test(){var obj = {a:1,\nb:2,\nc:3\n};\n\n return {\nval:1\n};\n}'))37 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');38 });39 it('should report missing newline for all 4 statements', function() {40 expect(checker.checkString([41 'function test(){',42 'if(true){',43 'switch (a){',44 'case 1: break;',45 '}',46 'return 1;',47 '}',48 'for(var i in [1,2,3]){',49 '}',50 '}'51 ].join('\n'))).to.have.error.count.equal(4);52 });53 it('should not report missing newline', function() {54 expect(checker.checkString([55 'function test()',56 '{',57 'if(true)',58 '{',59 'switch (a)',60 '{',61 'case 1: break;',62 '}',63 'return 1;',64 '}',65 'for(var i in [1,2,3])',66 '{',67 '}',68 '}'69 ].join('\n'))).to.have.no.errors();70 });71 it('should not throw error if opening parentheses is first symbol in the file', function() {72 expect(checker.checkString('{test: 1 }')).to.have.no.errors();73 });74 it('should not affect bare blocks #1328', function() {75 expect(checker.checkString([76 'exports.NamedNodeMap = NamedNodeMap;',77 '',78 '{',79 'let prototype = NamedNodeMap.prototype;',80 'while (prototype)',81 '{',82 'for (const name of Object.getOwnPropertyNames(prototype))',83 '{',84 'reservedNames.add(name);',85 '}',86 'prototype = Object.getPrototypeOf(prototype);',87 '}',88 '}'89 ].join('\n'))).to.have.no.errors();90 });91 });92 describe('with option value array - ', function() {93 describe('"if" blocks', function() {94 beforeEach(function() {95 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });96 });97 it('should report missing newlines when configured with "if"', function() {98 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}'))99 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');100 });101 it('should not complain when configured with "if" and newline exists', function() {102 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}')).to.have.no.errors();103 });104 it('should not complain when not configured with "if"', function() {105 checker.configure({ requireNewlineBeforeBlockStatements: ['else'] });106 expect(checker.checkString('if(i == 0) {\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}')).to.have.no.errors();107 });108 });109 describe('"else" and "else if" blocks', function() {110 beforeEach(function() {111 checker.configure({ requireNewlineBeforeBlockStatements: ['else'] });112 });113 it('should report missing newlines when configured with "else"', function() {114 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse{\n\tx--;\n}'))115 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');116 });117 it('should not complain when configured with "else" and newline exists', function() {118 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse\n{\n\tx--;\n}'))119 .to.have.no.errors();120 });121 it('should not complain when not configured with "else"', function() {122 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });123 expect(checker.checkString('if(i == 0)\n{\n\tx++;\n\ty = {\n\t\tb: "1"\n\t};\n}\nelse{\n\tx--;\n}'))124 .to.have.no.errors();125 });126 });127 describe('"for" loops', function() {128 beforeEach(function() {129 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });130 });131 it('should report missing newlines when configured with "for"', function() {132 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i) {\n\tx++;\n}'))133 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');134 });135 it('should not complain when configured with "for" and newline exists', function() {136 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i)\n{\n\tx++;\n}')).to.have.no.errors();137 });138 it('should not complain when not configured with "for"', function() {139 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });140 expect(checker.checkString('for (var i = 0, len = 10; i < 10; ++i) {\n\tx++;\n}')).to.have.no.errors();141 });142 });143 describe('"switch" statements', function() {144 beforeEach(function() {145 checker.configure({ requireNewlineBeforeBlockStatements: ['switch'] });146 });147 it('should report missing newlines when configured with "switch"', function() {148 expect(checker.checkString('switch (a) {\n\tcase 1: break;\n}'))149 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');150 });151 it('should report missing newline before opening brace when there are white-spaces between', function() {152 expect(checker.checkString('switch (a) /* COOOMMMENTTT*/ {\n\tcase 1: break;\n}'))153 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');154 });155 it('should not report missing newline if there are more of them combined with white-spaces', function() {156 expect(checker.checkString('switch (a) \n \n/*BLOCK*/ {\n\tcase 1: break;\n}'))157 .to.have.no.errors();158 });159 it('should complain when configured with "switch" and no cases', function() {160 expect(checker.checkString('switch (a) {\n}'))161 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');162 });163 it('should complain when configured with "switch" and parenthesized discriminant', function() {164 expect(checker.checkString('switch ((function(){}())) {\n\tcase 1: break;\n}'))165 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');166 });167 it('should not complain when configured with "switch" and newline exists', function() {168 expect(checker.checkString('switch (a)\n{\n\tcase 1: break;\n}')).to.have.no.errors();169 });170 it('should not complain when configured with "switch" and case on brace line', function() {171 expect(checker.checkString('switch (a)\n{default: 1;\n}')).to.have.no.errors();172 });173 it('should not complain when not configured with "switch"', function() {174 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });175 expect(checker.checkString('switch (a) {\n\tdefault: 1;\n}')).to.have.no.errors();176 });177 });178 describe('"for...in" loops', function() {179 beforeEach(function() {180 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });181 });182 it('should report missing newlines when configured with "for"', function() {183 expect(checker.checkString('for (var i in x) {\n\ty++;\n}'))184 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');185 });186 it('should not complain when configured with "for" and newline exists', function() {187 expect(checker.checkString('for (var i in x)\n{\n\ty++;\n}')).to.have.no.errors();188 });189 it('should not complain when not configured with "for"', function() {190 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });191 expect(checker.checkString('for (var i in x) {\n\ty++;\n}')).to.have.no.errors();192 });193 });194 describe('function declarations', function() {195 beforeEach(function() {196 checker.configure({ requireNewlineBeforeBlockStatements: ['function'] });197 });198 it('should report missing newlines when configured with "function"', function() {199 expect(checker.checkString('function myFunc(y) {\n\ty++;\n}'))200 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');201 });202 it('should not complain when configured with "function" and newline exists', function() {203 expect(checker.checkString('function myFunc(y)\n{\n\ty++;\n}')).to.have.no.errors();204 });205 it('should not complain when not configured with "function"', function() {206 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });207 expect(checker.checkString('function myFunc(y) {\n\ty++;\n}')).to.have.no.errors();208 });209 });210 describe('function expressions', function() {211 beforeEach(function() {212 checker.configure({ requireNewlineBeforeBlockStatements: ['function'] });213 });214 it('should report missing newlines when configured with "function"', function() {215 expect(checker.checkString('var z = function(y) {\n\ty++;\n}'))216 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');217 });218 it('should not complain when configured with "function" and newline exists', function() {219 expect(checker.checkString('var z = function(y)\n{\n\ty++;\n}')).to.have.no.errors();220 });221 it('should not complain when not configured with "function"', function() {222 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });223 expect(checker.checkString('var z = function(y) {\n\ty++;\n}')).to.have.no.errors();224 });225 });226 describe('arrow function expressions', function() {227 beforeEach(function() {228 checker.configure({ requireNewlineBeforeBlockStatements: ['function'] });229 });230 it('should report missing newlines when configured with "function"', function() {231 expect(checker.checkString('var z = (y) => {\n\ty++;\n}'))232 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');233 });234 it('should not complain when configured with "function" and newline exists', function() {235 expect(checker.checkString('var z = (y) => \n{\n\ty++;\n}')).to.have.no.errors();236 });237 it('should not complain when not configured with "function"', function() {238 checker.configure({ requireNewlineBeforeBlockStatements: ['if'] });239 expect(checker.checkString('var z = (y) => {\n\ty++;\n}')).to.have.no.errors();240 });241 });242 describe('"try" blocks', function() {243 beforeEach(function() {244 checker.configure({ requireNewlineBeforeBlockStatements: ['try'] });245 });246 it('should report missing newlines when configured with "try"', function() {247 expect(checker.checkString('try {\n\ty++;\n}\ncatch(e)\n{\n}'))248 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');249 });250 it('should not complain when configured with "try" and newline exists', function() {251 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e)\n{\n}\nfinally\n{\n\tq = 5;\n}'))252 .to.have.no.errors();253 });254 it('should not complain when not configured with "try"', function() {255 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });256 expect(checker.checkString('try {\n\ty++;\n}\ncatch(e)\n{\n}')).to.have.no.errors();257 });258 });259 describe('"catch" blocks', function() {260 beforeEach(function() {261 checker.configure({ requireNewlineBeforeBlockStatements: ['catch'] });262 });263 it('should report missing newlines when configured with "catch"', function() {264 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e) {\n}'))265 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');266 });267 it('should not complain when configured with "catch" and newline exists', function() {268 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e)\n{\n}')).to.have.no.errors();269 });270 it('should not complain when not configured with "catch"', function() {271 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });272 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e) {\n}')).to.have.no.errors();273 });274 });275 describe('"finally" blocks', function() {276 beforeEach(function() {277 checker.configure({ requireNewlineBeforeBlockStatements: ['finally'] });278 });279 it('should report missing newlines when configured with "finally"', function() {280 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e)\n{\n}\nfinally {\n\tq = 5;\n}'))281 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');282 });283 it('should not complain when configured with "finally" and newline exists', function() {284 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e)\n{\n}\nfinally\n{\n\tq = 5;\n}'))285 .to.have.no.errors();286 });287 it('should not complain when not configured with "finally"', function() {288 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });289 expect(checker.checkString('try\n{\n\ty++;\n}\ncatch(e)\n{\n}\nfinally {\n\tq = 5;\n}'))290 .to.have.no.errors();291 });292 });293 describe('"while" loops', function() {294 beforeEach(function() {295 checker.configure({ requireNewlineBeforeBlockStatements: ['while'] });296 });297 it('should report missing newlines when configured with "while"', function() {298 expect(checker.checkString('while (x < 10) {\n\tx++;\n}'))299 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');300 });301 it('should not complain when configured with "while" and newline exists', function() {302 expect(checker.checkString('while (x < 10)\n{\n\tx++;\n}')).to.have.no.errors();303 });304 it('should not complain when not configured with "while"', function() {305 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });306 expect(checker.checkString('while (x < 10) {\n\tx++;\n}')).to.have.no.errors();307 });308 });309 describe('"do...while" loops', function() {310 beforeEach(function() {311 checker.configure({ requireNewlineBeforeBlockStatements: ['do'] });312 });313 it('should report missing newlines when configured with "do"', function() {314 expect(checker.checkString('do {\n\tx++;\n}\nwhile (x < 10);'))315 .to.have.one.validation.error.from('requireNewlineBeforeBlockStatements');316 });317 it('should not complain when configured with "do" and newline exists', function() {318 expect(checker.checkString('do\n{\n\tx++;\n}\nwhile (x < 10);')).to.have.no.errors();319 });320 it('should not complain when not configured with "do"', function() {321 checker.configure({ requireNewlineBeforeBlockStatements: ['for'] });322 expect(checker.checkString('do {\n\tx++;\n}\nwhile (x < 10);')).to.have.no.errors();323 });324 });325 describe('other block types', function() {326 beforeEach(function() {327 checker.configure({328 requireNewlineBeforeBlockStatements: [329 'if',330 'else',331 'try',332 'catch',333 'finally',334 'do',335 'while',336 'for',337 'function'338 ]339 });340 });341 it('should be ignored', function() {342 expect(checker.checkString('{ var y = { "things": "stuff" }; }')).to.have.no.errors();343 });344 });345 });...

Full Screen

Full Screen

parabola.js

Source:parabola.js Github

copy

Full Screen

1window.onload = function () {2 var canvas = document.getElementById("myCanvas");3 var context = canvas.getContext("2d");4 var doodle = new Doodle(context);5 context.save();6//top left7 for (var i = 0; i < 100; i++) {8 var newLine = new Line ({9 startX: 500 - (5*i),10 startY: 0,11 endX: 0,12 endY: 5 * i,13 })14 if (i % 2 === 0) {15 newLine.color = "red";16 }17 if (i % 3 === 0) {18 newLine.color = "orange";19 }20 if (i % 4 === 0) {21 newLine.color = "yellow";22 }23 if (i % 5 === 0) {24 newLine.color = "green";25 }26 if (i % 6 === 0) {27 newLine.color = "blue";28 }29 if (i % 7 === 0) {30 newLine.color = "purple";31 }32 doodle.children.push(newLine);33 }34//top right35 for (var i = 0; i < 100; i++) {36 var newLine = new Line ({37 startX: 500 + (5*i),38 startY: 0,39 endX: 1000,40 endY: 5 * i,41 })42 if (i % 2 === 0) {43 newLine.color = "red";44 }45 if (i % 3 === 0) {46 newLine.color = "orange";47 }48 if (i % 4 === 0) {49 newLine.color = "yellow";50 }51 if (i % 5 === 0) {52 newLine.color = "green";53 }54 if (i % 6 === 0) {55 newLine.color = "cyan";56 }57 if (i % 7 === 0) {58 newLine.color = "purple";59 }60 doodle.children.push(newLine);61 }62// bottom left63 for (var i = 0; i < 100; i++) {64 var newLine = new Line ({65 startX: 500 - (5*i),66 startY: 1000,67 endX: 0,68 endY: 1000 - (5*i),69 })70 if (i % 2 === 0) {71 newLine.color = "red";72 }73 if (i % 3 === 0) {74 newLine.color = "orange";75 }76 if (i % 4 === 0) {77 newLine.color = "yellow";78 }79 if (i % 5 === 0) {80 newLine.color = "green";81 }82 if (i % 6 === 0) {83 newLine.color = "cyan";84 }85 if (i % 7 === 0) {86 newLine.color = "purple";87 }88 doodle.children.push(newLine);89 }90 // bottom right91 for (var i = 0; i < 100; i++) {92 var newLine = new Line ({93 startX: 500 + (5*i),94 startY: 1000,95 endX: 1000,96 endY: 1000 - (5*i),97 })98 if (i % 2 === 0) {99 newLine.color = "red";100 }101 if (i % 3 === 0) {102 newLine.color = "orange";103 }104 if (i % 4 === 0) {105 newLine.color = "yellow";106 }107 if (i % 5 === 0) {108 newLine.color = "green";109 }110 if (i % 6 === 0) {111 newLine.color = "blue";112 }113 if (i % 7 === 0) {114 newLine.color = "purple";115 }116 doodle.children.push(newLine);117 }118//bottom left middle part119 for (var i = 0; i < 100; i++) {120 var newLine = new Line ({121 startX: (5*i),122 startY: 500,123 endX: 500,124 endY: 500+ 5 * i,125 })126 if (i % 2 === 0) {127 newLine.color = "red";128 }129 if (i % 3 === 0) {130 newLine.color = "orange";131 }132 if (i % 4 === 0) {133 newLine.color = "yellow";134 }135 if (i % 5 === 0) {136 newLine.color = "green";137 }138 if (i % 6 === 0) {139 newLine.color = "cyan";140 }141 if (i % 7 === 0) {142 newLine.color = "purple";143 }144 doodle.children.push(newLine);145 }146//bottom right middle part147 for (var i = 0; i < 100; i++) {148 var newLine = new Line ({149 startX: 1000 - 5*i,150 startY: 500,151 endX: 500,152 endY: 500 + 5*i,153 })154 if (i % 2 === 0) {155 newLine.color = "fuschia";156 }157 if (i % 3 === 0) {158 newLine.color = "orange";159 }160 if (i % 4 === 0) {161 newLine.color = "yellow";162 }163 if (i % 5 === 0) {164 newLine.color = "green";165 }166 if (i % 6 === 0) {167 newLine.color = "cyan";168 }169 if (i % 7 === 0) {170 newLine.color = "purple";171 }172 doodle.children.push(newLine);173 }174 //bottom right middle part175 for (var i = 0; i < 100; i++) {176 var newLine = new Line ({177 startX: 1000 - 5*i,178 startY: 500,179 endX: 500,180 endY: 500 + 5*i,181 })182 if (i % 2 === 0) {183 newLine.color = "fuschia";184 }185 if (i % 3 === 0) {186 newLine.color = "orange";187 }188 if (i % 4 === 0) {189 newLine.color = "yellow";190 }191 if (i % 5 === 0) {192 newLine.color = "green";193 }194 if (i % 6 === 0) {195 newLine.color = "cyan";196 }197 if (i % 7 === 0) {198 newLine.color = "purple";199 }200 doodle.children.push(newLine);201 }202 // bottom right203 for (var i = 0; i < 100; i++) {204 var newLine = new Line ({205 startX: (5*i),206 startY: 500,207 endX: 500,208 endY: 500 - (5*i),209 })210 if (i % 2 === 0) {211 newLine.color = "red";212 }213 if (i % 3 === 0) {214 newLine.color = "orange";215 }216 if (i % 4 === 0) {217 newLine.color = "yellow";218 }219 if (i % 5 === 0) {220 newLine.color = "green";221 }222 if (i % 6 === 0) {223 newLine.color = "cyan";224 }225 if (i % 7 === 0) {226 newLine.color = "purple";227 }228 doodle.children.push(newLine);229 }230// bottom left231 for (var i = 0; i < 100; i++) {232 var newLine = new Line ({233 startX: 1000 - (5*i),234 startY: 500,235 endX: 500,236 endY: 500 - (5*i),237 })238 if (i % 2 === 0) {239 newLine.color = "red";240 }241 if (i % 3 === 0) {242 newLine.color = "orange";243 }244 if (i % 4 === 0) {245 newLine.color = "yellow";246 }247 if (i % 5 === 0) {248 newLine.color = "green";249 }250 if (i % 6 === 0) {251 newLine.color = "cyan";252 }253 if (i % 7 === 0) {254 newLine.color = "purple";255 }256 doodle.children.push(newLine);257 }258 // Write some text.259 var text = new Text({ left: 475, height: 500, content: "Math rules!", fill: "blue" });260 doodle.children.push(text);261 262 doodle.draw();...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: 'google.png' });7 await browser.close();8})();9const { chromium } = require('playwright');10(async () => {11 const browser = await chromium.launch();12 const context = await browser.newContext();13 const page = await context.newPage();14 await page.screenshot({ path: 'google.png' });15 await browser.close();16})();17const { chromium } = require('playwright');18(async () => {19 const browser = await chromium.launch();20 const context = await browser.newContext();21 const page = await context.newPage();22 await page.screenshot({ path: 'google.png' });23 await browser.close();24})();25const { chromium } = require('playwright');26(async () => {27 const browser = await chromium.launch();28 const context = await browser.newContext();29 const page = await context.newPage();30 await page.screenshot({ path: 'google.png' });31 await browser.close();32})();33const { chromium } = require('playwright');34(async () => {35 const browser = await chromium.launch();36 const context = await browser.newContext();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: 'example.png' });7 await browser.close();8})();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.type('input[name="q"]', 'Hello World!');7 await page.keyboard.press('Enter');8 await page.waitForTimeout(1000);9 await page.screenshot({ path: 'screenshot.png' });10 await browser.close();11})();12const { chromium } = require('playwright');13(async () => {14 const browser = await chromium.launch();15 const context = await browser.newContext();16 const page = await context.newPage();17 await page.type('input[name="q"]', 'Hello World!');18 await page.keyboard.press('Enter');19 await page.waitForTimeout(1000);20 await page.screenshot({ path: 'screenshot.png' });21 await browser.close();22})();23const { chromium } = require('playwright');24(async () => {25 const browser = await chromium.launch();26 const context = await browser.newContext();27 const page = await context.newPage();28 await page.type('input[name="q"]', 'Hello World!');29 await page.keyboard.press('Enter');30 await page.waitForTimeout(1000);31 await page.screenshot({ path: 'screenshot.png' });32 await browser.close();33})();34const { chromium } = require('playwright');35(async () => {36 const browser = await chromium.launch();37 const context = await browser.newContext();38 const page = await context.newPage();39 await page.type('input[name="q"]', 'Hello World!');40 await page.keyboard.press('Enter');41 await page.waitForTimeout(1000);42 await page.screenshot({ path: 'screenshot.png' });43 await browser.close();44})();45const { chromium } = require('playwright

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.fill('input[name="q"]', 'Playwright');7 await page.press('input[name="q"]', 'Enter');8 await page.waitForSelector('text=Playwright - Google Search');9 await page.screenshot({ path: `screenshot.png` });10 await browser.close();11})();12const { chromium } = require('playwright');13(async () => {14 const browser = await chromium.launch();15 const context = await browser.newContext();16 const page = await context.newPage();17 await page.fill('input[name="q"]', 'Playwright');18 await page.press('input[name="q"]', 'Enter');19 await page.waitForSelector('text=Playwright - Google Search');20 await page.screenshot({ path: `screenshot.png` });21 await browser.close();22})();23const { chromium } = require('playwright');24(async () => {25 const browser = await chromium.launch();26 const context = await browser.newContext();27 const page = await context.newPage();28 await page.fill('input[name="q"]', 'Playwright');29 await page.press('input[name="q"]', 'Enter');30 await page.waitForSelector('text=Playwright - Google Search');31 await page.screenshot({ path: `screenshot.png` });32 await browser.close();33})();34const { chromium } = require('playwright');35(async () => {36 const browser = await chromium.launch();37 const context = await browser.newContext();38 const page = await context.newPage();39 await page.fill('input[name="q"]', 'Playwright');40 await page.press('input[name="q"]', 'Enter');41 await page.waitForSelector('text=Playwright - Google Search');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch({4 });5 const context = await browser.newContext();6 const page = await context.newPage();7 await page.fill('input[title="Search"]', 'playwright');8 await page.keyboard.press('Enter');9 await page.screenshot({ path: `example.png` });10 await browser.close();11})();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { test, expect } = require('@playwright/test');2test('My test', async ({ page }) => {3 await page.click('text=Get started');4 await page.click('text=Docs');5 await page.click('text=API');6 await page.click('text=Class: Page');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { test, expect } = require('@playwright/test');2test('my test', async ({ page }) => {3 await page.click('input[name="q"]');4 await page.keyboard.type('hello world');5 await page.keyboard.press('Enter');6 await page.waitForSelector('text="Hello World"');7 await page.click('text="Hello World"');8 await page.waitForSelector('text="Hello World - Wikipedia"');9});10FAIL test.js (3.3s)11 1 | const { test, expect } = require('@playwright/test');12 > 3 | test('my test', async ({ page }) => {13 5 | await page.click('input[name="q"]');14 6 | await page.keyboard.type('hello world');15 at Object.dispatch (node_modules/playwright-core/lib/client/transport.js:182:13)16 at Object.dispatch (node_modules/playwright-core/lib/client/client.js:43:41)17 at Object.callFunctionOn (node_modules/playwright-core/lib/client/client.js:242:28)18 at Object.callFunctionOn (node_modules/playwright-core/lib/client/overrides.js:7:24)19 at Object._evaluateExpression (node_modules/playwright-core/lib/client/frames.js:141:29)20 at Object._evaluateExpression (node_modules/playwright-core/lib/client/overrides.js:7:24)21 at Object.evaluateExpression (node_modules/playwright-core/lib/client/frames.js:105:25)22 at Object.evaluateExpression (node_modules/playwright-core/lib/client/overrides.js:7:24)23 at Object.evaluateExpressionHandle (node_modules/playwright-core/lib/client/frames.js:116:25)24 at Object.evaluateExpressionHandle (node_modules/playwright-core/lib/client/overrides.js:7:24)

Full Screen

Using AI Code Generation

copy

Full Screen

1const { test, expect } = require('@playwright/test');2test('should work', async ({ page }) => {3 await page.fill('input[aria-label="Search"]', 'Newline4');5 expect(await page.innerText('input[aria-label="Search"]')).toBe('Newline6');7});8test('should fail', async ({ page }) => {9 await page.fill('input[aria-label="Search"]', 'Newline10');11 expect(await page.innerText('input[aria-label="Search"]')).toBe('Newline12');13});14await page.fill('input[aria-label="Search"]', 'Newline' + String.fromCharCode(13));15await page.fill('textarea', 'Newline' + String.fromCharCode(13));16await page.fill('textarea', 'Newline' + String.fromCharCode(13));

Full Screen

Using AI Code Generation

copy

Full Screen

1const { test, expect } = require('@playwright/test');2test('should pass', async ({ page }) => {3 await page.fill('input', 'foo');4 await page.keyboard.press('Enter');5 await page.fill('input', 'bar');6 await page.keyboard.press('Enter');7 await page.fill('input', 'baz');8 await page.keyboard.press('Enter');9 await page.fill('input', 'qux');10 await page.keyboard.press('Enter');11 await page.fill('input', 'quux');12 await page.keyboard.press('Enter');13 await page.fill('input', 'quuz');14 await page.keyboard.press('Enter');15 await page.fill('input', 'corge');16 await page.keyboard.press('Enter');17 await page.fill('input', 'grault');18 await page.keyboard.press('Enter');19 await page.fill('input', 'garply');20 await page.keyboard.press('Enter');21 await page.fill('input', 'waldo');22 await page.keyboard.press('Enter');23 await page.fill('input', 'fred');24 await page.keyboard.press('Enter');25 await page.fill('input', 'plugh');26 await page.keyboard.press('Enter');27 await page.fill('input', 'xyzzy');28 await page.keyboard.press('Enter');29 await page.fill('input', 'thud');30 await page.keyboard.press('Enter');31 await page.fill('input', 'foo');32 await page.keyboard.press('Enter');33 await page.fill('input', 'bar');34 await page.keyboard.press('Enter');35 await page.fill('input', 'baz');36 await page.keyboard.press('Enter');37 await page.fill('input', 'qux');38 await page.keyboard.press('Enter');39 await page.fill('input', 'quux');40 await page.keyboard.press('Enter');41 await page.fill('input', 'quuz');42 await page.keyboard.press('Enter');43 await page.fill('input', 'corge');44 await page.keyboard.press('Enter');45 await page.fill('input', 'grault');46 await page.keyboard.press('Enter');47 await page.fill('input', 'garply');48 await page.keyboard.press('Enter');49 await page.fill('input', 'waldo');50 await page.keyboard.press('Enter');51 await page.fill('input', 'fred');

Full Screen

Playwright tutorial

LambdaTest’s Playwright tutorial will give you a broader idea about the Playwright automation framework, its unique features, and use cases with examples to exceed your understanding of Playwright testing. This tutorial will give A to Z guidance, from installing the Playwright framework to some best practices and advanced concepts.

Chapters:

  1. What is Playwright : Playwright is comparatively new but has gained good popularity. Get to know some history of the Playwright with some interesting facts connected with it.
  2. How To Install Playwright : Learn in detail about what basic configuration and dependencies are required for installing Playwright and run a test. Get a step-by-step direction for installing the Playwright automation framework.
  3. Playwright Futuristic Features: Launched in 2020, Playwright gained huge popularity quickly because of some obliging features such as Playwright Test Generator and Inspector, Playwright Reporter, Playwright auto-waiting mechanism and etc. Read up on those features to master Playwright testing.
  4. What is Component Testing: Component testing in Playwright is a unique feature that allows a tester to test a single component of a web application without integrating them with other elements. Learn how to perform Component testing on the Playwright automation framework.
  5. Inputs And Buttons In Playwright: Every website has Input boxes and buttons; learn about testing inputs and buttons with different scenarios and examples.
  6. Functions and Selectors in Playwright: Learn how to launch the Chromium browser with Playwright. Also, gain a better understanding of some important functions like “BrowserContext,” which allows you to run multiple browser sessions, and “newPage” which interacts with a page.
  7. Handling Alerts and Dropdowns in Playwright : Playwright interact with different types of alerts and pop-ups, such as simple, confirmation, and prompt, and different types of dropdowns, such as single selector and multi-selector get your hands-on with handling alerts and dropdown in Playright testing.
  8. Playwright vs Puppeteer: Get to know about the difference between two testing frameworks and how they are different than one another, which browsers they support, and what features they provide.
  9. Run Playwright Tests on LambdaTest: Playwright testing with LambdaTest leverages test performance to the utmost. You can run multiple Playwright tests in Parallel with the LammbdaTest test cloud. Get a step-by-step guide to run your Playwright test on the LambdaTest platform.
  10. Playwright Python Tutorial: Playwright automation framework support all major languages such as Python, JavaScript, TypeScript, .NET and etc. However, there are various advantages to Python end-to-end testing with Playwright because of its versatile utility. Get the hang of Playwright python testing with this chapter.
  11. Playwright End To End Testing Tutorial: Get your hands on with Playwright end-to-end testing and learn to use some exciting features such as TraceViewer, Debugging, Networking, Component testing, Visual testing, and many more.
  12. Playwright Video Tutorial: Watch the video tutorials on Playwright testing from experts and get a consecutive in-depth explanation of Playwright automation testing.

Run Playwright Internal automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful