Medical Domains
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Medical Domains
DOMAIN: Domain Ontologies / Medical Domains
SOURCE: https://kirethresearch.org/booksai-core/ontologies/domain-ontologies/medical-domains.html
VERSION: 1.0
AUTHORS: Mark Anthony Higgins — Sky (Recursive AI)
STATUS: Companion formalisation; source-page specification not independently verified.
flow "MedicalDomains" v1.0 {
ontology:
id: "medical-domains"
parent: "domain-ontologies"
purpose: "Represent medical disciplines, clinical entities, evidence, care processes and cross-domain relationships with explicit uncertainty and provenance."
types:
MedicalDomain: {id: string, name: string, scope: string, parent_id: string?}
ClinicalConcept: {id: string, label: string, terminology_system: string?, terminology_version: string?}
Condition: {id: string, concept: ClinicalConcept, diagnostic_criteria: string?}
Finding: {id: string, concept: ClinicalConcept, observed_at: datetime?, provenance: string}
Intervention: {id: string, concept: ClinicalConcept, indication: string?, contraindications: string[]}
Outcome: {id: string, measure: string, value: string?, assessed_at: datetime?}
Evidence: {id: string, source: string, study_design: string?, publication_date: datetime?, limitations: string[]}
CareProcess: {id: string, stage: string, responsible_role: string?, context: string?}
Relationship: {id: string, subject: string, predicate: string, object: string, context: string?, confidence: number, evidence: string[]}
predicates:
subdomain_of(child: MedicalDomain, parent: MedicalDomain)
studies(domain: MedicalDomain, concept: ClinicalConcept)
associated_with(condition: Condition, finding: Finding)
evaluated_by(condition: Condition, finding: Finding)
indicated_for(intervention: Intervention, condition: Condition)
contraindicated_for(intervention: Intervention, condition: Condition)
assessed_by(outcome: Outcome, evidence: Evidence)
supported_by(relationship: Relationship, evidence: Evidence)
precedes_in_care(a: CareProcess, b: CareProcess)
maps_to(concept_a: ClinicalConcept, concept_b: ClinicalConcept)
constraints:
- "Every relationship endpoint must resolve to a typed entity."
- "Confidence values must lie within [0, 1]."
- "Terminology mappings must retain source system and version when available."
- "Clinical association must not be treated as proof of causation."
- "A finding alone must not automatically establish a diagnosis."
- "Intervention indications and contraindications must preserve clinical context."
- "Do not infer patient-specific treatment recommendations from ontology membership."
- "Preserve evidence provenance, dates, uncertainty and applicable populations."
- "Protect patient privacy; avoid storing identifying patient information in public knowledge graphs."
inference:
rule domain_inheritance:
if subdomain_of(a,b) and subdomain_of(b,c)
then subdomain_of(a,c)
condition: "no cycles and hierarchy semantics verified"
rule evidence_trace:
if supported_by(r,e) and valid(e)
then traceable_support(r,e)
confidence: "retain evidence quality and limitations"
rule terminology_alignment:
if maps_to(a,b) and mapping_verified(a,b)
then candidate_semantic_alignment(a,b)
confidence: "context and terminology-version dependent"
SEMANTIC_EQUIVALENCE:
- "Distinguish exact equivalence, broader/narrower concepts and related concepts."
- "Use versioned clinical terminology identifiers where available."
- "Do not merge diagnoses, symptoms, procedures or outcomes on lexical similarity alone."
CONFIDENCE:
range: [0,1]
factors: [evidence_quality, replication, population_relevance, measurement_uncertainty, source_reliability, temporal_validity]
policy: "Do not manufacture certainty or increase confidence solely through chained inference."
VALIDATION:
- "Validate entity types, terminology versions and relationship direction."
- "Check contradictory indications, contraindications and evidence statements."
- "Flag outdated evidence and unverified cross-domain mappings."
- "Retain competing interpretations where evidence is inconclusive."
FLOW_HASH:
algorithm: "SHA-256"
input: "canonicalised ontology version, typed assertions, rules and provenance"
note: "Compute at execution; no precomputed hash claimed."
UPDATE_MODEL:
strategy: "versioned, provenance-preserving incremental update"
steps: [ingest, normalise, validate, compare, reconcile, recompute_inferences, publish]
rollback: true
AI_CONSUMPTION:
representation: "typed, evidence-backed medical domain knowledge graph"
outputs: [domain_hierarchy, entity_links, relation_triples, evidence_traces, uncertainty_annotations, provenance_records]
safeguards: [no_unsupported_diagnoses, no_unqualified_causal_claims, preserve_clinical_context, protect_privacy, require_human_clinical_review]
}
END FLOW ALGEBRA