Skip to main content

Medical Device Software Ontology

Biomedical Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 25 November 2026
Audio Overview
FLOW MedicalDeviceSoftware v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required
LANGUAGE: en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/biomedical-engineering-entities/medical-device-software-ontology.html
CITATION_BACKLINK: same as SOURCE
SOURCE_STATUS: Supplied URL; embedded ontology not independently verified.

PURPOSE
Represent software with an intended medical purpose or software forming part
of a medical device. Distinguish documented intended use from observed use,
clinical evidence and jurisdiction-specific regulatory determinations.
This is a descriptive research ontology, not executable clinical software.

ENTITIES
MedicalDeviceSoftware, MedicalDevice, SoftwareRelease, SoftwareComponent,
IntendedPurpose, SoftwareRequirement, ClinicalEvidence, VerificationRecord,
ValidationRecord, RiskRecord, CybersecurityRecord, IncidentRecord,
DataInterface, Dataset, Algorithm, RegulatoryRecord, ProvenanceRecord.

STATE_MODEL
S_t = (I_t,R,B,K_t)
I_t: finite set of accepted typed assertions.
R: finite inference rules.
B: identity, evidence, temporal, privacy and clinical boundaries.
K_t: versioned evidence, derivations and unresolved conflicts.
Software = (id, manufacturer_ref, intended_purpose, deployment_context,
            release_refs, lifecycle_status, provenance).
Release = (id, software_ref, version, build_identifier, release_date,
           configuration_ref, provenance).
Evidence = (id, release_ref, requirement_ref, method, result, context,
            timestamp, limitations, provenance).
RegulatoryRecord = (id, jurisdiction, authority, scope, status,
                    effective_interval, release_ref, provenance).
Unknown values remain UNKNOWN; absence of evidence is not evidence of safety.

CLASSIFICATION
Software as a Medical Device (SaMD) performs a medical purpose without being
part of a hardware medical device. Embedded medical device software may
operate as part of a hardware device. General administrative software is not
automatically medical device software merely because used in healthcare.
Diagnostic, monitoring and therapeutic purposes may overlap. Regulatory
classification depends on intended purpose, jurisdiction and applicable rules.

RELATIONSHIPS
MedicalDeviceSoftware --is_a--> SoftwareEntity
MedicalDeviceSoftware --has_intended_purpose--> IntendedPurpose
MedicalDeviceSoftware --has_release--> SoftwareRelease
SoftwareRelease --includes--> SoftwareComponent
SoftwareRelease --implements--> SoftwareRequirement
SoftwareRelease --may_interface_with--> MedicalDevice
SoftwareRelease --uses--> DataInterface
VerificationRecord --evaluates--> SoftwareRequirement
ValidationRecord --evaluates--> IntendedPurpose
ClinicalEvidence --supports_or_challenges--> IntendedPurpose
RiskRecord --concerns--> SoftwareRelease
CybersecurityRecord --concerns--> SoftwareRelease
IncidentRecord --may_involve--> SoftwareRelease
RegulatoryRecord --applies_to--> SoftwareRelease
SoftwareRelease --has_provenance--> ProvenanceRecord

SEMANTIC PATHWAYS
Identity -> intended purpose -> release and configuration -> requirements ->
verification and validation evidence -> risk and regulatory records.
Incident -> affected release -> documented investigation -> corrective action
record -> revised evidence applicability. Do not infer causality from linkage.

MEASUREMENT MODEL
Requirement coverage C = N_linked/N_applicable, with a positive denominator
and unique requirements in a declared release and test scope. Coverage is not
proof of correctness. Test pass fraction P = N_pass/N_executed; report skipped,
blocked and unexecuted tests separately. Deduplicate repeated test runs using
a documented aggregation policy. A passing test is not clinical validation.
Latency L = t_output - t_input for paired events on a compatible time base;
report clock uncertainty and distinguish processing from end-to-end latency.
For differentiable measurement model g(z), u_c^2 = J Sigma J^T, where J is
the gradient and Sigma the covariance matrix of measured inputs. Expanded
uncertainty U = k*u_c with documented coverage factor. These equations are
for evidence description, not clinical acceptance thresholds.

