<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shivanshu Tripathi</title>
    <description>The latest articles on DEV Community by Shivanshu Tripathi (@shivanshu-the-pharma-guy).</description>
    <link>https://dev.to/shivanshu-the-pharma-guy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4197519%2Fdc79c075-c98d-4423-8c79-3e195b3b2a00.jpg</url>
      <title>DEV Community: Shivanshu Tripathi</title>
      <link>https://dev.to/shivanshu-the-pharma-guy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivanshu-the-pharma-guy"/>
    <language>en</language>
    <item>
      <title>Electronic Batch Record Requirements: What FDA 483s Cite Under 21 CFR 211.100 and 211.188</title>
      <dc:creator>Shivanshu Tripathi</dc:creator>
      <pubDate>Wed, 11 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/shivanshu-the-pharma-guy/electronic-batch-record-requirements-what-fda-483s-cite-under-21-cfr-211100-and-211188-5hb4</link>
      <guid>https://dev.to/shivanshu-the-pharma-guy/electronic-batch-record-requirements-what-fda-483s-cite-under-21-cfr-211100-and-211188-5hb4</guid>
      <description>&lt;p&gt;Picture the night shift at a sterile fill line. At 02:10 the operator adds 40 mL of buffer to bring a solution into range, a step the master record does not list. The electronic batch record (EBR) has no field for it, so the operator writes it on a sticky note and moves on. At 08:00 the batch record looks perfect. Six months later an investigator compares the record with the logbook, finds the gap, and writes it up: a deviation from the written procedure, neither recorded nor justified.&lt;/p&gt;

&lt;p&gt;Electronic batch record requirements come from two sections of FDA's drug CGMP rules. 21 CFR 211.100(b) says production steps must be documented at the time of performance, and any deviation must be recorded and justified. 21 CFR 211.188 lists what each batch record must contain, from equipment IDs to the person who checked each significant step. If you build MES, EBR or electronic logbook software for drug manufacturers, those two sections are your spec.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3jdoqx5gimj182ejhdjm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3jdoqx5gimj182ejhdjm.png" alt="Electronic batch record requirements under 21 CFR 211.188(b) mapped to what an EBR system must capture" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What must an electronic batch record contain?
&lt;/h2&gt;

&lt;p&gt;Section 211.188(b) requires documentation that each significant step was accomplished. Read it as a schema:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;211.188(b)&lt;/th&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;What your EBR stores&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;(1)&lt;/td&gt;
&lt;td&gt;Dates&lt;/td&gt;
&lt;td&gt;Server timestamps per step&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(2)&lt;/td&gt;
&lt;td&gt;Major equipment and lines used&lt;/td&gt;
&lt;td&gt;Equipment ID, scanned at the step&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(3)&lt;/td&gt;
&lt;td&gt;Each batch of component or in-process material&lt;/td&gt;
&lt;td&gt;Lot IDs, scanned, matched to the bill of materials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(4)&lt;/td&gt;
&lt;td&gt;Weights and measures&lt;/td&gt;
&lt;td&gt;Values from the balance or meter, not typed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(5)&lt;/td&gt;
&lt;td&gt;In-process and lab control results&lt;/td&gt;
&lt;td&gt;Results with limits and pass or fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(7)&lt;/td&gt;
&lt;td&gt;Actual yield and percent of theoretical&lt;/td&gt;
&lt;td&gt;Calculated per phase, with limits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(10)&lt;/td&gt;
&lt;td&gt;Any sampling performed&lt;/td&gt;
&lt;td&gt;Sample IDs, quantities, who sampled&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(11)&lt;/td&gt;
&lt;td&gt;Who performed and who checked each significant step&lt;/td&gt;
&lt;td&gt;Two distinct user IDs per critical step&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(12)&lt;/td&gt;
&lt;td&gt;Any investigation under 211.192&lt;/td&gt;
&lt;td&gt;Link to the deviation or investigation record&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Section 211.188(a) adds one more: an accurate, checked, dated and signed reproduction of the master production record. In software terms, the batch record must point at a locked, approved version of the recipe.&lt;/p&gt;

&lt;h2&gt;
  
  
  How often do FDA 483s cite batch records and production procedures?
&lt;/h2&gt;

&lt;p&gt;Often. We looked at 212 Form 483s issued to drug, biologic and animal-drug facilities in 2025 and 2026 in the &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s" rel="noopener noreferrer"&gt;Atlas Form 483 directory&lt;/a&gt;, the same sample as our post on &lt;a href="https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m"&gt;21 CFR Part 11 audit trail requirements&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;27.8%&lt;/strong&gt; cite 21 CFR 211.100, written production procedures and deviations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;9.0%&lt;/strong&gt; cite 211.110, in-process controls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;7.1%&lt;/strong&gt; cite 211.188, batch production and control records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;33.5%&lt;/strong&gt; cite 211.100, 211.186 or 211.188, one 483 in three.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those 483s run long. They average &lt;strong&gt;6.5 observations&lt;/strong&gt;, against &lt;strong&gt;4.3&lt;/strong&gt; across all 212.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4sgypjhf4udjqb3m7nlr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4sgypjhf4udjqb3m7nlr.png" alt="Share of 2025 and 2026 drug Form 483s citing 21 CFR 211.100, 211.110 and 211.188, with average observations per 483" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Which real 483s cited batch records and deviations?
&lt;/h2&gt;

