A payer criterion may name a procedure, diagnosis, or test using a published set of codes. The same label can hide different membership when the underlying code system or value set changes. Before an authorization workflow treats a patient's coded record as satisfying a policy criterion, it needs to know which published definition was intended and how the candidate code was evaluated. FHIR R4 ValueSet and terminology operations provide a useful framework for that review, but they do not decide whether a payer will approve a request.
Identify the policy artifact before matching codes
Capture the policy source, effective date, plan or line of business, and the criterion text that points to a code set. Record the value set canonical URL and business version when the publisher supplies them. A human-readable title alone is a poor key: it can be reused while the definition changes. Keep the original wording alongside the computable representation so reviewers can trace a match back to the policy.
FHIR R4 distinguishes ValueSet.url, its canonical identifier, from ValueSet.version, the business version. The resource's publication date and status provide additional context. Neither the date a local file was downloaded nor its server resource version automatically identifies the publisher's intended policy version. If the payer gives only a PDF list, preserve that source and mark the computable mapping as an implementation interpretation pending review.
- Record policy URL, effective period, and applicable plan context.
- Store canonical URL and business version separately.
- Keep the source criterion text and any mapping assumptions visible.
Distinguish a definition from an expansion
ValueSet.compose describes how codes are selected from one or more code systems or other value sets. An expansion is a resulting collection of codes for a particular evaluation context. A cached expansion can be useful for fast matching, but it is not a timeless substitute for the definition. If a composition imports another value set or uses a filter, changes beneath it can change the resulting membership.
FHIR R4 permits a compose.lockedDate to select versions for references that are not otherwise pinned. A compose.include.version can specify a code system business version. If no version is specified, the exact contents may depend on context. An expansion also records identifying details and parameters. Keep these details when storing the result, including the terminology service used, so a later reviewer can reproduce or explain the answer.
- Inspect include and exclude rules, imported value sets, and filters.
- Record lockedDate and explicit included code system versions when present.
- Retain expansion identifier, timestamp, parameters, and service provenance when available.
Evaluate the candidate code with its full identity
A patient record can carry a Coding.system, Coding.version, and Coding.code. Compare the system and code together, and inspect the version when the criterion or terminology requires it. A display string is for human reading and may change or differ by language; it should not be the sole matching key. Also check whether a mapped code came from the source record or from a translation step.
A terminology service can expand a value set or validate a code against it. The server's supported code systems, versions, and operation parameters matter. If a requested historical expansion cannot be produced, record the failure rather than quietly substituting a current expansion. A negative or uncertain terminology result is a request for review, not proof that a clinical service is unnecessary or that an authorization will be denied.
- Match system plus code and retain any source version.
- Log terminology operation inputs and the returned result or error.
- Escalate unsupported versions, ambiguous mappings, and missing codes.
Make policy updates testable
When a payer revises a policy or code set, compare old and new definitions and expansions under documented parameters. Build small regression cases for codes added, removed, inactivated, or translated differently. Review affected open requests against the policy version applicable to their dates and payer instructions; do not rewrite historical decisions merely because a current code set differs.
The useful output is a traceable decision record: policy citation, criterion, value set identity, expansion context, source Coding, and reviewer disposition. That record lets an implementation team distinguish a terminology mismatch from a missing clinical document or a payer-specific rule. It is administrative and data-mapping guidance, not medical or legal advice.