Previous notes:
Free Text Orders:
Burke: two different solutions for (a) free-text concept, versus (b) brand name, e.g.
(a) DrugOrder.concept = "Drug Other", drugNonCoded = "Amoxicillin 5mg tablet" (JT is suggesting that this is really "conceptNonCoded", not "drugNonCoded")
(b) DrugOrder.concept = "Amoxicillin", drug (this is coded) = "Amoxicillin 5mg tablet", brandName = "GlaxoSmithKline"
Jonathan: we also should have
(c) DrugOrder.concept = Amoxicillin, drugNonCoded = "Amoxicillin 5mg tablet" (this is the non-coded formulation) or else "Joecillin 5mg tablet" (this is the branded formulation)
Vivek (on Talk) says:
     "I do not see the users putting that extra effort in giving a free text name as well as choosing a concept name for it. This is what I think as of now, but once we have it rolled out in the hospital we can explore further with the users."
A thought:
Concept (generic drug) / Brand name-synonym field / Formulation field
1.       If I type in a name, the software should try and find the string in the concept dictionary, whether it is a concept or a synonym (which includes brand names) --  
     a.      If it recognizes the typed string as a brand name and finds the matching concept, fill in the Concept and BrandName-Synonym fields
     b.      If it doesn’t find a match, ask the user to try again and re-enter the name [maybe it was misspelled] or enter a generic concept
                    i.      If they choose one, that will be the Concept and the original string will go in the BrandName-Synonym field (uncoded)
                    ii.     If they don’t choose one, this is a unknown-concept drug.  Store as DRUG OTHER concept and store the typed string in the concept.noncoded-text field
Current approach (per TRUNK-4761):
* = Darius's proposal is to remove this constraint, so drugNonCoded and drug are mutually exclusive, but you can have concept=DRUG OTHER, or concept=AMOXICILLIN and specify drugNonCoded in either case.
Burke is (now) agreeing with this
Jonathan: need to be able to specify "perfectly normal concept with odd formulation"
It leaves us with the following types of results, based on what the user originally types:
    1. Known concept [generic specified]  -- "amoxicillin" 
    2. Known concept / known synonym-brandname  -- "Prozac" (recognized by the dictionary)
    3. Known concept / unknown-freetext synonym   -- "foocillin" (not in the dictionary, but orderer knew it was ampicillin)
    4. Unknown concept / unknown-freetext synonym -- "xfgzimab"
     5. Known concept / unusual formulation -- "amoxicillin 520 mg capsule"
The actual strength and form really ought to be specified as a separate field... otherwise when you want to specify an odd strength you wind up having to specify it as an unknown drugname
DRUG OTHER, NonCoded = foocillin → "foocillin"
AMOXICILLIN, Noncoded = amoxicillin 5 mg tab → "???"