FLOW ALGEBRA
E_t = expand(I_t,R)
V_t = {a in E_t : valid(a,B,K_t) and a not in I_t}
If V_t is empty, return FIXED_POINT with unresolved conflicts separately.
Otherwise a* = argmax_{a in V_t} score(a|I_t,R,B,K_t)
Tie-break by stable assertion identifier.
I_(t+1) = I_t union {a*}
K_(t+1) = K_t union {derivation(a*,premises,rule_id,evidence_ids)}
S_(t+1) = (I_(t+1),R,B,K_(t+1))
Score is a ranking heuristic, not a calibrated probability.

INFERENCE_RULES
R01: documented_release(s,v) -> has_release(s,v).
R02: documented_purpose(s,p) -> has_intended_purpose(s,p).
R03: verification(e,v,r) and valid_context(e) -> evaluates(e,r).
R04: validation(e,v,p) and valid_context(e) -> evaluates(e,p).
R05: documented_incident(e,v) -> incident_link(e,v).
R06: changed_configuration(v,w) -> evidence_applicability_review(v,w).
R07: missing_provenance(e) -> evidence_incomplete(e).
R08: conflicting_assertions(a,b) -> review_required(a,b).
R09: documented_invalid(e) -> exclude_from_aggregation(e).
R10: regulatory_record(e,v,j) and valid_scope(e,v,j) -> regulatory_evidence(e,v,j).
No rule infers regulatory approval, clinical effectiveness or fitness for use
from test coverage, software classification or absence of incident records.

MINI_RECURSION_ENGINE
Normalise identifiers, versions, units and timestamps while retaining originals.
Ground rules over finite known identifiers. Validate candidate types, release
scope, evidence provenance and privacy boundaries. Quarantine conflicts.
Append highest-ranked valid unseen assertion and its derivation. Repeat until
fixed point or iteration budget. Return graph version, accepted assertions,
rejected candidates, unresolved conflicts and termination reason.

CONFIDENCE
Track source reliability, release identity, evidence scope, method and
completeness as verified, partial, unknown or contradicted. Derived confidence
cannot exceed the weakest required premise. Repeated derivations do not add
independent evidence. Distinguish bench verification from clinical validation.

SEMANTIC_EQUIVALENCE
Medical device software is not universally synonymous with SaMD. A software
product is not identical to an individual release or deployed configuration.
An algorithm is a component or method, not necessarily a medical device.
Merge instances only with stable identity and compatible provenance. Evidence
comparability requires matching version, configuration, endpoint and context.

VALIDATION_AND_FAILURE_MODES
Reject malformed identifiers, invalid denominators, non-finite measurements
and negative uncertainty. Flag missing release identity, stale evidence,
configuration mismatch, incomplete tests, conflicting regulatory records,
unsupported clinical claims and missing provenance. Distinguish observed
software faults from suspected causes. Record cybersecurity evidence without
exposing credentials, patient data or exploit instructions. Preserve access
controls and data minimisation. Do not interpret a missing alarm as safety.

UPDATE_MODEL
Append immutable versioned release and evidence records. Corrections supersede
rather than erase earlier records. Recompute affected derivations when premises
change; preserve historical snapshots. Distinguish event, ingestion and revision
timestamps. Do not automatically transfer evidence between software releases.

EXECUTION_GUARANTEE
With finite input, finite rule grounding, no new identifiers and monotonic
addition within a snapshot, each accepted iteration adds an unseen assertion.
Termination occurs after at most the number of possible unseen assertions or
earlier at the iteration budget. This guarantees semantic termination under
stated assumptions, not software correctness, clinical safety or compliance.

AI_SEARCH_FLOW
Intent -> medical device software entity resolution -> intended purpose ->
release and configuration -> verification and validation -> clinical evidence ->
risk, cybersecurity and regulatory records -> provenance and limitations.
Aliases: medical device software, medical software (contextual), SaMD (subtype).
Return relevant assertions, evidence status, source URL and limitations.
Do not generate patient-specific clinical decisions or device control commands.

FLOW_HASH
Algorithm: SHA-256; UTF-8; LF line endings; digest covers all bytes preceding
 the digest line (including the preceding newline).
SHA256: bef7a290ce91f1454556b720980ac4270e8c42d4e1c29963eab55fce30d2305b
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