[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SRS section on baseline security requirements for BalanceBoard Vestibular Trainer, a Class B Balance Training Platform Firmware. Reference IEC 62304 Clause 5.2.2.
Force plate firmware measuring center-of-pressure excursions during balance exercises. Provides real-time visual biofeedback.

[Assistant] Content: The BalanceBoard Vestibular Trainer Balance Training Platform Firmware implements security controls per IEC 81001-5-1:2021: user authentication, role-based access control, encrypted storage, encrypted communications, and event logging. Security requirements are verified through system testing and documented in the security test report.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on development methodology for Class B for ECGInsight Rhythm Interpreter, a Class B ECG Interpretation Service. Reference IEC 62304 Clause 5.1.1.
Cloud service analyzing 12-lead ECG recordings and generating preliminary rhythm interpretations for physician review.

[Assistant] Content: Development of the ECGInsight Rhythm Interpreter proceeds through a V-model lifecycle where each development phase has a paired verification phase. For Class B, the mandatory verification phases are architecture verification, integration testing, and system testing. Detailed design verification is omitted, as Clause 5.4 activities are not required at this classification level.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the NurseCall Hub (patient call system dashboard, Class A):

"Verification for the NurseCall Hub patient call system dashboard follows Clause 5.7 only. System tests exercise the software in its target configuration. Clause 5.5 unit verification and Clause 5.6 integration testing are explicitly excluded for Class A."

[Assistant]
Verdict: PASS
Note: Content correctly limits Class A to system-level verification; includes all required verification levels. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-PERF-002: "RAM and storage constraints" (Category: performance)
Project: PulseRing Smart Ring Monitor | Wearable Smart Ring Firmware + Companion App | Class B
Continuous photoplethysmography-based heart rate and SpO2 monitoring via wearable ring with mobile companion. Wearable smart ring firmware measuring continuous PPG for heart rate and SpO2 with BLE streaming to companion mobile app for trend display.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The PulseRing Smart Ring Monitor shall operate within the specified RAM and flash memory budget on the nRF5340 (firmware) + iOS/Android (app) platform, including all runtime allocations.
Rationale: Memory constraints are fixed by the nRF5340 (firmware) + iOS/Android (app) hardware and must be respected to prevent resource exhaustion during operation.
Priority: Mandatory
Acceptance Criterion: Peak RAM usage during worst-case scenario does not exceed the specified limit, with minimum margin remaining.
Source: System requirement


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the RadBeam Planner (radiation therapy planning system, Class C):

"The software is released. The release is documented. The release is verified. The release package is prepared. The release is approved. The RadBeam Planner software release follows the process."

[Assistant]
Verdict: FAIL
Note: The documentation section exhibits repetitive structure. Sentences follow the same structure and convey the same meaning. Each paragraph should cover a distinct aspect with varied structure. Content should be consolidated and each sentence should contribute unique, specific information about the RadBeam Planner.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a TRACE section on traceability scope including risk controls for CalibrationTracker Equipment Logger, a Class A Calibration Record System. Reference IEC 62304 Clauses 5.7.1, 7.3.2.
Web application tracking calibration dates and results for medical test equipment. Administrative record keeping.

[Assistant] Content: Traceability for the CalibrationTracker Equipment Logger Calibration Record System covers all software requirements per Clause 5.7.1 and all software-implemented risk controls per Clause 7.3.2. The combined matrix provides a single view of verification completeness for functional and safety aspects.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the HeartLink (cardiac telemetry system, Class B):

"Software architecture for the HeartLink is documented per Clause 5.3. The architecture defines software items, their interfaces (Clause 5.3.2), and SOUP requirements (Clause 5.3.3). Integration testing validates the architecture at each integration step."

[Assistant]
Verdict: PASS
Note: Content content is appropriate for the HeartLink (cardiac telemetry system, Class B). Standards references are accurate.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the NeuroStim Programmer (neurostimulator programmer, Class C):

"IEC 62304-4 Section 5.7 requires all software units to be verified."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62304-4" which is incorrect. IEC 62304 has no Part 4. All references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SRS section on requirements conventions and identification scheme for RemotICU Continuous Monitoring Hub, a Class B Edge-to-Cloud ICU Monitoring Gateway. Reference IEC 62304 Clauses 5.2.1, 5.2.2.
Edge gateway collecting data from bedside monitors (SpO2, HR, BP, ventilator) and streaming to cloud for trending, alerting, and tele-ICU review.

[Assistant] Content: Each requirement for the RemotICU Continuous Monitoring Hub is assigned a unique identifier and tagged with its type (functional, performance, interface, or safety) per Clause 5.2.2. Requirements are written in "shall" statements that are individually testable. The requirement set is baselined and controlled under the change management process.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-PERF-001: "end-to-end processing latency" (Category: performance)
Project: RetinaScan Diabetic Retinopathy Screener | Retinal Screening Software | Class B
AI-assisted screening of retinal images for diabetic retinopathy signs, requiring specialist confirmation. Desktop software analyzing retinal fundus images to detect signs of diabetic retinopathy for ophthalmologist review.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Processing latency of the Retinal Screening Software shall be bounded to ensure timely output that reflects current input conditions.
Rationale: Real-time performance is critical for the Retinal Screening Software to support timely clinical decisions based on current data.
Priority: Mandatory
Acceptance Criterion: End-to-end latency is within the specified limit for 99.9% of samples over a 24-hour test period.
Source: System requirement


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the ArthroNav (surgical navigation system, Class C):

"Problem resolution follows established procedures and best practices. Issues are tracked and resolved in a timely manner as appropriate."

[Assistant]
Verdict: FAIL
Note: The documentation section contains generic filler. Phrases like "as appropriate", "best practices", "established procedures" provide no project-specific information about the ArthroNav surgical navigation system. Content must reference specific IEC 62304 clauses, concrete activities, and measurable criteria.


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-FUNC-005: "user-configurable operating parameters" (Category: functional)
Project: AutoclaveLog Cycle Recorder | Sterilization Cycle Data Logger | Class A
Recording and reporting autoclave sterilization cycle parameters. PC software recording autoclave cycle data (time, temperature, pressure) and generating compliance reports.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The AutoclaveLog Cycle Recorder shall allow authorized users to configure operating parameters via RS-232 serial and persist settings across power cycles.
Rationale: Parameter flexibility is essential for the Sterilization Cycle Data Logger to meet varying clinical requirements across deployment sites.
Priority: Mandatory
Acceptance Criterion: Configuration round-trip test: set, power-cycle, read-back for all parameters with 100% accuracy.
Source: User need


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the FetaSound (fetal heart rate monitor, Class B):

"The FetaSound development environment is configured following best practices. Tools are selected as appropriate for the project requirements."

[Assistant]
Verdict: FAIL
Note: The documentation section contains generic filler. Phrases like "as appropriate", "best practices" provide no project-specific information about the FetaSound fetal heart rate monitor. Content must reference specific IEC 62304 clauses, concrete activities, and measurable criteria.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the HydroLog (hydration tracking wellness app, Class A):

"System testing for the HydroLog verifies that all software requirements are met in the operational environment. Test failures trigger the software problem resolution process per Clause 9. No unit-level or integration-level tests are required for this Class A hydration tracking wellness app."

[Assistant]
Verdict: PASS
Note: Content correctly limits Class A to system-level verification. Standards references are accurate.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the VentAssist Pro (ICU ventilator controller, Class C):

"REQ-SRS-023: The VentAssist Pro shall validate all input data against defined ranges before processing. Out-of-range values shall be rejected with an error code. Acceptance criterion: submit boundary values and verify correct acceptance/rejection. Priority: Mandatory. Source: Risk control."

[Assistant]
Verdict: PASS
Note: Content requirement is properly structured with measurable acceptance criteria; risk management content follows ISO 14971 framework. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a FMEA section on FMEA scope for Class A -- simplified analysis for HeartView Resting HR Display, a Class A Heart Rate Display Firmware. Reference IEC 62304 Clause 7.1.1.
Wearable firmware that shows resting heart rate on a small OLED screen. Read-only display with no arrhythmia detection or clinical alerts.

[Assistant] Content: Failure mode analysis for the Class A HeartView Resting HR Display is a confirmatory exercise documenting that no identified failure mode of the Heart Rate Display Firmware creates a hazardous situation. The analysis systematically considers data loss, incorrect computation, and display errors, confirming that Passive display of resting heart rate for wellness monitoring remains safe even under worst-case software failure.


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-SEC-002: "authentication for configuration access" (Category: security)
Project: AssetTrack Equipment Inventory | Equipment Inventory System | Class A
Tracking location and status of medical equipment for inventory management. Mobile app for scanning and tracking medical equipment locations via barcode. Inventory management only.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The AssetTrack Equipment Inventory shall require authentication before allowing modification of device configuration parameters via REST API.
Rationale: Unauthorized configuration changes to the Equipment Inventory System could compromise its intended function or patient safety.
Priority: Mandatory
Acceptance Criterion: Brute-force protection activates after the specified number of failed authentication attempts.
Source: Risk control


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the CardioPulse Monitor (cardiac rhythm monitor, Class B):

"The regulatory framework for the CardioPulse Monitor references IEC 62304:2006+AMD1:2015 Clauses 4 through 9 as applicable to Class B software. ISO 14971:2019 governs the risk management process. The quality system operates under ISO 13485:2016."

[Assistant]
Verdict: PASS
Note: Content correctly specifies Class B requirements; uses the correct IEC 62304 citation; correctly references ISO 14971:2019. Standards references are accurate.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the InfuSafe Controller (insulin infusion pump controller, Class C):

"Maintenance activities follow IEC 62304-2 Clause 6."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62304-2" which is incorrect. IEC 62304 has no Part 2. It is a single-part standard. All references must be corrected.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SAD section on SOUP component integration and requirements for CardioLoop Cardiac Resync Controller, a Class C CRT Optimization Firmware. Reference IEC 62304 Clauses 5.3.3, 5.3.4.
Firmware for cardiac resynchronization therapy devices optimizing biventricular pacing based on hemodynamic feedback.

[Assistant] Content: SOUP integration in the CardioLoop Cardiac Resync Controller architecture follows Clause 5.3.3 and Clause 5.3.4. Each SOUP item has documented functional requirements, performance requirements, and platform dependencies. The CRT Optimization Firmware architecture ensures SOUP components are isolated behind defined interfaces to limit the impact of SOUP defects.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the BloodBank Manager (blood bank inventory system, Class A):

"This plan references the following normative standards: IEC 62304:2006+AMD1:2015, ISO 14971:2019, ISO 13485:2016, and IEC 62366-1:2015+AMD1:2020. Each standard is cited with its correct edition year. The BloodBank Manager development complies with all applicable clauses for Class A."

[Assistant]
Verdict: PASS
Note: Content correctly limits Class A to system-level verification; uses the correct IEC 62304 citation; correctly references ISO 14971:2019. Standards references are accurate.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the BloodBank Manager (blood bank inventory system, Class A):

"All source code modules shall undergo unit testing using xUnit framework with coverage reporting."

[Assistant]
Verdict: FAIL
Note: Content mandates unit testing for Class A. IEC 62304 Class A requires only system-level verification (Clause 5.7). Unit verification (Clause 5.5) is not required for Class A.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SRS section on data format and interoperability requirements for ConveyorGuard Safety Interlock System, a Class A Conveyor Safety Interlock Software. Reference IEC 62304 Clause 5.2.2.
Safety PLC program monitoring conveyor belt guard positions, emergency stops, and light curtains. Functional safety application.

[Assistant] Content: The ConveyorGuard Safety Interlock System data format requirements ensure interoperability with external systems connected via safety PLC I/O, PROFINET. Data structures, encoding schemes, and byte ordering are fully specified. The Conveyor Safety Interlock Software handles version mismatches in data formats gracefully.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-FUNC-002: "user-configurable operating parameters" (Category: functional)
Project: FridgeGuard Temperature Logger | Cold Chain Temperature Logger | Class A
Continuous logging and display of storage temperatures for compliance documentation. Firmware logging refrigerator temperatures for vaccine and medication cold chain compliance. Records and displays data, no alerts that drive clinical decisions.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Operating parameters of the Cold Chain Temperature Logger shall be user-configurable within validated ranges and stored in non-volatile memory.
Rationale: Parameter flexibility is essential for the Cold Chain Temperature Logger to meet varying clinical requirements across deployment sites.
Priority: Mandatory
Acceptance Criterion: All configurable parameters persist correctly across power cycles and reject out-of-range values with appropriate error messages.
Source: User need


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the ThermoGuard (body temperature logger, Class A):

"Unit testing for the ThermoGuard shall achieve 90% statement coverage and 80% branch coverage."

[Assistant]
Verdict: FAIL
Note: Content mandates unit testing for Class A. IEC 62304 Class A requires only system-level verification (Clause 5.7). Unit verification (Clause 5.5) is not required for Class A.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a TRACE section on risk control coverage verification for WoundTrack Healing Analyzer, a Class B Wound Assessment App. Reference IEC 62304 Clauses 5.7.4, 7.3.2.
Mobile app photographing wounds and measuring area/perimeter over time to track healing progress for clinician review.

[Assistant] Content: The WoundTrack Healing Analyzer gap analysis per Clause 5.7.4 and Clause 7.3.2 verifies that the risk control traceability chain is complete. Every hazard in the risk management file that has a software control must trace to a verified requirement in the Wound Assessment App. Incomplete chains are flagged and resolved before release.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the LabView Portal (read-only lab results viewer, Class A):

"Every software item of the LabView Portal shall have a detailed design document reviewed by a qualified reviewer before implementation begins."

[Assistant]
Verdict: FAIL
Note: Content mandates detailed design with review for Class A. IEC 62304 Class A requires only system-level verification (Clause 5.7). Detailed design (Clause 5.4) is required only for Class C software.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a TRACE section on purpose and scope of the traceability matrix for RetinaStim Visual Prosthesis Controller, a Class C Retinal Prosthesis Controller Firmware. Reference IEC 62304 Clause 5.7.1.
Firmware driving a retinal implant electrode array based on camera input processing. Stimulation errors could cause retinal damage.

[Assistant] Content: This traceability matrix demonstrates bidirectional traceability between requirements, design elements, and verification activities for the RetinaStim Visual Prosthesis Controller per IEC 62304 Clause 5.7.1. Each software requirement is traced forward to the design element that implements it and to the test case that verifies it, ensuring complete coverage with no unlinked requirements or untested design elements.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a TRACE section on purpose and scope of the traceability matrix for IncidentReport Clinical Event Logger, a Class A Incident Reporting System. Reference IEC 62304 Clause 5.7.1.
Web form for staff to submit clinical incident reports. Data entry and routing only, no analysis.

[Assistant] Content: Traceability for the IncidentReport Clinical Event Logger per Clause 5.7.1 links system requirements to software requirements, software requirements to design elements, and design elements to verification test cases. The matrix serves as the primary evidence that the Incident Reporting System verification is complete and that no requirement is unaddressed.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the LabView Portal (read-only lab results viewer, Class A):

"Risk control verification for the LabView Portal follows Clause 7.3. Each risk control measure implemented in software (Clause 7.2.2) has a corresponding verification activity. Traceability from hazard through control measure to verification is documented per Clause 7.3.2."

[Assistant]
Verdict: PASS
Note: Content risk management content follows ISO 14971 framework. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on change control and trend analysis for problems for FallRisk Inpatient Assessment Tool, a Class B Fall Risk Assessment App. Reference IEC 62304 Clauses 9.4, 9.6.
Web app calculating fall risk scores for inpatients based on mobility, medication, and cognitive assessments.

[Assistant] Content: The FallRisk Inpatient Assessment Tool problem correction workflow routes all fixes through the change control process per Clause 9.4. Trend analysis per Clause 9.6 reviews accumulated problem reports at each phase gate to detect recurring defect patterns, common root causes, and areas of the Fall Risk Assessment App requiring additional verification attention.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a THREAT section on threat model data flow decomposition for NeoVent Neonatal Ventilator, a Class C Neonatal Ventilator Firmware. Reference IEC 62304 Clause 5.2.2.
Neonatal ventilator firmware supporting CPAP, NIPPV, and conventional ventilation for extremely premature infants. Tidal volumes as low as 2 mL.

[Assistant] Content: The NeoVent Neonatal Ventilator threat model decomposes the Neonatal Ventilator Firmware into data flow diagrams showing all external entities, processes, data stores, and data flows. Each data flow crossing a trust boundary is analyzed for threats. The decomposition covers hot-wire anemometer input, internal processing, and output via proportional valve driver.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the HydroLog (hydration tracking wellness app, Class A):

"This plan is prepared in compliance with IEC 62311-1 and ISO 13485:2016."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62311-1" which is incorrect. IEC 62311 covers EMF exposure limits, not medical device software. All references must be corrected.


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-FUNC-004: "device configuration management" (Category: functional)
Project: GlucoEdge Continuous Glucose Platform | Hybrid CGM Edge-Cloud Platform | Class B
Continuous glucose monitoring with edge processing on wearable and cloud-based trend analysis for clinician review. Hybrid system: embedded BLE firmware on a wearable CGM patch streams readings to a phone app, which uploads to cloud for trend analysis and physician dashboard.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Operating parameters of the Hybrid CGM Edge-Cloud Platform shall be user-configurable within validated ranges and stored in non-volatile memory.
Rationale: Configurable parameters allow the Hybrid CGM Edge-Cloud Platform to be adapted to different clinical protocols and patient populations.
Priority: Mandatory
Acceptance Criterion: Configuration round-trip test: set, power-cycle, read-back for all parameters with 100% accuracy.
Source: User need


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the StepTrack (wellness pedometer app, Class A):

"REQ-SRS-012: The StepTrack shall log all user actions with timestamps in an audit trail stored in non-volatile memory. The audit trail shall retain at least 10,000 entries. Acceptance criterion: verify log persistence across power cycles and entry count capacity. Priority: Mandatory. Source: Regulatory."

[Assistant]
Verdict: PASS
Note: Content requirement is properly structured with measurable acceptance criteria. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SRS section on data format and interoperability requirements for SterilLog Sterilization Record System, a Class A Sterilization Record Logger. Reference IEC 62304 Clause 5.2.2.
Software logging sterilization cycle parameters from autoclaves. Records temperature, pressure, and time for compliance documentation.

[Assistant] Content: The SterilLog Sterilization Record System data format requirements ensure interoperability with external systems connected via RS-232, database. Data structures, encoding schemes, and byte ordering are fully specified. The Sterilization Record Logger handles version mismatches in data formats gracefully.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the RetinaScan Pro (diabetic retinopathy screening AI, Class B):

"Compliance with IEC 62304 Clause 5.0 (operational qualification) and Clause 5.8.9 (performance benchmarking) is demonstrated."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clauses 5.0 and 5.8.9, neither of which exists. Clause 5 starts at 5.1. Clause 5.8 has 5.8.1 through 5.8.8 only. All clause references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on primary international standards applicable to development for AssetTrack Equipment Inventory, a Class A Equipment Inventory System. Reference IEC 62304 Clause 5.1.2.
Mobile app for scanning and tracking medical equipment locations via barcode. Inventory management only.

[Assistant] Content: Development of the AssetTrack Equipment Inventory software conforms to IEC 62304:2006+AMD1:2015 for the software lifecycle and ISO 14971:2019 for risk management integration. Quality management activities follow ISO 13485:2016, while usability engineering principles from IEC 62366-1:2015+AMD1:2020 inform the user interface design of the Equipment Inventory System.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SRS section on purpose of the SRS document for GrowthChart Pediatric Viewer, a Class A Growth Chart Display App. Reference IEC 62304 Clause 5.2.1.
Web app displaying pediatric growth charts with WHO/CDC percentile curves. Plots measurements, no diagnostic interpretation.

[Assistant] Content: This document specifies the software requirements for the GrowthChart Pediatric Viewer Growth Chart Display App as required by IEC 62304 Clause 5.2.1. It serves as the primary input to design and the primary reference for verification test case derivation. All requirements are verifiable, traceable, and configuration-controlled.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SDP section on primary international standards applicable to development for AutoHUD Heads-Up Display Controller, a Class A Automotive HUD Controller Firmware. Reference IEC 62304 Clause 5.1.2.
Firmware rendering vehicle speed, navigation, and ADAS warnings on a windshield-projected heads-up display.

[Assistant] Content: Development of the AutoHUD Heads-Up Display Controller software conforms to IEC 62304:2006+AMD1:2015 for the software lifecycle and ISO 14971:2019 for risk management integration. Quality management activities follow ISO 13485:2016, while usability engineering principles from IEC 62366-1:2015+AMD1:2020 inform the user interface design of the Automotive HUD Controller Firmware.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-INTF-002: "primary sensor interface protocol" (Category: interface)
Project: GrowthChart Pediatric Viewer | Growth Chart Display App | Class A
Visual display of pediatric growth measurements on standard percentile charts. Web app displaying pediatric growth charts with WHO/CDC percentile curves. Plots measurements, no diagnostic interpretation.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The GrowthChart Pediatric Viewer shall communicate with the primary sensor via FHIR Observation API, implementing error detection and recovery for communication failures.
Rationale: Sensor link integrity directly impacts data quality and the reliability of the Growth Chart Display App output.
Priority: Mandatory
Acceptance Criterion: Error injection tests confirm 100% detection rate for corrupted frames and recovery within specified timeout.
Source: System requirement


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-SAFE-002: "safe state transition on critical failure" (Category: safety)
Project: HomeVent BiPAP Controller | BiPAP Device Firmware | Class C
Home bilevel ventilatory support with auto-titrating pressure and leak compensation. Home bilevel positive airway pressure device firmware. Manages inspiratory/expiratory pressure, leak compensation, and patient triggering.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: A deterministic safe-state transition shall be triggered by any detected critical fault condition in the HomeVent BiPAP Controller, with all active outputs brought to a known safe configuration.
Rationale: Fail-safe behavior is essential to prevent the BiPAP Device Firmware from causing harm when its software detects an unrecoverable error.
Priority: Mandatory
Acceptance Criterion: All 20 defined fault scenarios result in correct safe-state entry within timing limits across 10 iterations each.
Source: Risk control


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-PERF-003: "data processing timing constraint" (Category: performance)
Project: RespiRate Respiratory Monitor | Respiratory Rate Monitor Firmware | Class B
Continuous respiratory rate monitoring with alarm generation for abnormal rates. Wearable firmware monitoring respiratory rate via chest impedance. Displays rate and alerts on bradypnea/tachypnea.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The RespiRate Respiratory Monitor shall process acquired data and update the output within the specified end-to-end latency from sample acquisition to display update.
Rationale: Bounded processing latency ensures the Respiratory Rate Monitor Firmware provides readings reflecting the current state without clinically significant delay.
Priority: Mandatory
Acceptance Criterion: End-to-end latency is within the specified limit for 99.9% of samples over a 24-hour test period.
Source: System requirement


[System] You are a medical device regulatory standards expert with comprehensive knowledge of IEC 62304, ISO 14971, ISO 13485, IEC 62366-1, IEC 82304-1, IEC 81001-5-1, IEC 60601-1 and its sub-parts, and associated regulatory guidance. Provide accurate standards references. Never fabricate clause numbers or standard sub-parts.

[User] Is IEC 60601-1:2005+AMD2:2020 the correct reference for medical device compliance?

[Assistant] Yes. IEC 60601-1 is the general safety standard for medical electrical equipment. It has multiple sub-parts including 1-2 (EMC), 1-6 (usability), 1-8 (alarms), 1-10 (closed-loop), and 1-11 (home healthcare).


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SDP section on risk control requirements traceability for WoundTrack Healing Analyzer, a Class B Wound Assessment App. Reference IEC 62304 Clause 5.2.3.
Mobile app photographing wounds and measuring area/perimeter over time to track healing progress for clinician review.

[Assistant] Content: The WoundTrack Healing Analyzer requirements include risk control measures traced from the ISO 14971 risk analysis per Clause 5.2.3. Each risk control implemented in software is expressed as a verifiable requirement and traced forward to design, implementation, and verification of the Wound Assessment App.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the NeuroStim Programmer (neurostimulator programmer, Class C):

"Verification activities follow IEC 62304 Clause 5.10 for continuous monitoring."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clause 5.10 which does not exist. Clause 5 ends at 5.8. The reference must be corrected to a valid clause number.


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-DATA-001: "stored data corruption detection" (Category: data)
Project: RetinaScan Diabetic Retinopathy Screener | Retinal Screening Software | Class B
AI-assisted screening of retinal images for diabetic retinopathy signs, requiring specialist confirmation. Desktop software analyzing retinal fundus images to detect signs of diabetic retinopathy for ophthalmologist review.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The RetinaScan Diabetic Retinopathy Screener shall validate the integrity of stored data using checksums, detecting and reporting any corruption of measurement records.
Rationale: Data integrity mechanisms ensure measurement records retrieved from the Retinal Screening Software are trustworthy for clinical review.
Priority: Mandatory
Acceptance Criterion: Integrity check correctly identifies all corrupted records with zero false positives on uncorrupted data.
Source: System requirement


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-SAFE-001: "fault response and safe shutdown" (Category: safety)
Project: SurgiPlan 3D Surgical Planner | 3D Surgical Planning SaMD | Class B
Preoperative 3D planning of joint replacement procedures with implant sizing and alignment. Desktop SaMD for orthopedic surgeons to plan joint replacement procedures on 3D CT reconstructions. Outputs implant sizing and positioning specifications.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Upon detection of a critical software fault, the SurgiPlan 3D Surgical Planner shall transition to its defined safe state within the specified time, disabling any active output that could contribute to harm.
Rationale: A deterministic safe-state transition prevents the 3D Surgical Planning SaMD from operating in an unknown or hazardous state after a detected fault.
Priority: Mandatory
Acceptance Criterion: All 20 defined fault scenarios result in correct safe-state entry within timing limits across 10 iterations each.
Source: Risk control


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the OxyPure Controller (oxygen concentrator controller, Class C):

"The OxyPure Controller development follows full Class C rigor: detailed design documentation, unit testing with coverage targets (statement 90%, branch 80%, MC/DC 80%), integration testing of all interfaces, system testing, and independent verification. All activities are traceable to requirements."

[Assistant]
Verdict: PASS
Note: Content correctly specifies full Class C rigor; correctly specifies independent review for Class C. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on development tools and tool qualification for Class A for AirSentry Urban Air Quality Station, a Class A Air Quality Monitoring Station Firmware. Reference IEC 62304 Clause 5.1.4.
IoT firmware for urban air quality monitoring stations measuring PM2.5, NO2, O3, and CO. Publishes data to public API.

[Assistant] Content: The AirSentry Urban Air Quality Station development environment consists of MicroPython targeting ESP32 + Raspberry Pi, with version-controlled source and automated builds. Tool qualification per Clause 5.1.4 is not mandated for Class A software. Any tool defects affecting the Air Quality Monitoring Station Firmware output are documented in the problem report system.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the RetinaScan Pro (diabetic retinopathy screening AI, Class B):

"IEC 62304-4 Section 6.1 requires all software units to be verified."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62304-4" which is incorrect. IEC 62304 has no Part 4. All references must be corrected.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SAD section on external interface architecture for RemotICU Continuous Monitoring Hub, a Class B Edge-to-Cloud ICU Monitoring Gateway. Reference IEC 62304 Clause 5.3.2.
Edge gateway collecting data from bedside monitors (SpO2, HR, BP, ventilator) and streaming to cloud for trending, alerting, and tele-ICU review.

[Assistant] Content: External interface architecture for the RemotICU Continuous Monitoring Hub Edge-to-Cloud ICU Monitoring Gateway wraps each physical interface in an abstraction layer. This design per Clause 5.3.2 decouples the application logic from hardware specifics of Intel NUC edge gateway + AWS IoT Core + React SPA, enabling integration testing with simulated interfaces.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-FUNC-005: "data acquisition from smartphone camera" (Category: functional)
Project: DermaAssist Skin Lesion Classifier | Skin Lesion Classification App | Class B
AI-assisted classification of skin lesion images as benign or suspicious for dermatologist review. Mobile app using a CNN to classify skin lesion images as benign/suspicious. Decision support requiring dermatologist confirmation.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The DermaAssist Skin Lesion Classifier software shall acquire smartphone camera data at the specified sampling rate and store values in a circular buffer for processing by the Skin Lesion Classification App signal pipeline.
Rationale: Continuous data acquisition from the primary sensor is the fundamental input for AI-assisted classification of skin lesion images as benign or suspicious for dermatologist review.
Priority: Mandatory
Acceptance Criterion: Verified by test: software acquires sensor data continuously for 60 minutes without data loss, confirmed by comparing acquisition count against expected count at the configured sampling rate.
Source: System requirement


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-SEC-001: "authentication for configuration access" (Category: security)
Project: ConveyorGuard Safety Interlock System | Conveyor Safety Interlock Software | Class A
Monitoring safety interlocks and emergency stops on industrial conveyor systems. Safety PLC program monitoring conveyor belt guard positions, emergency stops, and light curtains. Functional safety application.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: User authentication shall be enforced for all configuration changes to the ConveyorGuard Safety Interlock System, with credential validation before granting access.
Rationale: Unauthorized configuration changes to the Conveyor Safety Interlock Software could compromise its intended function or patient safety.
Priority: Mandatory
Acceptance Criterion: Brute-force protection activates after the specified number of failed authentication attempts.
Source: Risk control


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the OxyPure Controller (oxygen concentrator controller, Class C):

"The development plan references IEC 62304 Clause 5.6.8 and Clause 5.8.9 for the OxyPure Controller."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clauses 5.6.8 and 5.8.9, neither of which exists. Clause 5.6 has 5.6.1 through 5.6.7 only. Clause 5.8 has 5.8.1 through 5.8.8 only. All clause references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SRS section on data processing and transformation requirements for WoundTrack Healing Analyzer, a Class B Wound Assessment App. Reference IEC 62304 Clause 5.2.2.
Mobile app photographing wounds and measuring area/perimeter over time to track healing progress for clinician review.

[Assistant] Content: Data processing requirements for the WoundTrack Healing Analyzer define the transformations applied to raw input from smartphone camera to produce the output presented to the user. Each transformation has defined accuracy bounds and error handling behavior specific to the Wound Assessment App operational context.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SDP section on cybersecurity and health IT standards for PulmoCheck Spirometry Analyzer, a Class B Spirometry Analysis Software. Reference IEC 62304 Clause 5.1.2.
Software analyzing spirometry data to calculate FEV1, FVC, and FEV1/FVC ratio with predicted value comparisons.

[Assistant] Content: Information security for the PulmoCheck Spirometry Analyzer Spirometry Analysis Software conforms to IEC 81001-5-1:2021, covering secure development practices, vulnerability disclosure, and post-market security monitoring. For devices incorporating electrical safety requirements, IEC 60601-1:2005+AMD2:2020 is referenced for programmable electrical medical system (PEMS) considerations.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the MedInventory (medical supply tracking system, Class A):

"ISO 14971-1 Section 7.1 requires all software units to be verified."

[Assistant]
Verdict: FAIL
Note: The documentation references "ISO 14971-1" which is incorrect. ISO 14971 is a single-part standard. The correct citation is ISO 14971:2019. All references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-FUNC-005: "startup diagnostic verification" (Category: functional)
Project: BillingBridge Claims Processor | Claims Processing Service | Class A
Automated processing and submission of insurance claims. Backend service processing insurance claims from the hospital billing system. Financial processing only, no clinical data.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Upon power-up, the BillingBridge Claims Processor shall execute a self-test sequence verifying the integrity of the primary sensor interface, internal memory, and output subsystem before entering operational mode.
Rationale: A power-on self-test confirms hardware and software readiness before the Claims Processing Service begins use.
Priority: Mandatory
Acceptance Criterion: All fault injection scenarios are detected with 100% reliability across 50 test iterations.
Source: System requirement


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on risk control requirements traceability for RetinaStim Visual Prosthesis Controller, a Class C Retinal Prosthesis Controller Firmware. Reference IEC 62304 Clause 5.2.3.
Firmware driving a retinal implant electrode array based on camera input processing. Stimulation errors could cause retinal damage.

[Assistant] Content: Clause 5.2.3 requires that risk control measures implemented in the RetinaStim Visual Prosthesis Controller software appear as traceable requirements. The traceability chain runs from the ISO 14971 hazard analysis to the SRS requirement to the test case verifying the control's effectiveness in the Retinal Prosthesis Controller Firmware.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-INTF-002: "external system data exchange" (Category: interface)
Project: AnticoagCalc INR Dose Adjuster | Anticoagulation Dosing Support Tool | Class B
Suggesting warfarin dose adjustments based on INR values for physician review. Web tool suggesting warfarin dose adjustments based on INR readings and patient history. Clinical decision support requiring physician review.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Data interoperability with clinical information systems shall be provided through FHIR Observation API, supporting standard message formats.
Rationale: External system connectivity is required for the Anticoagulation Dosing Support Tool to function within the broader clinical infrastructure.
Priority: Desirable
Acceptance Criterion: Successful bidirectional data exchange confirmed with 1000 test messages and zero message loss.
Source: User need


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the BloodBank Manager (blood bank inventory system, Class A):

"Architecture for the BloodBank Manager transforms requirements into a software architecture per Clause 5.3.1. Interfaces between software items are defined per Clause 5.3.2. SOUP functional requirements are specified per Clause 5.3.3. The architecture is verified per Clause 5.3.6."

[Assistant]
Verdict: PASS
Note: Content content is appropriate for the BloodBank Manager (blood bank inventory system, Class A). Standards references are accurate.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the CardioPulse Monitor (cardiac rhythm monitor, Class B):

"Risk control measures are implemented per IEC 14971 Clause 7."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 14971" which is incorrect. Wrong prefix. The correct standard is ISO 14971, not IEC 14971. All references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-PERF-002: "output precision and accuracy" (Category: performance)
Project: NeoVent Neonatal Ventilator | Neonatal Ventilator Firmware | Class C
Mechanical ventilatory support for neonatal patients with precise low-volume delivery. Neonatal ventilator firmware supporting CPAP, NIPPV, and conventional ventilation for extremely premature infants. Tidal volumes as low as 2 mL.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The NeoVent Neonatal Ventilator shall maintain measurement accuracy within the specified tolerance across the full operating range of the hot-wire anemometer.
Rationale: Inaccurate output from the Neonatal Ventilator Firmware could lead to incorrect clinical actions, making accuracy a safety-critical requirement.
Priority: Mandatory
Acceptance Criterion: Accuracy verified against a calibrated reference across the full measurement range, with all readings within tolerance for 200+ test points.
Source: Regulatory


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the NurseCall Hub (patient call system dashboard, Class A):

"Detailed design for the NurseCall Hub documents algorithms, data structures, and internal interfaces for each software unit per Clause 5.4.2."

[Assistant]
Verdict: FAIL
Note: Content mandates detailed design per Clause 5.4.2 for Class A. IEC 62304 Class A requires only system-level verification (Clause 5.7). Detailed design (Clause 5.4) is required only for Class C.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the OxyPure Controller (oxygen concentrator controller, Class C):

"Problem resolution follows established procedures and best practices. Issues are tracked and resolved in a timely manner as appropriate."

[Assistant]
Verdict: FAIL
Note: The documentation section contains generic filler. Phrases like "as appropriate", "best practices", "established procedures" provide no project-specific information about the OxyPure Controller oxygen concentrator controller. Content must reference specific IEC 62304 clauses, concrete activities, and measurable criteria.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SRS section on data processing and transformation requirements for ScreenFlow Population Health Screener, a Class A Serverless Population Health Screening SaMD. Reference IEC 62304 Clause 5.2.2.
Serverless cloud application processing population-level health screening questionnaires and flagging individuals for follow-up based on risk scoring algorithms.

[Assistant] Content: Data processing requirements for the ScreenFlow Population Health Screener define the transformations applied to raw input from data sources to produce the output presented to the user. Each transformation has defined accuracy bounds and error handling behavior specific to the Serverless Population Health Screening SaMD operational context.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a THREAT section on STRIDE threat categories applied to the device for BSACalc Body Surface Area Tool, a Class B BSA Calculator Web App. Reference IEC 62304 Clause 5.2.2.
Web calculator for body surface area using Mosteller and DuBois formulas. Used for chemotherapy dose calculations.

[Assistant] Content: Threats to the BSACalc Body Surface Area Tool are categorized using the STRIDE framework: Spoofing of web form identity, Tampering with sensor data or configuration, Repudiation of clinical actions, Information Disclosure of patient data, Denial of Service disrupting Calculating body surface area for oncology dose determination, and Elevation of Privilege through unauthorized parameter changes.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-DATA-003: "data integrity validation" (Category: data)
Project: VibeCheck Vibration Analyzer | Vibration Analysis Instrument Firmware | Class A
Vibration spectrum analysis of industrial machinery for predictive maintenance. Portable vibration analysis firmware for predictive maintenance of industrial rotating machinery. FFT analysis of accelerometer data.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The VibeCheck Vibration Analyzer shall detect corrupted measurement records through integrity checking and flag affected entries for review.
Rationale: Data integrity mechanisms ensure measurement records retrieved from the Vibration Analysis Instrument Firmware are trustworthy for clinical review.
Priority: Mandatory
Acceptance Criterion: Intentionally corrupted records are detected and flagged with 100% detection rate across 100 injected corruption events.
Source: System requirement


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SDP section on hazard identification for the specific device for LabStream LIS Middleware, a Class A Laboratory Information Middleware. Reference IEC 62304 Clauses 7.1.2, 7.2.1.
Middleware software connecting laboratory analyzers to the hospital LIS. Routes results, applies auto-validation rules, and flags critical values.

[Assistant] Content: The LabStream LIS Middleware risk analysis per Clause 7.1.2 identifies software causes of hazardous situations specific to the Laboratory Information Middleware: data path corruption, timing violations, resource exhaustion, and incorrect state transitions. Each cause is linked to a risk control measure per Clause 7.2.1 and implemented as a verifiable software requirement.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-DATA-001: "measurement data lifecycle" (Category: data)
Project: DermaAssist Skin Lesion Classifier | Skin Lesion Classification App | Class B
AI-assisted classification of skin lesion images as benign or suspicious for dermatologist review. Mobile app using a CNN to classify skin lesion images as benign/suspicious. Decision support requiring dermatologist confirmation.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Measurement records stored by the Skin Lesion Classification App shall be maintained for the configured retention period before eligible for overwrite.
Rationale: Regulatory compliance requires that measurement records be available for the specified retention period.
Priority: Mandatory
Acceptance Criterion: Oldest data record remains retrievable after continuous operation for the specified retention period.
Source: Regulatory


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SRS section on data processing and transformation requirements for ConsentView Informed Consent Archive, a Class A Consent Document Viewer. Reference IEC 62304 Clause 5.2.2.
Web portal for patients and staff to view signed informed consent documents. Read-only document viewer.

[Assistant] Content: The ConsentView Informed Consent Archive data pipeline requirements specify end-to-end data flow from input acquisition through processing to output on REST API. Requirements include input validation, range checking, unit conversion, and output formatting for Read-only viewing of archived informed consent documents.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a TRACE section on traceability scope including risk controls for TrainCert Staff Certification Tracker, a Class A Training Certification System. Reference IEC 62304 Clauses 5.7.1, 7.3.2.
Web app tracking staff training certifications and renewal dates. Administrative HR tool for compliance tracking.

[Assistant] Content: The TrainCert Staff Certification Tracker traceability matrix extends beyond functional requirements to include risk control traceability per Clause 7.3.2. Each risk control measure implemented in the Training Certification System software is traced from the ISO 14971 hazard through the software requirement to the verification test confirming its effectiveness.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the BloodBank Manager (blood bank inventory system, Class A):

"The BloodBank Manager integration testing approach uses bottom-up integration with stub drivers replaced incrementally as real components become available."

[Assistant]
Verdict: FAIL
Note: Content mandates bottom-up integration testing for Class A. IEC 62304 Class A requires only system-level verification (Clause 5.7). Integration testing (Clause 5.6) is not required for Class A.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the StepTrack (wellness pedometer app, Class A):

"This plan is prepared in compliance with IEC 62311-1 and ISO 13485:2016."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62311-1" which is incorrect. IEC 62311 covers EMF exposure limits, not medical device software. All references must be corrected.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the GlucoTrack CGM (continuous glucose monitor display, Class B):

"All verification for the continuous glucose monitor display follows ISO 13485-1 requirements."

[Assistant]
Verdict: FAIL
Note: The documentation references "ISO 13485-1" which is incorrect. ISO 13485 is a single-part standard. The correct citation is ISO 13485:2016. All references must be corrected.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the PhysioTrack Rehab (rehabilitation tracking system, Class B):

"Compliance with IEC 62304 Clause 4.5 (operational qualification) and Clause 5.10 (deployment validation) is demonstrated."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clauses 4.5 and 5.10, neither of which exists. Clause 4 only has 4.1, 4.2, 4.3. Clause 5 ends at 5.8. All clause references must be corrected.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the ArthroNav (surgical navigation system, Class C):

"Compliance with IEC 62304 Clause 5.5.2.1 (security testing) and Clause 5.0 (performance benchmarking) is demonstrated."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clauses 5.5.2.1 and 5.0, neither of which exists. IEC 62304 has no four-level numbering. Clause 5 starts at 5.1. All clause references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on SOUP identification and management for VitalBoard Patient Summary, a Class A Patient Summary Dashboard. Reference IEC 62304 Clause 8.1.2.
Dashboard displaying patient vital signs history retrieved from the EMR. View-only with no alerting or trend analysis.

[Assistant] Content: SOUP components in the VitalBoard Patient Summary are catalogued per Clause 8.1.2 with title, version, supplier, and license terms. The risk management process evaluates each SOUP item's known anomaly list per Clause 7.1.3 to determine whether any published defect could contribute to a hazardous situation in the Patient Summary Dashboard.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the PacePilot (pacemaker programmer, Class C):

"The PacePilot software development conforms to IEC 62304-2, with risk management per ISO 14971:2019."

[Assistant]
Verdict: FAIL
Note: The documentation references "IEC 62304-2" which is incorrect. IEC 62304 has no Part 2. It is a single-part standard. All references must be corrected.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on scope boundaries of the software system for VitalPulse SpO2 Monitor, a Class B Pulse Oximeter Firmware. Reference IEC 62304 Clauses 5.1.1, 5.1.2.
Bedside pulse oximeter firmware displaying SpO2 and pulse rate with configurable alarm thresholds. Incorrect readings could delay treatment.

[Assistant] Content: The software system boundary for VitalPulse SpO2 Monitor encompasses the Pulse Oximeter Firmware application and its direct interfaces: I2C, UART to display, nurse call relay. Components outside this boundary -- including MAX30102 dual-wavelength PPG hardware, manufacturing test fixtures, and third-party cloud services -- are addressed in the system-level risk analysis but are not governed by this plan.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the ArthroNav (surgical navigation system, Class C):

"REQ-SRS-067: The ArthroNav shall enforce role-based access control with at least two privilege levels (operator and administrator). Acceptance criterion: verify that operator accounts cannot access administrator functions. Priority: Mandatory. Source: Regulatory."

[Assistant]
Verdict: PASS
Note: Content requirement is properly structured with measurable acceptance criteria. Standards references are accurate.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the RetinaScan Pro (diabetic retinopathy screening AI, Class B):

"Testing ensures quality. Testing validates the software. Testing verifies requirements. Testing confirms functionality. Testing demonstrates compliance. Testing is performed for the RetinaScan Pro."

[Assistant]
Verdict: FAIL
Note: The documentation section exhibits repetitive structure. Sentences follow the same structure and convey the same meaning. Each paragraph should cover a distinct aspect with varied structure. Content should be consolidated and each sentence should contribute unique, specific information about the RetinaScan Pro.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on internal SOPs and procedures for DreamLog Sleep Monitor, a Class A Sleep Tracking Display App. Reference IEC 62304 Clause 5.1.2.
Companion app for a wearable sleep tracker. Displays sleep stages, duration, and trends. No alarms, no diagnostic claims.

[Assistant] Content: Work instructions for the DreamLog Sleep Monitor are codified in SOPs maintained within the ISO 13485 quality management system. SOP-010 (development planning), SOP-011 (risk management), SOP-012 (configuration management), and SOP-013 (verification) define step-by-step procedures for each IEC 62304 lifecycle activity applicable to the Sleep Tracking Display App.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a FMEA section on FMEA scope for Class C -- comprehensive analysis for ChemoFlow Infusion Controller, a Class C Chemotherapy Infusion Pump Firmware. Reference IEC 62304 Clause 7.1.1.
Firmware for a chemotherapy infusion pump controlling precise drug delivery rates. Dosing errors could be life-threatening.

[Assistant] Content: The ChemoFlow Infusion Controller FMEA per Clause 7.1.1 provides exhaustive coverage of every software function in the Chemotherapy Infusion Pump Firmware that could contribute to a hazardous situation. Each function is analyzed for failure modes including incorrect output, missing output, untimely output, and unexpected output. Risk priority numbers drive verification and risk control priorities.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the RetinaScan Pro (diabetic retinopathy screening AI, Class B):

"Standards compliance for the RetinaScan Pro diabetic retinopathy screening AI is established through IEC 62304:2006+AMD1:2015 (Clauses 5, 7, 8, 9), ISO 14971:2019 (all clauses), and ISO 13485:2016 (Clause 7.3 design controls). All citations reference the current editions."

[Assistant]
Verdict: PASS
Note: Content uses the correct IEC 62304 citation; correctly references ISO 14971:2019; correctly references ISO 13485:2016. Standards references are accurate.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a THREAT section on threat model data flow decomposition for CogniTest Cognitive Assessment App, a Class B Cognitive Assessment Application. Reference IEC 62304 Clause 5.2.2.
Tablet app administering standardized cognitive screening tests and scoring results. Used by neuropsychologists in clinical settings.

[Assistant] Content: The CogniTest Cognitive Assessment App data flow diagrams for threat analysis map all data movement within and across the Cognitive Assessment Application boundary. Trust boundaries are placed at external interfaces (local database, PDF export), persistent storage, and inter-process communication points.


[System] You are a requirements engineer for IEC 62304 medical device software. Expand requirements into structured fields with specific, measurable descriptions. Priority must be Mandatory, Desirable, or Optional. Acceptance criteria must be testable. Do not fabricate standard references. IEC 62304 is a single-part standard with no sub-parts.

[User]
Expand requirement SRS-PERF-001: "RAM and storage constraints" (Category: performance)
Project: SunGuard UV Index Display | UV Exposure Display Firmware | Class A
Passive display of UV index for personal awareness. Wearable UV index monitor with an OLED display showing current UV exposure level. Informational only, no sunburn prevention claims.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: The SunGuard UV Index Display shall operate within the specified RAM and flash memory budget on the STM32L4 platform, including all runtime allocations.
Rationale: Exceeding memory limits could cause undefined behavior in the UV Exposure Display Firmware, potentially affecting safety.
Priority: Mandatory
Acceptance Criterion: Peak RAM usage during worst-case scenario does not exceed the specified limit, with minimum margin remaining.
Source: System requirement


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on development methodology for Class B for NutriCalc TPN Formulation Tool, a Class B TPN Formulation Calculator. Reference IEC 62304 Clause 5.1.1.
Desktop tool calculating total parenteral nutrition formulations based on patient metabolic needs and lab values.

[Assistant] Content: Development of the NutriCalc TPN Formulation Tool proceeds through a V-model lifecycle where each development phase has a paired verification phase. For Class B, the mandatory verification phases are architecture verification, integration testing, and system testing. Detailed design verification is omitted, as Clause 5.4 activities are not required at this classification level.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a FMEA section on risk control measures and implementation for WaveReview EEG Archive Viewer, a Class A EEG Archive Viewer. Reference IEC 62304 Clauses 7.2.1, 7.2.2.
Desktop application for reviewing archived EEG recordings. Playback and waveform display only, no seizure detection.

[Assistant] Content: Each risk control for the WaveReview EEG Archive Viewer per Clause 7.2.1 specifies the hazard addressed, the control mechanism, and the verification method. Controls implemented in software per Clause 7.2.2 are traced through the requirements-design-test chain to ensure complete implementation and verification in the EEG Archive Viewer.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SDP section on change control process for TriagePro Emergency Scoring App, a Class B Emergency Department Triage SaMD. Reference IEC 62304 Clauses 8.2, 8.2.1.
Standalone tablet app implementing Manchester Triage System scoring. Guides clinicians through triage flowchart and records patient acuity level.

[Assistant] Content: No change to the TriagePro Emergency Scoring App baseline is implemented without an approved change request per Clause 8.2. The approval process evaluates the change's impact on safety, regulatory compliance, and previously verified functionality. Post-implementation verification confirms the change was correctly applied per Clause 8.2.3.


[System] You are an IEC 62304 regulatory documentation expert. Expand requirements with description, rationale, priority, acceptance criterion, and source.

[User]
Expand requirement SRS-DATA-002: "measurement data lifecycle" (Category: data)
Project: BalanceBoard Vestibular Trainer | Balance Training Platform Firmware | Class B
Measuring postural sway and providing visual biofeedback during vestibular rehabilitation. Force plate firmware measuring center-of-pressure excursions during balance exercises. Provides real-time visual biofeedback.

Output fields:
Description: 1-2 specific, measurable sentences
Rationale: 1 sentence explaining why this requirement exists
Priority: "Mandatory" or "Desirable" or "Optional"
Acceptance Criterion: Measurable test criterion
Source: "User need" or "System requirement" or "Risk control" or "Regulatory"

[Assistant]
Description: Data retention in the BalanceBoard Vestibular Trainer shall meet the specified minimum duration, with oldest records overwritten only after the retention period expires.
Rationale: Regulatory compliance requires that measurement records be available for the specified retention period.
Priority: Mandatory
Acceptance Criterion: Retention period validation: records created at time T are still accessible at T + retention period.
Source: Regulatory


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a SDP section on test records and acceptance criteria for Class B for GlucoEdge Continuous Glucose Platform, a Class B Hybrid CGM Edge-Cloud Platform. Reference IEC 62304 Clauses 5.6.7, 5.7.5.
Hybrid system: embedded BLE firmware on a wearable CGM patch streams readings to a phone app, which uploads to cloud for trend analysis and physician dashboard.

[Assistant] Content: Integration test records for the GlucoEdge Continuous Glucose Platform follow Clause 5.6.7, documenting the test cases executed, pass/fail results, anomalies found, and the software configuration tested. System test records follow Clause 5.7.5 with the same rigor. Acceptance requires all integration and system tests to pass, or all failures to be dispositioned with documented rationale.


[System] You are an IEC 62304 regulatory documentation expert. Generate precise, class-appropriate content for medical device software documentation.

[User]
Write a FMEA section on failure mode identification approach for PhysioTrack Rehabilitation Monitor, a Class B Physical Therapy Tracking System. Reference IEC 62304 Clauses 7.1.2, 7.1.3.
Wearable system tracking range-of-motion and exercise repetitions during physical therapy sessions. Generates progress reports for therapists.

[Assistant] Content: Software failure modes in the PhysioTrack Rehabilitation Monitor are identified using a structured approach per Clause 7.1.2: each software item is analyzed for what could go wrong (the failure mode), why it could go wrong (the cause), and what would happen (the effect). SOUP component anomalies per Clause 7.1.3 are included as potential failure causes.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the SleepWell (sleep quality display app, Class A):

"Compliance with IEC 62304 Clause 5.6.8 (data archival) and Clause 5.4.5 (user acceptance testing) is demonstrated."

[Assistant]
Verdict: FAIL
Note: The documentation cites IEC 62304 Clauses 5.6.8 and 5.4.5, neither of which exists. Clause 5.6 has 5.6.1 through 5.6.7 only. Clause 5.4 has 5.4.1 through 5.4.4 only. All clause references must be corrected.


[System] You are a regulatory compliance reviewer for IEC 62304 medical device software documentation. Review sections for completeness, accuracy, and safety-class appropriateness. Check for hallucinated standard references — IEC 62304 is a single-part standard with no sub-parts (no IEC 62304-1, -2, etc.). ISO 14971 is also single-part. Verify all cited clause numbers exist. IEC 62304 has Clauses 4 through 9 only. Output a verdict (PASS or FAIL) and a concise note.

[User]
Review this documentation excerpt for the InfuSafe Controller (insulin infusion pump controller, Class C):

"The lifecycle processes for the InfuSafe Controller comply with ISO 14971:2020."

[Assistant]
Verdict: FAIL
Note: The documentation references "ISO 14971:2020" which is incorrect. No 2020 edition. Current: ISO 14971:2019. All references must be corrected.


[System] You are a regulatory documentation specialist writing IEC 62304:2006+AMD1:2015 compliant medical device software documentation. Generate precise, project-specific content. Use only valid IEC 62304 clause numbers. IEC 62304 is a single-part standard with no sub-parts. Vary your sentence structure and openings. Be specific to the project described — never use generic filler like 'as appropriate' or 'as needed'.

[User]
Write a SRS section on purpose of the SRS document for PulseRing Smart Ring Monitor, a Class B Wearable Smart Ring Firmware + Companion App. Reference IEC 62304 Clause 5.2.1.
Wearable smart ring firmware measuring continuous PPG for heart rate and SpO2 with BLE streaming to companion mobile app for trend display.

[Assistant] Content: This document specifies the software requirements for the PulseRing Smart Ring Monitor Wearable Smart Ring Firmware + Companion App as required by IEC 62304 Clause 5.2.1. It serves as the primary input to design and the primary reference for verification test case derivation. All requirements are verifiable, traceable, and configuration-controlled.


[System] You are an IEC 62304 compliance reviewer. Evaluate the following documentation section and provide a verdict (PASS or FAIL) with a note explaining your assessment.

[User]
Review this documentation excerpt for the LabView Portal (read-only lab results viewer, Class A):

"REQ-SRS-045: The LabView Portal software shall provide a mechanism to export all configuration parameters to a structured file format. The export shall include version metadata. Acceptance criterion: exported file can be parsed and all parameters match the current configuration. Priority: Desirable. Source: User need."

[Assistant]
Verdict: PASS
Note: Content requirement is properly structured with measurable acceptance criteria. Standards references are accurate.