&lt;p&gt;Each link opens the public observation list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Batch records incomplete (211.188):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/safecor-health-llc-2026-06-12-record-733431" rel="noopener noreferrer"&gt;Safecor Health, Columbus, June 2026&lt;/a&gt;: 2 observations, one of them batch records that do not include complete information.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/pillar5-pharma-inc-2026-06-05-record-733123" rel="noopener noreferrer"&gt;Pillar5 Pharma, Arnprior, Canada, June 2026&lt;/a&gt;: 4 observations, including the same batch record finding.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/granules-pharmaceuticals-inc-2026-04-03-record-723328" rel="noopener noreferrer"&gt;Granules Pharmaceuticals, Chantilly, Virginia, April 2026&lt;/a&gt;: 4 observations, including 211.188.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/kedrion-biopharma-inc-2026-05-21-record-732704" rel="noopener noreferrer"&gt;Kedrion Biopharma, Melville, New York, May 2026&lt;/a&gt;: 8 observations, including batch production and control record requirements (211.188(b)).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Deviations and procedures (211.100):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/baxter-healthcare-corporation-2026-04-02-record-726226" rel="noopener noreferrer"&gt;Baxter Healthcare, Round Lake, Illinois, April 2026&lt;/a&gt;: 9 observations, opening with procedure deviations not recorded and justified (211.100(b)).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/sciegen-pharmaceuticals-inc-2026-05-15-record-732594" rel="noopener noreferrer"&gt;Sciegen Pharmaceuticals, Hauppauge, New York, May 2026&lt;/a&gt;: 2 observations, one of them procedures not followed or documented (211.100(b)).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/gvs-tm-inc-2026-05-01-record-726504" rel="noopener noreferrer"&gt;GVS TM, Covina, California, May 2026&lt;/a&gt;: 14 observations, citing written procedures (211.100(a)), deviations (211.100(b)), actual versus theoretical yield (211.103) and in-process controls (211.110(a)).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A two-observation 483 can carry this finding. Safecor and Sciegen each received two.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you build deviation capture into an EBR?
&lt;/h2&gt;

&lt;p&gt;Make the off-script path as easy as the scripted one. The sticky note in the story exists because the system offered no field for what happened. Every step needs an "unplanned event" action that records what happened, when and who, blocks the step from closing until someone justifies it, and routes it to QA.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;dataclasses&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;dataclass&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;field&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timezone&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;timezone&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;utc&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# server clock, never the client's
&lt;/span&gt;
&lt;span class="nd"&gt;@dataclass&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Deviation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;step_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;raised_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;raised_at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;field&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;default_factory&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;justification&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;""&lt;/span&gt;
    &lt;span class="n"&gt;qa_approved_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;

&lt;span class="nd"&gt;@dataclass&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Step&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;step_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;critical&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bool&lt;/span&gt;
    &lt;span class="n"&gt;equipment_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;performed_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;checked_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;completed_at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;deviations&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;field&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;default_factory&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;complete&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;performed_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;checked_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;critical&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;checked_by&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;checked_by&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;performed_by&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;ValueError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;211.188(b)(11): critical step needs a second, different person&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;justification&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;qa_approved_by&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deviations&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;ValueError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;211.100(b): deviation not yet justified and approved&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;performed_by&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;checked_by&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completed_at&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;performed_by&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;checked_by&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;yield_pct&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;actual_kg&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;theoretical_kg&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;actual_kg&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;theoretical_kg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# 211.188(b)(7), checked against 211.103 limits
&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;FILL-030&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;critical&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deviations&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Deviation&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;FILL-030&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Added 40 mL buffer to bring pH into range&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;op.lee&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;complete&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;op.lee&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sup.ortiz&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nb"&gt;ValueError&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;211.100(b)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deviations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;justification&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deviations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;qa_approved_by&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;pH adjustment per SOP-118 rev 4&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;qa.hall&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;complete&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;op.lee&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sup.ortiz&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="nf"&gt;yield_pct&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;96.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;100.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mf"&gt;96.4&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three rules sit under that code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Capture at the time of performance.&lt;/strong&gt; 211.100(b) says "documented at the time of performance". Disable backdating, stamp steps with server time, and show late entries as late.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read values from instruments.&lt;/strong&gt; Weights typed by hand invite transcription errors. Pull them from the balance and keep the raw reading.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lock the recipe.&lt;/strong&gt; The batch record should reference one approved master record version. A recipe edit mid-batch is a change control event, not a field update.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What else does an FDA-ready EBR need?
&lt;/h2&gt;

&lt;p&gt;Batch records are electronic records under 21 CFR Part 11, so the audit trail and e-signature rules apply. Our &lt;a href="https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m"&gt;Part 11 guide&lt;/a&gt; covers that design, and the &lt;a href="https://www.atlas-compliance.ai/blog/computerized-system-validation-audit-trail-tests" rel="noopener noreferrer"&gt;audit trail tests used in computerized system validation&lt;/a&gt; list what a reviewer will try. For validation effort, &lt;a href="https://dev.to/shivanshu-the-pharma-guy/computer-software-assurance-csa-for-developers-what-fdas-risk-based-testing-means-for-your-ci-2eg2"&gt;computer software assurance&lt;/a&gt; shows how to scale testing to risk. On the quality side, &lt;a href="https://www.atlas-compliance.ai/blog/are-pharma-companies-ready-for-fda-elog-and-ebatch-audits" rel="noopener noreferrer"&gt;whether pharma companies are ready for FDA eLog and eBatch audits&lt;/a&gt; and &lt;a href="https://www.atlas-compliance.ai/blog/what-documentation-failures-did-the-fda-flag-in-2024-2025" rel="noopener noreferrer"&gt;the documentation failures FDA flagged in 2024 and 2025&lt;/a&gt; show what reviewers find.&lt;/p&gt;

