Sessions and feedback
Normalization returns ranked candidates. Which one a clinician picked is the signal that improves future results — and the only way IMO learns your population’s intent.
Two endpoints close that loop:
Field reference
The session identifier from sessions.create(). Maximum 36 characters.
Up to 300 selections per call. Each entry pairs the record_id from your
normalize request with the imo_lexical_code the user chose.
Your record identifier, matching the one you sent to normalize. Nullable, maximum 300 characters.
The lexical_code of the selected item. Nullable, maximum 500 characters.
A realistic flow
A clinician types into a problem-list search box. You normalize, show the top candidates, and report the click.
Create one session per user workflow, not per request. Reusing a session is what lets IMO tie a sequence of searches to the single selection that ended it.
Selection events are for continuous improvement and usage tracking. Sending them is optional — normalization works without a session — but the ranking quality you get back improves when you do.