The survey model, in depth
How each piece of a survey gets represented under the resolved design — concept by concept, with real examples from today's LOINC data and from the surveys we've worked through together. Where something is still unsettled, that's called out inline rather than glossed over.
The big picture
Two kinds of building block, and one linking mechanism, are all a survey is built from.
Everything in the new model is one of two things: a LOINC code (something that could plausibly show up on its own in an exchanged instance) or a LOINC Part (a reusable building block that only ever has meaning inside something larger). LOINC codes come in three flavors — Collections (survey instruments, sections, panels — anything that groups other things), Questions (built from Parts), and Score/interpretation codes. Everything nests via one mechanism: COLLECTION_ITEM, a linking table, not a self-referential column.
Parts vs. codes
The single question that decides everything else: would this ever need to stand alone in an exchanged instance?
If yes — it's exchangeable
Questions, Collections (survey instruments, sections, panels), and score/interpretation codes all get real LOINC identifiers, because a system receiving patient data might see any of them as the code on an observation.
If no — it's a building block
A bare preamble, a bare issue/question-stem, collection instructions, reference text — none of these are ever the code on an observation by themselves. They exist to compose something that does get a code. Parts are reusable (the same preamble Part can pair with many different Issue Parts) but not independently exchangeable.
survey-concept-model-v2.mdnever appears alone on an observation — only inside 69725-0, 68509-9, 44255-8, 44250-9
Questions: preamble + issue + answer list
A question's identity is the combination of three Parts, not a single string.
How it's represented
A question code is defined by exactly three things, each independently a Part: a preamble (shared context), an issue (the specific symptom/subject), and a bound answer list. Change any one of the three and it's a different question — a new code, not an edit.
| Piece | Value |
|---|---|
| Preamble part | LP900001-1 — “Over the last 2 weeks, how often have you been bothered by the following problems?” |
| Issue part | LP900002-1 — “Feeling nervous, anxious, or on edge” |
| Answer list | LL358-3 (NORMATIVE) |
| Composite code | 69725-0 |
No overrides. Exact wording matters.
Because the answer list is part of a question's identity, there is no more AnswerListIdOverride — binding a different list means minting a different code. And because wording is part of the issue Part's identity, any variation — word order, punctuation, capitalization — makes a different question, removing the old subjective “close enough” judgment call.
A second context wanting a different list would override the same code again.
Content is knowable directly from the code, every time.
Collections: the generalized “panel”
One typed construct replaces panel, subset organizer, convenience grouper, and every other ad hoc grouping type.
How it's represented
A Collection carries a type (survey instrument, lab panel — only ~4–5 types expected) and links to its members through COLLECTION_ITEM rows, matching a shared collection-link number — not a self-referential ParentId column the way PanelsAndForms.csv works today.
Permissive by default; rule-bound only if marked
A Collection's membership is permissive (a class/type declaration — contents can genuinely vary) unless explicitly marked rule-bound (fixed or complex-rule content). This is a general rule, not survey-specific.
Section GG (“Functional Abilities and Goals”) is the exact pattern that motivated this rule: its parent/pooling structure repeats across assessment contexts (admission, discharge, different care settings) with genuinely different question sets and answer lists underneath — some contexts don't have the whole section at all. Real child rows from today's data:
| Loinc | ObservationIdInForm | DisplayNameForForm |
|---|---|---|
| 83218-8 | GG0170A3 | Roll left and right |
| 83216-2 | GG0170B3 | Sit to lying |
| 83278-2 | GG0170H3 | Does the patient walk? |
A different assessment context (a different Collection using the same GG-series structure) can legitimately include a different subset of these — that's the permissive pattern, not a data-quality problem to fix.
Headers & subset organizers
Structural, not answerable — and now reused across contexts instead of re-coded each time.
How it's represented
A header (e.g., “Administrative Information,” “Part 1”) gets a real LOINC code and is a member of its Collection — but it functions as reference info/coding instructions, not as something a user answers.
Four real rows, all conceptually the same header (“Administrative Information”) on CMS's LCDS assessment family, each minted as a separate code because the version/context was folded into the component:
| Loinc | Component (as published) |
|---|---|
| 85636-9 | LCDS v4.00 - Administrative information - admission |
| 85663-3 | LCDS v3.00 - Administrative information - discharge |
| 85673-2 | LCDS v4.00 - Administrative information - expired |
This is precisely the pattern the header-reuse policy retires. Under the confirmed rule, “Administrative Information” would be one permissive header code, reused across admission/discharge/expired via COLLECTION_ITEM, with the version-specific content recorded per-instance rather than baked into three different component strings.
Versioning & meaning permanence
A code's meaning never changes underneath it. A new version is a new code — version lives beside the code, never inside it.
How it's represented
When a survey instrument materially changes, it gets an entirely new LOINC code. Version is captured as its own database element, never embedded in the component or name. A collector code represents one specific external thing considered at one point in time — not a general, ever-shifting thing.
Version = separate attribute, alongside the code, not inside its meaning
What goes wrong without this rule
MDS 2.0 content could not be reused when MDS 3.0 was built, in real part because 2.0-era items had the version identifier embedded directly in the component itself — there was no clean way to say “this is the same underlying thing, just a newer release.” The LCDS example above (three codes for one conceptual header) is the same failure mode, caught on camera in current data.
Version only applies to genuinely static content
“Version, by its very nature, is stating that content is static.” A permissive collector (see Collections, above) carries no version of its own — its content is scoped by LOINC's own publication/release cycle instead. Only a rule-bound collector representing an externally-versioned object (e.g., CMS's own MDS release) carries a version, and LOINC is holding that external version, not assigning one.
Rule-bound collector → carries the version of the external object it represents
Scores & interpretation
Three code roles per survey. LOINC represents the outcome, never the algorithm.
How it's represented
- A code for the whole instrument (the top-level Collection)
- Collection code(s) for groupings of questions
- A final score/result or interpretation code
A screener gets exactly one interpretation code, bound to a value set covering every possible outcome level — never one code per branch. Sub-scores bind to the collection that produces them, so a screener doesn't need a single overall “instrument score” if only part of it produces a number.
Collection 1 (yes/no items 1A/1B) and Collection 2 (scored items 2A–2F, summing to point ranges) sit inside one screener. Only Collection 2 produces a numeric sub-score. The screener's overall outcome is a single Priority Level interpretation code, bound to an answer list of levels A through E — not a total score, and not one code per possible path through the questions.
Form context vs. form instructions
The litmus test that decides what metadata LOINC keeps capturing.
How it's applied
If someone unfamiliar with the survey needs a piece of information, looking only at the LOINC representation, to fully understand a received value — it's form context. Pure how-to-fill-out-the-form direction, not needed to interpret a value once received, is a form (coding) instruction.
“If 0, Skip to GG0170Q3. Does the patient use a wheelchair/scooter? If 2, Continue to GG0170I. Walk 10 feet.”
This is captured as reference text tied to the item, never as an executable rule — a computable version of skip logic was tried in the past (with a contact transcribed as “John Hosler”) and abandoned: “that was a misunderstanding... never representative of the computer.”
Instructions become identified objects, but not positioned ones
Instructions, skip logic, and example text should get their own identifier in a separate table — not anonymous embedded text the way they exist today (“they're just table and table entry… all non-identified”). They need to be tied to the LOINC(s) they apply to, but LOINC does not take on encoding exactly where they render on a form: “I do not think we have an obligation to make it clear where it appears on the form.”
Where the line sits
- In: form context/instructions, Observation ID, required/optional/conditional flags, cardinality, skip-logic text, question sequence, header/subset-organizer codes, one interpretation code per screener, Target & Administrator as structured elements
- Out: computing/publishing scores, proprietary scoring methodology, executable branching logic, usage guidance (“who should use this”), administration mode as a distinct code, interpretive/eligibility framing text, client-specific billing elements in the public table, curating which instrument to use
The Method field
One small, easy-to-lose convention, made explicit.
How it's applied
Method is not populated on individual survey question codes — only at the panel/survey level, and on score codes. This preserves question reuse: a question tied to a specific survey's Method couldn't be reused by a different survey using the same question.
Still open
This document describes the model as currently resolved. Two companion documents, kept in the internal working repo, track what isn't.
overview/state-of-discussion.md— the full resolved/open decision log, chronologically sourcedoverview/model-stress-tests.md— concrete examples that break or strain the model, each with a status and illustration notes
Glossary
| Collection | Generalized replacement for “panel” — a typed grouping construct (survey instrument, lab panel, etc.) |
| Collection Item | A member of a Collection: a Question, a sub-Collection, a Header, or a score code |
| COLLECTION_ITEM | The linking table itself — a shared collection-link number, not a self-referential parent column |
| Preamble (Part) | Shared lead-in text/context that modifies the meaning of the issue(s) that follow |
| Issue (Part) | The specific symptom/condition/subject text within a question |
| LOINC Part | A reusable, non-independently-exchangeable building block — only has meaning inside a composite code |
| Header / subset organizer | A structural member of a Collection; gets a code but isn't itself answerable |
| Permissive collector | A Collection whose membership can vary release to release — the default, unless marked rule-bound |
| Rule-bound collector | A Collection with fixed or rule-governed membership — mechanism for authoring the rule is still undesigned |
| Survey interpretation | The single code representing a screener's overall outcome, not per-branch |
| Form context | Metadata needed to fully understand a received instance value from the LOINC representation alone |
| Form (coding) instructions | Pure how-to-fill-out-the-form direction; distinct from form context |
| Answer list override | The now-eliminated practice of reusing a question code with a swapped-in answer list |
| Object identifier | An existing internal mechanism scoping how a given code is used in a specific place, separate from the code itself |