&lt;h2&gt;
  
  
  EBR checklist for engineering teams
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Every 211.188(b) element has a field, and the batch cannot close with one empty.&lt;/li&gt;
&lt;li&gt;Critical steps require two different users: one performs, one checks.&lt;/li&gt;
&lt;li&gt;Every step offers a deviation action that blocks closure until QA approves the justification.&lt;/li&gt;
&lt;li&gt;Steps are stamped with server time; late entries are flagged, never hidden.&lt;/li&gt;
&lt;li&gt;Weights, measures and equipment IDs come from devices or scans, not keyboards.&lt;/li&gt;
&lt;li&gt;Yield is calculated per phase and compared against the limits in the master record.&lt;/li&gt;
&lt;li&gt;The batch record points at one locked, approved master record version.&lt;/li&gt;
&lt;li&gt;Audit trail and e-signatures meet Part 11.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What are the electronic batch record requirements under FDA rules?&lt;/strong&gt;&lt;br&gt;
21 CFR 211.188 requires a batch record for each batch that reproduces the approved master record and documents each significant step: dates, equipment, component lots, weights and measures, in-process results, yields, labeling, sampling, the people who performed and checked each step, and any investigations. 21 CFR Part 11 adds audit trail and electronic signature controls when the record is electronic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does 21 CFR 211.100(b) require?&lt;/strong&gt;&lt;br&gt;
Written production and process control procedures must be followed and documented at the time of performance. Any deviation from them must be recorded and justified. In an EBR, that means real-time step capture and a deviation workflow with justification and approval.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How often do FDA 483s cite batch records?&lt;/strong&gt;&lt;br&gt;
In 212 drug, biologic and animal-drug Form 483s from 2025 and 2026, 7.1% cited 21 CFR 211.188 and 27.8% cited 211.100. One in three cited 211.100, 211.186 or 211.188.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does an electronic batch record need two signatures?&lt;/strong&gt;&lt;br&gt;
For each significant step, 211.188(b)(11) requires the identity of the person who performed it and the person who directly supervised or checked it. If automated equipment performs the step, the record must identify the person who checked it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is an EBR system subject to validation?&lt;/strong&gt;&lt;br&gt;
Yes. 21 CFR 211.68 requires that computer systems used in production are checked and controlled, and Part 11.10(a) requires validation of systems that hold electronic records. FDA's computer software assurance approach lets you scale testing to the risk of each function.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on Atlas Compliance, which tracks FDA inspections and Form 483 observations for pharma and medical device quality teams. The &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence" rel="noopener noreferrer"&gt;FDA inspection directory&lt;/a&gt; is free to browse.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>healthtech</category>
      <category>python</category>
      <category>compliance</category>
      <category>database</category>
    </item>
    <item>
      <title>Medical Device Complaint Handling and MDR Reporting: A Developer's Guide to 21 CFR 803 and ISO 13485 8.2.2</title>
      <dc:creator>Shivanshu Tripathi</dc:creator>
      <pubDate>Wed, 04 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/shivanshu-the-pharma-guy/medical-device-complaint-handling-and-mdr-reporting-a-developers-guide-to-21-cfr-803-and-iso-152c</link>
      <guid>https://dev.to/shivanshu-the-pharma-guy/medical-device-complaint-handling-and-mdr-reporting-a-developers-guide-to-21-cfr-803-and-iso-152c</guid>
      <description>&lt;p&gt;Picture a support ticket on a Friday afternoon: "Unit shut off halfway through a treatment. Patient fine, restarted it." The agent tags it &lt;em&gt;hardware&lt;/em&gt;, the queue sorts it under &lt;em&gt;low priority&lt;/em&gt;, and nobody outside support reads it. Five weeks later a quality engineer finds three more tickets like it, decides the shutdowns are a reportable malfunction, and checks the date on the first one. The 30-day deadline passed a week ago.&lt;/p&gt;

&lt;p&gt;Medical device complaint handling is the process that stops that week from happening. Under FDA's Quality Management System Regulation (QMSR), a manufacturer must receive, review and evaluate every complaint under ISO 13485:2016 clause 8.2.2, keep the records 21 CFR 820.35 lists, and decide for each one whether it is a Medical Device Report (MDR) under 21 CFR Part 803. If your team builds the CRM, ticketing integration or quality system that holds those complaints, the deadline lives in your code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6kx9fgmv13nq6l6rre9c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6kx9fgmv13nq6l6rre9c.png" alt="Medical device complaint handling and MDR reporting deadlines: 30 calendar days and 5 work days from awareness" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What do the complaint handling rules require?
&lt;/h2&gt;

&lt;p&gt;Five rules shape a device complaint system in the US:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rule&lt;/th&gt;
&lt;th&gt;What it requires&lt;/th&gt;
&lt;th&gt;What you build&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ISO 13485 8.2.2&lt;/td&gt;
&lt;td&gt;Documented complaint handling: receive, record, evaluate, investigate, decide on reporting&lt;/td&gt;
&lt;td&gt;A single intake for every channel, with a status workflow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;21 CFR 820.35(a)&lt;/td&gt;
&lt;td&gt;Record content for complaints that are investigated or reportable&lt;/td&gt;
&lt;td&gt;Required fields: device name, date received, UDI, complainant contact, nature of complaint, corrective action, reply&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;21 CFR 803.17&lt;/td&gt;
&lt;td&gt;Written MDR procedures, including a system to decide if an event is reportable&lt;/td&gt;
&lt;td&gt;A reportability decision step on every complaint, with reason and reviewer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;21 CFR 803.50&lt;/td&gt;
&lt;td&gt;Report deaths, serious injuries and qualifying malfunctions within 30 calendar days&lt;/td&gt;
&lt;td&gt;Deadline tracking from the awareness date&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;21 CFR 803.53&lt;/td&gt;
&lt;td&gt;5-work-day report when an event needs remedial action to prevent unreasonable risk of substantial harm, or when FDA asks&lt;/td&gt;
&lt;td&gt;A second, shorter clock and an escalation path&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Section 820.35(a) also lets you skip a new investigation when you already investigated a similar complaint, as long as you record the justification. Give that its own field.&lt;/p&gt;

&lt;h2&gt;
  
  
  When does the MDR clock start?
&lt;/h2&gt;

&lt;p&gt;The clock starts when your company becomes aware of the event, not when quality reads the ticket. For a manufacturer, Part 803 treats the company as aware when any employee gets information that reasonably suggests a reportable event. A support agent, a field service engineer or a sales rep reading a customer email all start the clock.&lt;/p&gt;

&lt;p&gt;That one definition drives the architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stamp &lt;code&gt;aware_at&lt;/code&gt; at intake, on the first channel that received the information, and never let a later edit change it.&lt;/li&gt;
&lt;li&gt;Route every new complaint to a reportability decision within days, not weeks.&lt;/li&gt;
&lt;li&gt;Show the deadline on the ticket from the first minute.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;dataclasses&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;dataclass&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;field&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timedelta&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;add_work_days&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;
    &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="nf"&gt;timedelta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;weekday&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="c1"&gt;# Mon-Fri; plug in your holiday calendar here
