LOINCActiveObservation

LOINC Code 99940-9: Pain medication in the past 4 weeks

99940-9 is a LOINC code used to identify Pain medication in the past 4 weeks in laboratory and clinical observation data. You may see this code in lab systems, lab reports, EHR exports, interoperability feeds, or other structured clinical data exchanges. LOINC codes identify tests, measurements, observations, survey items, and clinical questions in a standardized way. It is associated with the component Pain medication in the past 4W. It is commonly used with the system or sample type ^Patient.

Reviewed by HealthAssure Clinical TeamUpdated 21 May 2026

What is this code?

LOINC codes identify tests, measurements, observations, survey items, and clinical questions in a standardized way. It is associated with the component Pain medication in the past 4W. It is commonly used with the system or sample type ^Patient.

When is it used?

  • Used in lab systems, EHRs, and clinical data exchange.
  • May identify a test, observation, survey item, or clinical document request rather than a diagnosis.
  • Status: ACTIVE
  • Order vs observation: Observation

What it does not mean

  • The code identifies the observation or test, not the actual result.

Key facts

  • Pain medication in the past 4 weeks
  • Pain medication in the past 4W
  • 4 weeks; Finding; Findings; H+P; H+P.HX; Last; Ordinal; P prime; QL; Qual; Qualitative; Screen

Where you may see this code

You may see this code in lab systems, lab reports, EHR exports, interoperability feeds, or other structured clinical data exchanges.

Common synonyms

Pain medication in the past 4 weeksPain medication in the past 4WH&P.HXFind4W^PatientOrd

Frequently asked questions

Code details

Code99940-9
SystemLOINC
Display namePain medication in the past 4 weeks
DescriptionPain medication in the past 4W
Short namePain medication in the past 4W
ComponentPain medication in the past 4W
PropertyFind
Timing4W
System (specimen)^Patient
ScaleOrd
ClassH&P.HX
StatusACTIVE
Order/ObservationObservation

Flags

BillableNo
Valid clinical useNo

Source

SourceLOINC
Version2.82
Releasemain
First released2.72
Last changed2.72

Part names

Pain medication in the past 4WFind4W^PatientOrdPain medication in the past 4 weeksFinding4 weeks

About this content

This page is prepared by HealthAssure's clinical team using official coding standards from LOINC. AI tools assist with drafting explanations, which are then reviewed and verified by healthcare professionals for accuracy. This content is for informational purposes and does not replace professional medical advice. Meet our team.