Spyke

Posts

perchance·Perchance - Create a Random Text Generatorbycie123

Help building a condition-based logic generator

Hi everyone, just getting to grips with Perchance, love the functionality and simplicity. Not a coder, so coming at this as a newbie.

I'm trying to build a dental patient generator for students to practice diagnosis on. I've got a simple version working: https://perchance.org/91ba5azokj But I need some condition-based logic so that the relevant variables only apply to the front or back tooth.

Front tooth If UL1 or LR2, it can link with:

• Mesial, Distal, Buccal or Lingual/Palatal • Composite or Glass Ionomer Cement • Any medical history • Any presenting complaint • Any ‘other’ item

Back tooth If UR6, UR4, LL6 or LR7, it can link with:

• MO, DO, MOD • Amalgam or Composite • Any medical history • Any presenting complaint • Any ‘other’ item

I can't see how to build this with the plug-ins I've explored and having read the tutorials (a few times!). Any tips? I've got the information for the medical history, presenting complaints and other items to add later.

Help building a condition-based logic generatorhttps://perchance.org/91ba5azokjOpen linkView original on lemmy.world
5

You reached the end