&lt;/span&gt;            &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;-=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;mdr_due&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;aware&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;five_day&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bool&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;21 CFR 803.50: 30 calendar days. 803.53: 5 work days.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;add_work_days&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;aware&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;five_day&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;aware&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;timedelta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nd"&gt;@dataclass&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Complaint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;device_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;udi&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;received_at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;           &lt;span class="c1"&gt;# 820.35(a)(2)
&lt;/span&gt;    &lt;span class="n"&gt;aware_at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;              &lt;span class="c1"&gt;# set once at intake, never edited
&lt;/span&gt;    &lt;span class="n"&gt;complainant&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;dict&lt;/span&gt;               &lt;span class="c1"&gt;# name, address, phone (820.35(a)(4))
&lt;/span&gt;    &lt;span class="n"&gt;details&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;                    &lt;span class="c1"&gt;# nature and details (820.35(a)(5))
&lt;/span&gt;    &lt;span class="n"&gt;reportable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bool&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;  &lt;span class="c1"&gt;# 803.17 decision
&lt;/span&gt;    &lt;span class="n"&gt;decision_reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;""&lt;/span&gt;
    &lt;span class="n"&gt;decided_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;""&lt;/span&gt;
    &lt;span class="n"&gt;linked_capa&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;history&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;field&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;default_factory&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# append-only audit trail
&lt;/span&gt;
&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Complaint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;CS-4471&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;TheraPulse 2&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;(01)00812345678901&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
              &lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Clinic A&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Unit shut off mid-treatment&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="nf"&gt;mdr_due&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;aware_at&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="nf"&gt;mdr_due&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;aware_at&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="n"&gt;five_day&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;13&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Treat a "not reportable" decision as data too. An investigator reading your complaint file wants to see who decided, when, and why, for the complaints you did not report as much as for the ones you did.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which 483s cite complaint handling and MDR reporting?
&lt;/h2&gt;

&lt;p&gt;Investigators cite all three parts of the process, before QMSR and since, and each kind of failure maps to a software decision. Every example below links to the public observation list in the &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s" rel="noopener noreferrer"&gt;Atlas Form 483 directory&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Late or missing reports.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/biofilm-inc-2026-05-19-record-730784" rel="noopener noreferrer"&gt;Biofilm, Vista, California, May 2026&lt;/a&gt;: 1 observation, a death or serious injury report under 803.50(a)(1).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/biowave-corporation-2026-05-26-record-731197" rel="noopener noreferrer"&gt;Biowave, Westport, Connecticut, May 2026&lt;/a&gt;: 6 observations, opening with malfunction reports under 803.50(a)(2).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/abbott-diabetes-care-inc-2025-10-23-record-712120" rel="noopener noreferrer"&gt;Abbott Diabetes Care, Alameda, California, October 2025&lt;/a&gt;: 2 observations, one of them a malfunction report under 803.50(a)(2).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;No system to decide reportability.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/aus-systems-pty-ltd-2026-06-25-record-734175" rel="noopener noreferrer"&gt;Aus Systems, Allenby Gardens, Australia, June 2026&lt;/a&gt;: 2 observations, including no written MDR procedures (803.17).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/magnatone-hearing-aid-corp-2025-07-14-record-702887" rel="noopener noreferrer"&gt;Magnatone Hearing Aid, Casselberry, Florida, July 2025&lt;/a&gt;: 14 observations, including no system for determining MDR events (803.17(a)(2)) and complaint procedures (820.198(a)).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Complaint records that don't hold up.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/lambda-spa-2026-05-28-record-732844" rel="noopener noreferrer"&gt;Lambda, Brendola, Italy, May 2026&lt;/a&gt;: 1 observation, complaint handling procedures lacking required elements (8.2.2).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/light-age-inc-2026-05-15-record-732596" rel="noopener noreferrer"&gt;Light Age, Somerset, New Jersey, May 2026&lt;/a&gt;: 18 observations, including complaint handling records not maintained (8.2.2).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/philips-north-america-llc-2025-11-21-record-714358" rel="noopener noreferrer"&gt;Philips North America, Bothell, Washington, November 2025&lt;/a&gt;: 1 observation, complaint procedures under 820.198(a).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/boston-scientific-corporation-2025-04-07-record-695313" rel="noopener noreferrer"&gt;Boston Scientific, Saint Paul, April 2025&lt;/a&gt;: 9 observations, including MDR evaluation codes (803.52(f)(6)) and complaint procedures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A single-observation 483 can carry this finding. Biofilm, Lambda and Philips each received one observation, and it was the complaint or MDR process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does feedback now connect to risk management?
&lt;/h2&gt;

&lt;p&gt;ISO 13485 clause 8.2.1 asks you to use feedback, complaints included, as an input to risk management. &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/fresenius-medical-care-renal-therapies-group-llc-2026-06-03-record-733005" rel="noopener noreferrer"&gt;Fresenius Medical Care Renal Therapies Group in Waltham&lt;/a&gt; received an observation in June 2026 for feedback not used as input into risk management, and &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/lemaitre-vascular-inc-2026-06-25-record-734247" rel="noopener noreferrer"&gt;LeMaitre Vascular in North Brunswick&lt;/a&gt; got the same one that month.&lt;/p&gt;

&lt;p&gt;In code, that means a complaint record needs a path out of the support system: a link to the hazard it relates to in the risk file, and a link to the CAPA it triggered. If your complaint data lives in a ticketing tool and your risk file lives in a spreadsheet, build the export. The &lt;a href="https://www.atlas-compliance.ai/blog/2025-guide-to-corrective-and-preventive-action" rel="noopener noreferrer"&gt;guide to corrective and preventive action&lt;/a&gt; covers what the CAPA side expects to receive.&lt;/p&gt;

&lt;h2&gt;
  
  
  A complaint handling checklist for engineering teams
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;One intake for every channel: support, email, phone, field service, sales, social. Each creates the same record.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;aware_at&lt;/code&gt; set at intake and locked.&lt;/li&gt;
&lt;li&gt;A reportability decision with reason, reviewer and date on every complaint.&lt;/li&gt;
&lt;li&gt;A 30-day and a 5-work-day clock, visible on the record, with alerts before the deadline.&lt;/li&gt;
&lt;li&gt;All 820.35(a) fields required before a complaint can close.&lt;/li&gt;
&lt;li&gt;Links to the investigation, the CAPA and the risk file entry.&lt;/li&gt;
&lt;li&gt;An append-only audit trail on every field. Our post on &lt;a href="https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m"&gt;21 CFR Part 11 audit trail requirements&lt;/a&gt; covers the design, and the &lt;a href="https://www.atlas-compliance.ai/blog/computerized-system-validation-audit-trail-tests" rel="noopener noreferrer"&gt;audit trail tests used in computerized system validation&lt;/a&gt; list what a reviewer will try.&lt;/li&gt;
&lt;li&gt;Validation scaled to risk. The deadline logic and the reportability step are high process risk; the dashboard colours are not. See &lt;a href="https://dev.to/shivanshu-the-pharma-guy/computer-software-assurance-csa-for-developers-what-fdas-risk-based-testing-means-for-your-ci-2eg2"&gt;computer software assurance for developers&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;FDA's wider expectations for device makers sit in &lt;a href="https://www.atlas-compliance.ai/blog/fdas-guidelines-for-medical-device-manufacturers" rel="noopener noreferrer"&gt;FDA's guidelines for medical device manufacturers&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What counts as a complaint for a medical device?&lt;/strong&gt;&lt;br&gt;
A complaint is any written, electronic or oral communication that alleges a deficiency in a device's identity, quality, durability, reliability, usability, safety or performance after release. A support ticket, a sales email or a phone call can each be a complaint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are the MDR reporting deadlines?&lt;/strong&gt;&lt;br&gt;
Under 21 CFR 803.50, a manufacturer must report a death, serious injury or reportable malfunction within 30 calendar days of becoming aware of it. Under 803.53, a 5-day report is due within 5 work days when the event needs remedial action to prevent an unreasonable risk of substantial harm, or when FDA requests one in writing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When does a manufacturer become aware of an MDR event?&lt;/strong&gt;&lt;br&gt;
Part 803 treats a manufacturer as aware when any employee acquires information that reasonably suggests a reportable event occurred. The clock does not wait for the quality team to review the complaint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What must a complaint record contain under QMSR?&lt;/strong&gt;&lt;br&gt;
For complaints that are investigated or reportable, 21 CFR 820.35(a) requires the device name, the date received, any UDI or UPC, the complainant's name, address and phone number, the nature and details of the complaint, any correction or corrective action, and any reply to the complainant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does complaint handling software need validation?&lt;/strong&gt;&lt;br&gt;
Yes. Software that a manufacturer uses for complaint handling and MDR decisions is quality system software, and ISO 13485 clause 4.1.6 requires validation for its intended use. FDA's computer software assurance guidance lets you scale that testing to risk.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on Atlas Compliance, which tracks FDA inspections and Form 483 observations for pharma and medical device quality teams. The &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence" rel="noopener noreferrer"&gt;FDA inspection directory&lt;/a&gt; is free to browse.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>healthtech</category>
      <category>python</category>
      <category>compliance</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Computer Software Assurance (CSA) for Developers: What FDA's Risk-Based Testing Means for Your CI Pipeline</title>
      <dc:creator>Shivanshu Tripathi</dc:creator>
      <pubDate>Wed, 28 Oct 2026 13:00:00 +0000</pubDate>
      <link>https://dev.to/shivanshu-the-pharma-guy/computer-software-assurance-csa-for-developers-what-fdas-risk-based-testing-means-for-your-ci-2eg2</link>
      <guid>https://dev.to/shivanshu-the-pharma-guy/computer-software-assurance-csa-for-developers-what-fdas-risk-based-testing-means-for-your-ci-2eg2</guid>
      <description>&lt;p&gt;Picture the validation binder for a label-printing script: four hundred pages, each one a screenshot of a test step with a signature underneath. The script prints lot numbers. The team spends more time photographing tests than writing code, and an auditor still finds the gap nobody tested: what happens when the printer runs out of labels mid-batch.&lt;/p&gt;

&lt;p&gt;FDA's Computer Software Assurance guidance was written to end that binder. Computer software assurance (CSA) is FDA's risk-based approach to confirming that software used in device production and quality systems does what it should. FDA finalized the guidance in September 2025. It asks you to spend testing effort where a failure could hurt a patient or product quality, and to accept lighter evidence everywhere else, including the output of your automated tests.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwg44iak88fh6c1qxcalp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwg44iak88fh6c1qxcalp.png" alt="Computer software assurance risk tiers mapped to testing approach and evidence for developers" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What does FDA's computer software assurance guidance cover?
&lt;/h2&gt;

&lt;p&gt;The guidance, &lt;em&gt;Computer Software Assurance for Production and Quality System Software&lt;/em&gt;, applies to software that a medical device manufacturer uses in production or in its quality system: MES, LIMS, complaint handling, CAPA tools, label printing, test equipment scripts. It does not apply to software that is itself a device or runs inside one. It supersedes section 6 of FDA's 2002 General Principles of Software Validation.&lt;/p&gt;

&lt;p&gt;Under QMSR, which took effect February 2, 2026, ISO 13485 requires validation of software used in the quality system (clause 4.1.6) and in production (7.5.6). CSA is how FDA expects you to scale that work to risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  CSA vs CSV: what changes for a development team?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Traditional CSV&lt;/th&gt;
&lt;th&gt;Computer software assurance&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Starting question&lt;/td&gt;
&lt;td&gt;"Did we document every test?"&lt;/td&gt;
&lt;td&gt;"What happens to patients or quality if this fails?"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Effort&lt;/td&gt;
&lt;td&gt;Same depth for every function&lt;/td&gt;
&lt;td&gt;Deep on high-risk, light on low-risk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test style&lt;/td&gt;
&lt;td&gt;Scripted, step by step&lt;/td&gt;
&lt;td&gt;Scripted for high risk; unscripted and exploratory for the rest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Evidence&lt;/td&gt;
&lt;td&gt;Screenshots and signatures per step&lt;/td&gt;
&lt;td&gt;Summary records, test logs, CI output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor and tool assurance&lt;/td&gt;
&lt;td&gt;Re-test everything&lt;/td&gt;
&lt;td&gt;Rely on supplier evidence where justified&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Our &lt;a href="https://www.atlas-compliance.ai/blog/csa-vs-csv-life-sciences" rel="noopener noreferrer"&gt;CSA vs CSV comparison&lt;/a&gt; goes deeper on the quality side. For a developer, the practical shift is this: a green CI run with a stored log counts as evidence, if you can tie it to a requirement and a risk level.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you classify risk under computer software assurance?
&lt;/h2&gt;

&lt;p&gt;The guidance draws one line. A software feature carries &lt;strong&gt;high process risk&lt;/strong&gt; when its failure could compromise safety, such as a wrong value released on a label or a missed sterilization parameter. Everything else is not high process risk.&lt;/p&gt;

&lt;p&gt;Use three questions per feature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If this function fails silently, can a nonconforming product reach a patient?&lt;/li&gt;
&lt;li&gt;Does a person or another system catch the failure before release?&lt;/li&gt;
&lt;li&gt;Does the function create or change a regulated record?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A yes to the first and a no to the second puts the feature in the high-risk tier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fii9uhgv3kgc72rtw1pg0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fii9uhgv3kgc72rtw1pg0.png" alt="CSA decision flow: intended use, process risk, assurance activity, record" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What evidence does FDA accept under CSA?
&lt;/h2&gt;

&lt;p&gt;For high-risk functions, keep scripted tests with expected results and a pass or fail record. For everything else, the guidance accepts unscripted testing such as exploratory or ad hoc tests, with a short record of what you tested, when, who, and the outcome.&lt;/p&gt;

&lt;p&gt;That maps onto a CI pipeline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# .ci/assurance.yml&lt;/span&gt;
&lt;span class="na"&gt;assurance&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;high_risk&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;            &lt;span class="c1"&gt;# scripted, traced to requirement IDs&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;test&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tests/label/test_lot_number_matches_batch.py&lt;/span&gt;
      &lt;span class="na"&gt;requirement&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;REQ-LBL-004&lt;/span&gt;
      &lt;span class="na"&gt;risk&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;high&lt;/span&gt;
  &lt;span class="na"&gt;standard&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;             &lt;span class="c1"&gt;# unscripted / automated, summary record&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;suite&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tests/ui&lt;/span&gt;
      &lt;span class="na"&gt;risk&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;not-high&lt;/span&gt;
  &lt;span class="na"&gt;record&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;store&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;s3://qa-evidence/{release}/&lt;/span&gt;
    &lt;span class="na"&gt;keep&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;junit.xml&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;coverage.xml&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;commit_sha&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;reviewer&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Store the log, the commit, the requirement IDs and the name of the person who reviewed the result. That set is your validation record.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does skipping software assurance show up on Form 483s?
&lt;/h2&gt;

&lt;p&gt;Yes, and under QMSR it carries ISO clause numbers. Form 483s issued since February 2026 in the &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s" rel="noopener noreferrer"&gt;Atlas Form 483 directory&lt;/a&gt; cite production and service provision (ISO 13485 7.5), which includes validation of processes (7.5.6). Three examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/klarity-medical-products-llc-2026-05-20-record-732673" rel="noopener noreferrer"&gt;Klarity Medical Products, Heath, Ohio, May 2026&lt;/a&gt;: 8 observations, including procedures for validation of processes not documented.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/marlen-manufacturing-and-development-co-2026-05-06-record-726544" rel="noopener noreferrer"&gt;Marlen Manufacturing &amp;amp; Development, Bedford, Ohio, May 2026&lt;/a&gt;: 4 observations, including the same process validation finding (7.5.6).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/light-age-inc-2026-05-15-record-732596" rel="noopener noreferrer"&gt;Light Age, Somerset, New Jersey, May 2026&lt;/a&gt;: 18 observations, starting with QMS documentation under clause 4.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On the drug side, the equivalent finding cites 21 CFR 211.68. Our post on &lt;a href="https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m"&gt;21 CFR Part 11 audit trail requirements&lt;/a&gt; covers that, and the &lt;a href="https://www.atlas-compliance.ai/blog/computerized-system-validation-audit-trail-tests" rel="noopener noreferrer"&gt;audit trail tests used in computerized system validation&lt;/a&gt; list what a reviewer will try.&lt;/p&gt;

&lt;h2&gt;
  
  
  A CSA checklist for your next release
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Write the intended use of each feature in one sentence.&lt;/li&gt;
&lt;li&gt;Tag each requirement with a risk tier.&lt;/li&gt;
&lt;li&gt;Script and trace tests for high-risk features only.&lt;/li&gt;
&lt;li&gt;Keep CI logs, commit SHA and reviewer as the record for everything else.&lt;/li&gt;
&lt;li&gt;Use supplier evidence for platforms and libraries, and document why you trust it.&lt;/li&gt;
&lt;li&gt;Re-assess risk when intended use changes, not on every commit.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is computer software assurance?&lt;/strong&gt;&lt;br&gt;
Computer software assurance is FDA's risk-based approach to establishing confidence that software used in medical device production or quality systems works for its intended use. It focuses testing on features whose failure could affect patient safety or product quality and accepts lighter, unscripted evidence elsewhere.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When did FDA finalize the CSA guidance?&lt;/strong&gt;&lt;br&gt;
FDA finalized "Computer Software Assurance for Production and Quality System Software" in September 2025, after a 2022 draft. It supersedes section 6 of the 2002 General Principles of Software Validation for this type of software.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the difference between CSA and CSV?&lt;/strong&gt;&lt;br&gt;
Computer system validation applies the same scripted, documented testing to every function. Computer software assurance scales effort to risk: scripted tests for high process risk, unscripted or automated testing with summary records for the rest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does CSA apply to software that is a medical device?&lt;/strong&gt;&lt;br&gt;
No. The guidance covers software used in production and the quality system, such as MES, LIMS or CAPA tools. Software in a medical device or software as a medical device follows separate premarket guidance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can CI test logs count as validation evidence?&lt;/strong&gt;&lt;br&gt;
Under CSA, yes for features that are not high process risk, as long as the record shows what you tested, the result, the date and who reviewed it. High-risk features still need scripted tests traced to requirements.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on Atlas Compliance, which tracks FDA inspections and Form 483 observations for pharma and medical device quality teams. The &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence" rel="noopener noreferrer"&gt;FDA inspection directory&lt;/a&gt; is free to browse.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>testing</category>
      <category>devops</category>
      <category>healthtech</category>
      <category>compliance</category>
    </item>
    <item>
      <title>21 CFR Part 11 Audit Trail Requirements: A Developer's Guide Built on FDA 483 Data</title>
      <dc:creator>Shivanshu Tripathi</dc:creator>
      <pubDate>Wed, 21 Oct 2026 07:12:50 +0000</pubDate>
      <link>https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m</link>
      <guid>https://dev.to/shivanshu-the-pharma-guy/21-cfr-part-11-for-developers-the-audit-trail-and-e-signature-checks-that-end-up-on-fda-483s-3k4m</guid>
      <description>&lt;p&gt;Picture a QC lab at 23:58. An analyst signed in as &lt;code&gt;shared01&lt;/code&gt; deletes a failing assay result and reruns the sample. The rerun passes, and the batch ships. Eight months later an FDA investigator opens the lab system, filters the audit trail for deletions, and asks one question: who is shared01? Nobody can answer, and the question goes onto a Form 483.&lt;/p&gt;

&lt;p&gt;21 CFR Part 11 audit trail requirements exist to make that question answerable. They come from one clause, 11.10(e). Your system must write a secure, computer-generated, time-stamped record each time someone creates, changes or deletes a regulated electronic record. The trail must keep the old value visible and must last as long as the record.&lt;/p&gt;

&lt;p&gt;If you build software that pharma, biotech or medical device companies use to make, test or release product, your customers will ask you about Part 11 compliance before they sign. This guide covers what the rule asks for, how often software gaps land on FDA Form 483s, and what your team should build.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9f1ptfv60hrv4ylyuvpz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9f1ptfv60hrv4ylyuvpz.png" alt="21 CFR Part 11 audit trail requirements mapped to clauses 11.10(a) to 11.10(g) and what developers should build for each" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What do 21 CFR Part 11 audit trail requirements say?
&lt;/h2&gt;

&lt;p&gt;Part 11 applies when a regulated company keeps a required record in electronic form or signs it with an electronic signature. Batch records, lab results, deviation reports, complaint files and training records all count. If a regulation requires the record and your system stores it, your system sits in scope.&lt;/p&gt;

&lt;p&gt;Section 11.10 lists the controls. Read it as a feature spec:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Clause&lt;/th&gt;
&lt;th&gt;What FDA requires&lt;/th&gt;
&lt;th&gt;What you build&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;11.10(a)&lt;/td&gt;
&lt;td&gt;Validation for accuracy, reliability, consistent performance&lt;/td&gt;
&lt;td&gt;Requirements, risk assessment and test evidence for each release&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(b)&lt;/td&gt;
&lt;td&gt;Accurate, complete copies in human-readable and electronic form&lt;/td&gt;
&lt;td&gt;Exports that carry metadata and the audit trail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(c)&lt;/td&gt;
&lt;td&gt;Record protection for the retention period&lt;/td&gt;
&lt;td&gt;Backups, restore tests, retention rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(d)&lt;/td&gt;
&lt;td&gt;Access limited to authorized people&lt;/td&gt;
&lt;td&gt;Named accounts, roles, session timeouts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(e)&lt;/td&gt;
&lt;td&gt;Secure, time-stamped audit trail; old values not obscured&lt;/td&gt;
&lt;td&gt;Append-only change log with who, what, when, old and new value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(f)&lt;/td&gt;
&lt;td&gt;Operational checks on the order of steps&lt;/td&gt;
&lt;td&gt;Workflow states that block steps out of sequence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.10(g)&lt;/td&gt;
&lt;td&gt;Authority checks&lt;/td&gt;
&lt;td&gt;Permission checks on sign, edit and approve&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Electronic signatures carry their own Part 11 electronic signature requirements. Section 11.50 asks for the signer's printed name, the date and time, and the meaning of the signature, such as review or approval. Section 11.70 binds the signature to its record so nobody can copy it onto another one. Section 11.200 requires two distinct components, such as a user ID and a password, for any signature that is not biometric.&lt;/p&gt;

&lt;h2&gt;
  
  
  How often do software gaps show up on FDA Form 483s?
&lt;/h2&gt;

&lt;p&gt;One in four drug 483s, in our data. We looked at 212 Form 483s issued to drug, biologic and animal-drug facilities in 2025 and 2026 in the &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s" rel="noopener noreferrer"&gt;Atlas Form 483 directory&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;17.5%&lt;/strong&gt; cite 21 CFR 211.68, the CGMP rule on computerized systems. Most of these cite 211.68(b), which covers controls that let only authorized people change records and that check the accuracy of inputs and outputs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;9.9%&lt;/strong&gt; cite 21 CFR 211.194, complete laboratory records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1 in 4&lt;/strong&gt; cite one or both.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 483s that cite these sections run longer. They average &lt;strong&gt;7.0 observations&lt;/strong&gt;, against &lt;strong&gt;4.3&lt;/strong&gt; across all 212. A facility with weak system controls tends to have weak controls elsewhere, and investigators find both.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsk46t4thrtaurvxhdebo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsk46t4thrtaurvxhdebo.png" alt="Share of 2025 and 2026 drug Form 483s citing 21 CFR 211.68 and 211.194, and average observations per 483" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Few drug 483s cite Part 11 by section number. Investigators cite the predicate rule, most often 211.68 or 211.194, and describe the software behaviour underneath. To an engineer, the cause looks the same: the system let a record change without a trace you could trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which real 483s cited computer system controls?
&lt;/h2&gt;

&lt;p&gt;Five recent examples from the directory, each with the observation list public:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/american-regent-inc-2026-04-21-record-729720" rel="noopener noreferrer"&gt;American Regent, Shirley, New York, April 2026&lt;/a&gt;: 10 observations. 211.68(b) sits beside investigations (211.192), environmental monitoring and cleaning.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/baxter-healthcare-corporation-2025-11-25-record-722859" rel="noopener noreferrer"&gt;Baxter Healthcare, Round Lake, Illinois, November 2025&lt;/a&gt;: 5 observations, including 211.68(b) and 211.194(a)(1) on sample identification in lab records.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/emergent-biosolutions-canada-inc-2026-05-12-record-726602" rel="noopener noreferrer"&gt;Emergent BioSolutions, Winnipeg, May 2026&lt;/a&gt;: 9 observations. Both 211.68(a), on calibration and checking, and 211.68(b) appear.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/chartwell-pharmaceuticals-congers-llc-2025-11-18" rel="noopener noreferrer"&gt;Chartwell Pharmaceuticals, Congers, New York, November 2025&lt;/a&gt;: 15 observations, with 211.68(b), batch record completeness (211.188) and annual record review (211.180(e)).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/eugia-pharma-specialities-limited-2026-02-06-record-722868" rel="noopener noreferrer"&gt;Eugia Pharma Specialities, Sangareddy, India, February 2026&lt;/a&gt;: 11 observations, including 211.194(a)(8), the second-person sign-off on lab records. That is the paper version of an electronic signature control.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A short 483 can carry the same finding. &lt;a href="https://www.atlas-compliance.ai/inspection-intelligence/form-483s/bestco-llc-2025-08-01-record-706463" rel="noopener noreferrer"&gt;Bestco, Mooresville, North Carolina, August 2025&lt;/a&gt; received 2 observations, and 211.68(b) is one of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should an audit trail record contain?
&lt;/h2&gt;

&lt;p&gt;Write one immutable row for each create, update or delete on a regulated record. Store these fields:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F98ain8wc522v9jd2r9an.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F98ain8wc522v9jd2r9an.png" alt="Fields an FDA-ready audit trail entry needs: user, action, server timestamp, record and version, old value, new value, reason" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"record_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"batch-B1042/assay"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"record_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"update"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"field"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"assay_result"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"old_value"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"98.6"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"new_value"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"99.1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"transcription error, see deviation DV-311"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"m.chen"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"timestamp_utc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-10-21T11:02:47Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"client"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"lims-web/4.2.0"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Four rules keep that trail defensible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Server time only.&lt;/strong&gt; Stamp entries with time from a controlled source. If a user can change the clock on the machine that stamps the record, the timestamp proves nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Append-only storage.&lt;/strong&gt; Your application should have no update or delete path into the audit table. Restrict even admins to read access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewable views.&lt;/strong&gt; An audit trail nobody reads fails the control. Give QA a filtered view: changes after approval, deletions, edits outside working hours, edits by admin accounts. The &lt;a href="https://www.atlas-compliance.ai/blog/computerized-system-validation-audit-trail-tests" rel="noopener noreferrer"&gt;audit trail tests used in computerized system validation&lt;/a&gt; list what a reviewer will try.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same retention as the record.&lt;/strong&gt; If the batch record lives ten years, its trail lives ten years.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do you meet Part 11 electronic signature requirements?
&lt;/h2&gt;

&lt;p&gt;Show the signer's name, the date and time, and the meaning (reviewed, approved, authored) on the signed record and on every printout or PDF export. Ask the user to re-authenticate at the moment of signing. Bind each signature to a hash or version number of the record, so any later edit breaks the signature in a visible way.&lt;/p&gt;

&lt;p&gt;Second-person review is where most signature gaps start. Eugia's 211.194(a)(8) observation above concerns a second signature on lab records. If your workflow lets one person act as both analyst and reviewer, expect that finding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 11 compliance checklist for engineering teams
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;One person, one login. No shared or generic accounts on instruments or workstations.&lt;/li&gt;
&lt;li&gt;Separate roles. People who create data cannot delete or approve it. System admins cannot edit GxP data.&lt;/li&gt;
&lt;li&gt;Append-only audit trail with old and new values and a reason field.&lt;/li&gt;
&lt;li&gt;Audit trail review built into the release workflow, with an approval of its own.&lt;/li&gt;
&lt;li&gt;Signatures with name, time and meaning, bound to the record version.&lt;/li&gt;
&lt;li&gt;Server-controlled time across every component.&lt;/li&gt;
&lt;li&gt;Exports that include metadata and the trail.&lt;/li&gt;
&lt;li&gt;Validation evidence per release. FDA's move to computer software assurance favors risk-based testing over screenshot evidence, which suits teams with automated tests. The &lt;a href="https://www.atlas-compliance.ai/blog/csa-vs-csv-life-sciences" rel="noopener noreferrer"&gt;CSA vs CSV comparison&lt;/a&gt; covers the change.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Do AI features change Part 11 compliance?
&lt;/h2&gt;

&lt;p&gt;The same rules cover anything a model writes into a regulated record. Treat a model's output as an unsigned draft. The human who reviews and signs it performs the regulated act, and your audit trail must show what that person changed before signing. The longer argument sits in &lt;a href="https://www.atlas-compliance.ai/blog/can-llm-based-quality-systems-pass-an-fda-part-11-audit" rel="noopener noreferrer"&gt;can LLM-based quality systems pass a Part 11 audit&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What are the 21 CFR Part 11 audit trail requirements?&lt;/strong&gt;&lt;br&gt;
Section 11.10(e) requires secure, computer-generated, time-stamped audit trails that record the date and time of operator entries and actions that create, modify or delete electronic records. Changes must not obscure earlier values, and you must keep the trail for at least as long as the record and make it available to FDA.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Part 11 apply to every system in a pharma company?&lt;/strong&gt;&lt;br&gt;
Part 11 applies to electronic records that a predicate rule requires, such as the CGMP rules in 21 CFR 211 or the device rules in 21 CFR 820, and to electronic signatures on those records. An HR tool holding no GxP records sits outside it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does FDA cite when software controls fail?&lt;/strong&gt;&lt;br&gt;
On drug inspections, investigators cite the predicate rule more often than Part 11. 21 CFR 211.68(b) covers computer system access and data checks. 211.194 covers complete laboratory records. In 212 drug and biologic 483s from 2025 and 2026, one in four cited one or both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is a Part 11 certificate from a software vendor enough?&lt;/strong&gt;&lt;br&gt;
No. FDA holds the regulated company responsible for its records. A vendor can provide features and validation support, but the customer must validate the system for its intended use and run its own audit trail reviews.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are Part 11 electronic signature requirements?&lt;/strong&gt;&lt;br&gt;
The signed record must show the printed name of the signer, the date and time, and the meaning of the signature (11.50). The signature must link to the record so nobody can copy it (11.70). Non-biometric signatures need two distinct components such as an ID and a password (11.200).&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on Atlas Compliance, which tracks FDA inspections and Form 483 observations for pharma and medical device quality teams. You can search any facility's &lt;a href="https://www.atlas-compliance.ai/blog/fda-483-reports-database" rel="noopener noreferrer"&gt;Form 483 history&lt;/a&gt; or read &lt;a href="https://www.atlas-compliance.ai/blog/what-is-an-fda-form-483" rel="noopener noreferrer"&gt;what an FDA Form 483 is&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>healthtech</category>
      <category>compliance</category>
    </item>
  </channel>
</rss>
