From c4e1b14591bf67526f42d851f6efbcad89da1d67 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 10:49:19 +0000 Subject: [PATCH 1/4] docs(.claude): seed AGENT_LOG with Healthcare namespace bootstrap entry Records D-OGIT-HEALTHCARE-BOOTSTRAP run: 14 TTL files (846 lines) under NTO/Healthcare/{entities,enumerations}/, validation result (rdflib 14/14 ok, 690 triples), out-of-scope deferrals. --- .claude/AGENT_LOG.md | 81 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 .claude/AGENT_LOG.md diff --git a/.claude/AGENT_LOG.md b/.claude/AGENT_LOG.md new file mode 100644 index 0000000000..d0f9ce7301 --- /dev/null +++ b/.claude/AGENT_LOG.md @@ -0,0 +1,81 @@ +# OGIT Agent Log + +Append-only log of agent runs against the OGIT repository. +Newest entries on top. Each entry: D-ids touched, files added, +commit, validation result, outcome. + +--- + +## 2026-05-07 — bootstrap Healthcare namespace + +**D-ids touched**: D-OGIT-HEALTHCARE-BOOTSTRAP (new); blocks +medcare-bridge hydrate (lance-graph/crates/lance-graph-ontology/src/bridges/medcare_bridge.rs:12, +NAMESPACE = "Healthcare"). + +**Files added** (14 TTL, 846 lines, branch claude/create-graph-ontology-crate-gkuJG): + +Entities under NTO/Healthcare/entities/: +- Patient.ttl (166 lines, source praxis_patient) +- Visit.ttl ( 86 lines, source praxis_patient_waitingroom) +- Diagnosis.ttl ( 95 lines, source pf_diagnosis) +- Treatment.ttl ( 57 lines, source pf_therapy) +- Medication.ttl (124 lines, source pat_medication; relates 5 combo_medication_*) +- VitalSign.ttl ( 60 lines, source pf_vital_bloodpressure as base of pf_vital_* family) +- LabValue.ttl ( 62 lines, source pf_laboratory_values; LOINC carried as out-of-namespace ref) + +Enumerations under NTO/Healthcare/enumerations/ (header + class declaration only): +- combo_medication_typ.ttl +- combo_medication_interval.ttl +- combo_medication_dailydose.ttl +- combo_medication_dose_unit.ttl +- combo_medication_stop_reason.ttl +- combo_addtreatment.ttl +- combo_spez.ttl + +**Relations**: +- Visit belongs Patient (pid FK) +- Diagnosis belongs Patient + relates Visit +- Treatment belongs Patient +- Medication belongs Patient + relates 5 combo_medication_* enums +- VitalSign belongs Patient +- LabValue belongs Patient + carries loincRef (out-of-namespace) +- Patient belongs Tenant (global ogit:tenant) + +**Style**: matches NTO/WorkOrder/entities/Position.ttl v4 baseline +(prefix block, rdfs:Class subClassOf ogit:Entity, ogit:scope "NTO", +ogit:parent ogit:Node, mandatory/optional/indexed lists, +ogit:allowed [ ogit:relates / ogit:belongs ], per-property triples +with ogit:type "xsd:..."). Namespace +ogit.Healthcare: . Field +predicates camelCase (firstname, bloodPressureSystolic, etc.). +Provenance on every entity: dcterms:source +"AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:". + +**Validation**: rdflib 7.6.0 turtle-parsed all 14 files cleanly, +14 ok / 0 bad, 690 triples total (Patient 142, Medication 117, +Diagnosis 82, Visit 72, LabValue 52, Treatment 50, VitalSign 47; +each enum 18). The crate-internal hydrate_real_ogit test suite +(/home/user/lance-graph/crates/lance-graph-ontology/tests/hydrate_real_ogit.rs) +runs 3/3 green but currently hardcodes Network + WorkOrder; a +Healthcare-specific hydration test is a follow-on. There is no +hydrate_real_ogit *example*, only a *test* — the path the spec +suggested fails with "no example target named hydrate_real_ogit". + +**Out of scope** (deferred): +- Full SNOMED CT / FMA / RadLex / LOINC ingestion + (lance-graph-rdf-fma-snomed-v1 remit). +- BioPortal namespace stubs under OGIT/NTO/Medical/ + (D-CASCADE-V1-4). +- Remaining ~22 combo_* enum tables (pf_allergy_*, + combo_operation, combo_vaccination, combo_morbidity, ...). +- Healthcare namespace registration in + OntologyRegistry::namespace_id so MedcareBridge::new resolves + the namespace at runtime — that is main-thread / lance-graph + work, not OGIT work. + +**Commit**: 74738b9 feat(ogit): bootstrap Healthcare namespace — +7 clinical entities + 7 enums. Not pushed (per branch policy). + +**Outcome**: Healthcare namespace bootstrap complete. medcare-bridge +hydrate path is unblocked from the OGIT side. Awaiting main-thread +push and downstream registry wiring. From 9d4c99bb49e4f1517b00a4c75319ad936284d0b3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 12:29:34 +0000 Subject: [PATCH 2/4] feat(NTO/Medical): bootstrap 10 BioPortal namespace stubs (D-CASCADE-V1-4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit agent-bioportal-stubs (Wave 2 of 12-agent palantir-cascade push) emitted 10 namespace stub TTL files under NTO/Medical//namespace.ttl. Source: AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05 release manifest. Stubs ONLY — no data load. Full ingestion gated on the lance-graph-rdf-fma-snomed-v1 plan (lance-graph repo); each stub carries ogit:loaderStatus "stub" + ogit:loaderCrate "lance-graph-rdf" pointers. Per-stub shape: a ogit:Namespace + rdfs:label + rdfs:comment + ogit:contextIri (BioPortal canonical form) + ogit:contextId + dcterms:source + dcterms:license + ogit:fileSize + ogit:tripleCount + ogit:loaderCrate + ogit:loaderStatus. ContextId allocations (10..19) align with the lance-graph NamespaceRegistry::seed_defaults() reservation shipped in lance-graph commit 8366e70 (Wave 2 sibling agent-context-id): | Namespace | contextId | source filename | size | est triples | |---|---|---|---|---| | ICD10CM | 10 | ICD10CM.ttl | 51.6 MB | ~1.8M | | RxNorm | 11 | RXNORM.ttl | 218.8 MB | ~9M | | LOINC | 12 | LOINC.ttl | 739.2 MB | ~30M | | FMA | 13 | fma.owl | 266.2 MB | ~1.5M | | RadLex | 14 | RadLex.owl | 64.9 MB | ~600K | | SNOMED | 15 | SCTO.owl | 666 KB (partial) | ~50K | | MONDO | 16 | mondo-simple.owl | 215.5 MB | ~1.2M | | HPO | 17 | hp.obo | 10.7 MB | ~150K | | DRON | 18 | dron.owl | 701.7 MB | ~3M | | CHEBI | 19 | chebi.obo | 259.6 MB | ~1.5M | Directory labels stay human-readable (SNOMED, HPO); contextIri uses BioPortal canonical form (SNOMEDCT, HP). 10 files × 17 LOC = 170 LOC total. Under the 200-LOC envelope. Quality flags for downstream meta-2 validation: - SNOMED: SCTO.owl is 666 KB partial (full SNOMED CT is license-gated; the BioPortal release ships only the upper-level concept fragment). - DRON: derived from RxNorm + FDA per BioPortal metadata. - RadLex: rdfs:comment uses BioPortal's four-facet framing (modalities + anatomy + observations + procedures). Per AdaWorldAPI/lance-graph .claude/plans/lance-graph-ontology-v5.md ratification Q4: this OGIT fork never PRs back to almatoai/OGIT. https://claude.ai/code/session_01WevBiZ3jzVocu8fBpTY8sq --- NTO/Medical/CHEBI/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/DRON/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/FMA/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/HPO/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/ICD10CM/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/LOINC/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/MONDO/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/RadLex/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/RxNorm/namespace.ttl | 17 +++++++++++++++++ NTO/Medical/SNOMED/namespace.ttl | 17 +++++++++++++++++ 10 files changed, 170 insertions(+) create mode 100644 NTO/Medical/CHEBI/namespace.ttl create mode 100644 NTO/Medical/DRON/namespace.ttl create mode 100644 NTO/Medical/FMA/namespace.ttl create mode 100644 NTO/Medical/HPO/namespace.ttl create mode 100644 NTO/Medical/ICD10CM/namespace.ttl create mode 100644 NTO/Medical/LOINC/namespace.ttl create mode 100644 NTO/Medical/MONDO/namespace.ttl create mode 100644 NTO/Medical/RadLex/namespace.ttl create mode 100644 NTO/Medical/RxNorm/namespace.ttl create mode 100644 NTO/Medical/SNOMED/namespace.ttl diff --git a/NTO/Medical/CHEBI/namespace.ttl b/NTO/Medical/CHEBI/namespace.ttl new file mode 100644 index 0000000000..4ed9788862 --- /dev/null +++ b/NTO/Medical/CHEBI/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:CHEBI + a ogit:Namespace ; + rdfs:label "Chemical Entities of Biological Interest" ; + rdfs:comment "Open-license ontology of small molecular entities focused on biologically relevant compounds, classifying chemicals by structure and biological role; maintained by the EBI." ; + ogit:contextIri ; + ogit:contextId 19 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/chebi.obo" ; + dcterms:license "CC-BY-4.0" ; + ogit:fileSize "259.6 MB" ; + ogit:tripleCount "~1.5M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/DRON/namespace.ttl b/NTO/Medical/DRON/namespace.ttl new file mode 100644 index 0000000000..b7e976cd76 --- /dev/null +++ b/NTO/Medical/DRON/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:DRON + a ogit:Namespace ; + rdfs:label "Drug Ontology" ; + rdfs:comment "Comprehensive ontology of drug products, ingredients, and pharmaceutical preparations derived from RxNorm and FDA sources, supporting pharmacovigilance and clinical decision support." ; + ogit:contextIri ; + ogit:contextId 18 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/dron.owl" ; + dcterms:license "CC-BY-3.0" ; + ogit:fileSize "701.7 MB" ; + ogit:tripleCount "~3M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/FMA/namespace.ttl b/NTO/Medical/FMA/namespace.ttl new file mode 100644 index 0000000000..c043b9f24e --- /dev/null +++ b/NTO/Medical/FMA/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:FMA + a ogit:Namespace ; + rdfs:label "Foundational Model of Anatomy" ; + rdfs:comment "Reference ontology of canonical human anatomy covering structural relationships among body parts, organs, tissues, and cells, authored by the University of Washington." ; + ogit:contextIri ; + ogit:contextId 13 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/fma.owl" ; + dcterms:license "CC-BY-3.0" ; + ogit:fileSize "266.2 MB" ; + ogit:tripleCount "~1.5M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/HPO/namespace.ttl b/NTO/Medical/HPO/namespace.ttl new file mode 100644 index 0000000000..349590063d --- /dev/null +++ b/NTO/Medical/HPO/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:HPO + a ogit:Namespace ; + rdfs:label "Human Phenotype Ontology" ; + rdfs:comment "Standardized vocabulary of phenotypic abnormalities encountered in human disease, used for deep phenotyping in rare-disease diagnostics and genomic medicine." ; + ogit:contextIri ; + ogit:contextId 17 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/hp.obo" ; + dcterms:license "HPO-License" ; + ogit:fileSize "10.7 MB" ; + ogit:tripleCount "~150K (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/ICD10CM/namespace.ttl b/NTO/Medical/ICD10CM/namespace.ttl new file mode 100644 index 0000000000..550c2583f9 --- /dev/null +++ b/NTO/Medical/ICD10CM/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:ICD10CM + a ogit:Namespace ; + rdfs:label "ICD-10 Clinical Modification" ; + rdfs:comment "U.S. clinical modification of WHO ICD-10 used for diagnosis coding in healthcare billing, encounters, and population health reporting." ; + ogit:contextIri ; + ogit:contextId 10 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/ICD10CM.ttl" ; + dcterms:license "UMLS-Metathesaurus" ; + ogit:fileSize "51.6 MB" ; + ogit:tripleCount "~1.8M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/LOINC/namespace.ttl b/NTO/Medical/LOINC/namespace.ttl new file mode 100644 index 0000000000..9ebec74f00 --- /dev/null +++ b/NTO/Medical/LOINC/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:LOINC + a ogit:Namespace ; + rdfs:label "Logical Observation Identifiers Names and Codes" ; + rdfs:comment "Universal code system for identifying laboratory and clinical observations such as lab tests, vital signs, and survey instruments, maintained by the Regenstrief Institute." ; + ogit:contextIri ; + ogit:contextId 12 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/LOINC.ttl" ; + dcterms:license "LOINC-License" ; + ogit:fileSize "739.2 MB" ; + ogit:tripleCount "~30M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/MONDO/namespace.ttl b/NTO/Medical/MONDO/namespace.ttl new file mode 100644 index 0000000000..2a5f16050c --- /dev/null +++ b/NTO/Medical/MONDO/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:MONDO + a ogit:Namespace ; + rdfs:label "Mondo Disease Ontology" ; + rdfs:comment "Unified disease ontology that harmonizes terms across DOID, OMIM, Orphanet, ICD, MeSH, and NCIt to provide cross-walked disease concepts for translational research." ; + ogit:contextIri ; + ogit:contextId 16 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/mondo-simple.owl" ; + dcterms:license "CC-BY-4.0" ; + ogit:fileSize "215.5 MB" ; + ogit:tripleCount "~1.2M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/RadLex/namespace.ttl b/NTO/Medical/RadLex/namespace.ttl new file mode 100644 index 0000000000..2b7ad496ad --- /dev/null +++ b/NTO/Medical/RadLex/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:RadLex + a ogit:Namespace ; + rdfs:label "RadLex Radiology Lexicon" ; + rdfs:comment "Controlled terminology for radiology covering imaging modalities, anatomy, observations, and procedures, maintained by the Radiological Society of North America." ; + ogit:contextIri ; + ogit:contextId 14 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/RadLex.owl" ; + dcterms:license "RadLex-Free" ; + ogit:fileSize "64.9 MB" ; + ogit:tripleCount "~600K (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/RxNorm/namespace.ttl b/NTO/Medical/RxNorm/namespace.ttl new file mode 100644 index 0000000000..3b9ca56fe0 --- /dev/null +++ b/NTO/Medical/RxNorm/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:RxNorm + a ogit:Namespace ; + rdfs:label "RxNorm Normalized Drug Names" ; + rdfs:comment "Standardized vocabulary of clinical drugs published by the U.S. National Library of Medicine, mapping ingredients, strengths, dose forms, and brand names to normalized concepts." ; + ogit:contextIri ; + ogit:contextId 11 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/RXNORM.ttl" ; + dcterms:license "UMLS-Metathesaurus" ; + ogit:fileSize "218.8 MB" ; + ogit:tripleCount "~9M (estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . diff --git a/NTO/Medical/SNOMED/namespace.ttl b/NTO/Medical/SNOMED/namespace.ttl new file mode 100644 index 0000000000..2e54c44da7 --- /dev/null +++ b/NTO/Medical/SNOMED/namespace.ttl @@ -0,0 +1,17 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . + +ogit.Medical:SNOMED + a ogit:Namespace ; + rdfs:label "SNOMED CT (partial: SCTO upper-level)" ; + rdfs:comment "Systematized Nomenclature of Medicine Clinical Terms — comprehensive clinical terminology spanning findings, disorders, procedures, and observable entities; this stub references the SCTO upper-level partial pending affiliate-licensed full ingestion." ; + ogit:contextIri ; + ogit:contextId 15 ; + dcterms:source "AdaWorldAPI/MedCare-rs/releases/tag/bioportal-ontologies-2026-05-05/SCTO.owl" ; + dcterms:license "SNOMED-Affiliate" ; + ogit:fileSize "666 KB" ; + ogit:tripleCount "~50K (partial estimate)" ; + ogit:loaderCrate "lance-graph-rdf" ; + ogit:loaderStatus "stub" . From 3baf5b99cec95098c32877b0525837956977b025 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 12:51:51 +0000 Subject: [PATCH 3/4] feat(NTO/Medical/sql_mirror): 25 MySQL->TTL stubs (D-CASCADE-V1-5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wave 3 / agent-mysql-transcode of the 12-agent palantir-cascade push. Mirrors the top 25 tables from MedCare-rs/.MYSQL/Struktur.sql (104 total) as OGIT entity stubs. Stubs only — per-column rdfs:Property declarations deferred to a follow-on Wave-3.5 agent-medical-properties. Top-25 selection (per medcare-bridge projection relevance): praxis_* (10): praxis_addexamination, praxis_addtreatment, praxis_extpraxis, praxis_grund, praxis_lab_template_main, praxis_lab_template_values, praxis_licence, praxis_mitarbeiter, praxis_patient, praxis_waitingroom pat_* (4): pat_addexamination, pat_addtreatment, pat_medication, pat_specialist pf_* core (8): pf_alcohol, pf_allergy, pf_diagnosis, pf_drugs, pf_form_main, pf_inherit_disease, pf_laboratory_main, pf_laboratory_values glob_* (3): glob_mailsmtp, glob_user_right, glob_vital_mod Per-stub shape: a rdfs:Class + rdfs:subClassOf ogit:Entity + rdfs:label + rdfs:comment + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:
" + ogit:scope "NTO" + ogit:parent ogit:Node + ogit:loaderStatus "stub" + ogit:columnCount + ogit:primaryKey "" + ogit:mysqlTable "
". EntityName mapping: PascalCase of table_name preserving prefix grouping. praxis_patient -> PraxisPatient. pf_diagnosis -> PfDiagnosis. pat_medication -> PatMedication. glob_vital_mod -> GlobVitalMod. Spot-check (3 tables) confirms columnCount accuracy: - PraxisPatient: 29 cols (matches programmatic SQL extraction) - PfDiagnosis: 17 cols - GlobVitalMod: 42 cols (1 id + 8 v*_name + 8 v*_unit + 8 v*_mask + 8 v*_active + 4 chklist_* + 1 office_right + 4 header_* = 42) Validation: rdflib parses all 25 cleanly. LOC: 25 files × ~18 lines = 450 total. Above the META-NUDGE-6 tightened envelope of 150 (3.0×) — agent appended a BLOCKER per META-NUDGE-5 discipline. Main-thread arbitration: ACCEPT. Cause is structural (per-file Turtle @prefix blocks cannot be shared across files; the 11-predicate spec floor × 25 files = ~18 lines/file = 450 LOC minimum). Consolidating into fewer files would damage per-table addressability — the whole point of Pillar 3 of the v1 cascade plan. The 150 envelope was a discipline target, not a floor-feasibility target. rdfs:comment quality flags for downstream meta-3 validation: - PfDrugs: interpreted as recreational/illicit-drug snapshot (combo_drugs references suggest substance lookup). Could alternatively be Rx-listing. - PraxisGrund: "Grund" translated as German "base/foundation"; 13 columns (name/address/contact/customer-id) match a base clinic-profile interpretation. - GlobMailsmtp: assumed clinic-wide (not per-tenant) SMTP per glob_ prefix. Per AdaWorldAPI/lance-graph .claude/plans/lance-graph-ontology-v5.md ratification Q4: never PR back to almatoai/OGIT. https://claude.ai/code/session_01WevBiZ3jzVocu8fBpTY8sq --- NTO/Medical/sql_mirror/GlobMailsmtp.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/GlobUserRight.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/GlobVitalMod.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PatAddexamination.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PatAddtreatment.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PatMedication.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PatSpecialist.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfAlcohol.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfAllergy.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfDiagnosis.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfDrugs.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfFormMain.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfInheritDisease.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfLaboratoryMain.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PfLaboratoryValues.ttl | 18 ++++++++++++++++++ .../sql_mirror/PraxisAddexamination.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisAddtreatment.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisExtpraxis.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisGrund.ttl | 18 ++++++++++++++++++ .../sql_mirror/PraxisLabTemplateMain.ttl | 18 ++++++++++++++++++ .../sql_mirror/PraxisLabTemplateValues.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisLicence.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisMitarbeiter.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisPatient.ttl | 18 ++++++++++++++++++ NTO/Medical/sql_mirror/PraxisWaitingroom.ttl | 18 ++++++++++++++++++ 25 files changed, 450 insertions(+) create mode 100644 NTO/Medical/sql_mirror/GlobMailsmtp.ttl create mode 100644 NTO/Medical/sql_mirror/GlobUserRight.ttl create mode 100644 NTO/Medical/sql_mirror/GlobVitalMod.ttl create mode 100644 NTO/Medical/sql_mirror/PatAddexamination.ttl create mode 100644 NTO/Medical/sql_mirror/PatAddtreatment.ttl create mode 100644 NTO/Medical/sql_mirror/PatMedication.ttl create mode 100644 NTO/Medical/sql_mirror/PatSpecialist.ttl create mode 100644 NTO/Medical/sql_mirror/PfAlcohol.ttl create mode 100644 NTO/Medical/sql_mirror/PfAllergy.ttl create mode 100644 NTO/Medical/sql_mirror/PfDiagnosis.ttl create mode 100644 NTO/Medical/sql_mirror/PfDrugs.ttl create mode 100644 NTO/Medical/sql_mirror/PfFormMain.ttl create mode 100644 NTO/Medical/sql_mirror/PfInheritDisease.ttl create mode 100644 NTO/Medical/sql_mirror/PfLaboratoryMain.ttl create mode 100644 NTO/Medical/sql_mirror/PfLaboratoryValues.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisAddexamination.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisAddtreatment.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisExtpraxis.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisGrund.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisLabTemplateMain.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisLabTemplateValues.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisLicence.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisMitarbeiter.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisPatient.ttl create mode 100644 NTO/Medical/sql_mirror/PraxisWaitingroom.ttl diff --git a/NTO/Medical/sql_mirror/GlobMailsmtp.ttl b/NTO/Medical/sql_mirror/GlobMailsmtp.ttl new file mode 100644 index 0000000000..13568968a9 --- /dev/null +++ b/NTO/Medical/sql_mirror/GlobMailsmtp.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:GlobMailsmtp + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "GlobMailsmtp" ; + rdfs:comment "Global SMTP configuration: outbound mail-server credentials (name, mail, login, password, port, ssl, host) used by the clinic for patient and referral correspondence." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:glob_mailsmtp" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 8 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "glob_mailsmtp" . diff --git a/NTO/Medical/sql_mirror/GlobUserRight.ttl b/NTO/Medical/sql_mirror/GlobUserRight.ttl new file mode 100644 index 0000000000..ebadb7ae97 --- /dev/null +++ b/NTO/Medical/sql_mirror/GlobUserRight.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:GlobUserRight + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "GlobUserRight" ; + rdfs:comment "Global permission catalog: a single named right (bereich) with multilingual labels (de/en/fr/sp) and a visible-right text used to bind RBAC permissions to staff." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:glob_user_right" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 7 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "glob_user_right" . diff --git a/NTO/Medical/sql_mirror/GlobVitalMod.ttl b/NTO/Medical/sql_mirror/GlobVitalMod.ttl new file mode 100644 index 0000000000..d42d436dec --- /dev/null +++ b/NTO/Medical/sql_mirror/GlobVitalMod.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:GlobVitalMod + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "GlobVitalMod" ; + rdfs:comment "Global vital-sign module configuration: defines up to 8 dynamic vital channels (name, unit, mask, active flag), multilingual checklists, owning office right, and multilingual headers for custom vital-capture forms." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:glob_vital_mod" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 42 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "glob_vital_mod" . diff --git a/NTO/Medical/sql_mirror/PatAddexamination.ttl b/NTO/Medical/sql_mirror/PatAddexamination.ttl new file mode 100644 index 0000000000..a5004dece7 --- /dev/null +++ b/NTO/Medical/sql_mirror/PatAddexamination.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PatAddexamination + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PatAddexamination" ; + rdfs:comment "Per-patient additional-examination order: links a patient to a combo_addexamination type with file-counter progress, in-house flag, start date, and free-text notice." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pat_addexamination" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 16 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pat_addexamination" . diff --git a/NTO/Medical/sql_mirror/PatAddtreatment.ttl b/NTO/Medical/sql_mirror/PatAddtreatment.ttl new file mode 100644 index 0000000000..57651c9cc0 --- /dev/null +++ b/NTO/Medical/sql_mirror/PatAddtreatment.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PatAddtreatment + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PatAddtreatment" ; + rdfs:comment "Per-patient additional-treatment order: links a patient to a combo_addtreatment type with file-counter progress, in-house flag, start date, and free-text notice." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pat_addtreatment" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 16 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pat_addtreatment" . diff --git a/NTO/Medical/sql_mirror/PatMedication.ttl b/NTO/Medical/sql_mirror/PatMedication.ttl new file mode 100644 index 0000000000..eaac87e94d --- /dev/null +++ b/NTO/Medical/sql_mirror/PatMedication.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PatMedication + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PatMedication" ; + rdfs:comment "Per-patient prescription record: drug identity (praepid + name), dose and unit, type, start/stop dates, interval, daily dose, and stop-reason for medication-list reconciliation." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pat_medication" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 24 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pat_medication" . diff --git a/NTO/Medical/sql_mirror/PatSpecialist.ttl b/NTO/Medical/sql_mirror/PatSpecialist.ttl new file mode 100644 index 0000000000..35573c9cfb --- /dev/null +++ b/NTO/Medical/sql_mirror/PatSpecialist.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PatSpecialist + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PatSpecialist" ; + rdfs:comment "Per-patient specialist referral: target specialty, doctor-letter requirement, sms/mail notification flags and audit, free-text notice, completion flag, and result-DB linkage." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pat_specialist" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 21 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pat_specialist" . diff --git a/NTO/Medical/sql_mirror/PfAlcohol.ttl b/NTO/Medical/sql_mirror/PfAlcohol.ttl new file mode 100644 index 0000000000..0ff1406bd2 --- /dev/null +++ b/NTO/Medical/sql_mirror/PfAlcohol.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfAlcohol + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfAlcohol" ; + rdfs:comment "Patient-form alcohol-consumption snapshot recording daily intake of beer, sparkling wine, wine, liqueur, whiskey, and a daily total for substance-use anamnesis." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_alcohol" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 11 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_alcohol" . diff --git a/NTO/Medical/sql_mirror/PfAllergy.ttl b/NTO/Medical/sql_mirror/PfAllergy.ttl new file mode 100644 index 0000000000..2a78bad221 --- /dev/null +++ b/NTO/Medical/sql_mirror/PfAllergy.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfAllergy + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfAllergy" ; + rdfs:comment "Patient-form allergy entry: substance code (stoffcode), severity, and reaction lookups capturing a documented hypersensitivity for safety alerts." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_allergy" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 8 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_allergy" . diff --git a/NTO/Medical/sql_mirror/PfDiagnosis.ttl b/NTO/Medical/sql_mirror/PfDiagnosis.ttl new file mode 100644 index 0000000000..aa8e785e8c --- /dev/null +++ b/NTO/Medical/sql_mirror/PfDiagnosis.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfDiagnosis + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfDiagnosis" ; + rdfs:comment "Patient-form diagnosis row binding an ICD code, label, free text, and lead/chronic-diagnosis flags (ld/kd) to the patient timeline." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_diagnosis" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 17 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_diagnosis" . diff --git a/NTO/Medical/sql_mirror/PfDrugs.ttl b/NTO/Medical/sql_mirror/PfDrugs.ttl new file mode 100644 index 0000000000..f42c4c56be --- /dev/null +++ b/NTO/Medical/sql_mirror/PfDrugs.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfDrugs + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfDrugs" ; + rdfs:comment "Patient-form recreational/illicit-drug usage snapshot: substance from combo_drugs with unit and daily intake for substance-use anamnesis." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_drugs" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 8 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_drugs" . diff --git a/NTO/Medical/sql_mirror/PfFormMain.ttl b/NTO/Medical/sql_mirror/PfFormMain.ttl new file mode 100644 index 0000000000..58f35a00c6 --- /dev/null +++ b/NTO/Medical/sql_mirror/PfFormMain.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfFormMain + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfFormMain" ; + rdfs:comment "Generic patient-form free-form note bound to a glob_formular template id with file_Text body, used for arbitrary clinic-defined documentation." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_form_main" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 11 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_form_main" . diff --git a/NTO/Medical/sql_mirror/PfInheritDisease.ttl b/NTO/Medical/sql_mirror/PfInheritDisease.ttl new file mode 100644 index 0000000000..a070d74173 --- /dev/null +++ b/NTO/Medical/sql_mirror/PfInheritDisease.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfInheritDisease + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfInheritDisease" ; + rdfs:comment "Patient-form hereditary-disease entry naming a disease (combo_inherit_disease) attributed to a relation source for family-history risk assessment." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_inherit_disease" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 8 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_inherit_disease" . diff --git a/NTO/Medical/sql_mirror/PfLaboratoryMain.ttl b/NTO/Medical/sql_mirror/PfLaboratoryMain.ttl new file mode 100644 index 0000000000..9d054e7822 --- /dev/null +++ b/NTO/Medical/sql_mirror/PfLaboratoryMain.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfLaboratoryMain + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfLaboratoryMain" ; + rdfs:comment "Patient-form laboratory-order header: per-patient lab request with date, status, type, and notice that owns a set of pf_laboratory_values rows." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_laboratory_main" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 14 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_laboratory_main" . diff --git a/NTO/Medical/sql_mirror/PfLaboratoryValues.ttl b/NTO/Medical/sql_mirror/PfLaboratoryValues.ttl new file mode 100644 index 0000000000..b3bbbff94b --- /dev/null +++ b/NTO/Medical/sql_mirror/PfLaboratoryValues.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PfLaboratoryValues + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PfLaboratoryValues" ; + rdfs:comment "Patient-form laboratory-result row: a single LOINC-coded analyte numeric value (werte) attached to a parent pf_laboratory_main order for a patient at a point in time." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:pf_laboratory_values" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 9 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "pf_laboratory_values" . diff --git a/NTO/Medical/sql_mirror/PraxisAddexamination.ttl b/NTO/Medical/sql_mirror/PraxisAddexamination.ttl new file mode 100644 index 0000000000..b6b306ddd6 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisAddexamination.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisAddexamination + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisAddexamination" ; + rdfs:comment "Per-clinic catalog row enabling a specific additional examination type from the global combo_addexamination list." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_addexamination" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 3 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_addexamination" . diff --git a/NTO/Medical/sql_mirror/PraxisAddtreatment.ttl b/NTO/Medical/sql_mirror/PraxisAddtreatment.ttl new file mode 100644 index 0000000000..e786ae5cbd --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisAddtreatment.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisAddtreatment + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisAddtreatment" ; + rdfs:comment "Per-clinic catalog row enabling a specific additional treatment type from the global combo_addtreatment list." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_addtreatment" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 3 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_addtreatment" . diff --git a/NTO/Medical/sql_mirror/PraxisExtpraxis.ttl b/NTO/Medical/sql_mirror/PraxisExtpraxis.ttl new file mode 100644 index 0000000000..6062d4f5e5 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisExtpraxis.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisExtpraxis + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisExtpraxis" ; + rdfs:comment "External practice / referral-partner clinic record holding name, postal address, and contact channel for inter-clinic correspondence." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_extpraxis" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 9 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_extpraxis" . diff --git a/NTO/Medical/sql_mirror/PraxisGrund.ttl b/NTO/Medical/sql_mirror/PraxisGrund.ttl new file mode 100644 index 0000000000..5b2ba7c8a1 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisGrund.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisGrund + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisGrund" ; + rdfs:comment "Foundational clinic profile (Grund = base): identity, postal address, contact channels, default language, and customer-billing identifier for the tenant." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_grund" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 13 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_grund" . diff --git a/NTO/Medical/sql_mirror/PraxisLabTemplateMain.ttl b/NTO/Medical/sql_mirror/PraxisLabTemplateMain.ttl new file mode 100644 index 0000000000..7079a8591b --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisLabTemplateMain.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisLabTemplateMain + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisLabTemplateMain" ; + rdfs:comment "Header row defining a per-clinic laboratory order template (multilingual labels, sample type, owning office) which groups a curated bundle of LOINC analytes." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_lab_template_main" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 7 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_lab_template_main" . diff --git a/NTO/Medical/sql_mirror/PraxisLabTemplateValues.ttl b/NTO/Medical/sql_mirror/PraxisLabTemplateValues.ttl new file mode 100644 index 0000000000..8bfa3bce92 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisLabTemplateValues.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisLabTemplateValues + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisLabTemplateValues" ; + rdfs:comment "Child row of a clinic's lab-order template binding a single LOINC analyte to the parent praxis_lab_template_main bundle." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_lab_template_values" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 3 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_lab_template_values" . diff --git a/NTO/Medical/sql_mirror/PraxisLicence.ttl b/NTO/Medical/sql_mirror/PraxisLicence.ttl new file mode 100644 index 0000000000..497d87b5b5 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisLicence.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisLicence + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisLicence" ; + rdfs:comment "Software-licence record for a clinic install: licence type, key, hardware fingerprints, expiry, autologin, and last-use audit fields." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_licence" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 14 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_licence" . diff --git a/NTO/Medical/sql_mirror/PraxisMitarbeiter.ttl b/NTO/Medical/sql_mirror/PraxisMitarbeiter.ttl new file mode 100644 index 0000000000..351a78b6b7 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisMitarbeiter.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisMitarbeiter + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisMitarbeiter" ; + rdfs:comment "Staff (Mitarbeiter) record for a clinic: login credentials, contact info, specialty, language, active flag, last-login audit, and per-user permission blob." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_mitarbeiter" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 13 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_mitarbeiter" . diff --git a/NTO/Medical/sql_mirror/PraxisPatient.ttl b/NTO/Medical/sql_mirror/PraxisPatient.ttl new file mode 100644 index 0000000000..36d51a1e17 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisPatient.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisPatient + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisPatient" ; + rdfs:comment "Master patient demographic record per clinic tenant: identity, sex flags, ethnicity, address, contact, specialty grouping, anonymisation flag, and mobile-device pairing fields." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_patient" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 29 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_patient" . diff --git a/NTO/Medical/sql_mirror/PraxisWaitingroom.ttl b/NTO/Medical/sql_mirror/PraxisWaitingroom.ttl new file mode 100644 index 0000000000..d5ebba79a8 --- /dev/null +++ b/NTO/Medical/sql_mirror/PraxisWaitingroom.ttl @@ -0,0 +1,18 @@ +@prefix ogit: . +@prefix ogit.Medical: . +@prefix rdfs: . +@prefix dcterms: . +@prefix xsd: . + +ogit.Medical:PraxisWaitingroom + a rdfs:Class ; + rdfs:subClassOf ogit:Entity ; + rdfs:label "PraxisWaitingroom" ; + rdfs:comment "Logical waiting-room queue defined by a clinic: name, capacity, owning doctor, active flags, and notice for triage staff." ; + dcterms:source "AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:praxis_waitingroom" ; + ogit:scope "NTO" ; + ogit:parent ogit:Node ; + ogit:loaderStatus "stub" ; + ogit:columnCount 8 ; + ogit:primaryKey "id" ; + ogit:mysqlTable "praxis_waitingroom" . From 13a8d3fb242f46e664b4da449bd3ab8514486f40 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 13:11:49 +0000 Subject: [PATCH 4/4] fix(NTO/Medical): flatten BioPortal namespace stubs (codex P1 path layout) OGIT validator rejects namespace.ttl files in subdirectories: the file basename must match the subject IRI local name. Subject ogit.Medical:HPO requires file at NTO/Medical/HPO.ttl, not NTO/Medical/HPO/namespace.ttl. Renamed 10 BioPortal namespace stubs (git mv preserves history): NTO/Medical/ICD10CM/namespace.ttl -> NTO/Medical/ICD10CM.ttl NTO/Medical/RxNorm/namespace.ttl -> NTO/Medical/RxNorm.ttl NTO/Medical/LOINC/namespace.ttl -> NTO/Medical/LOINC.ttl NTO/Medical/FMA/namespace.ttl -> NTO/Medical/FMA.ttl NTO/Medical/RadLex/namespace.ttl -> NTO/Medical/RadLex.ttl NTO/Medical/SNOMED/namespace.ttl -> NTO/Medical/SNOMED.ttl NTO/Medical/MONDO/namespace.ttl -> NTO/Medical/MONDO.ttl NTO/Medical/HPO/namespace.ttl -> NTO/Medical/HPO.ttl NTO/Medical/DRON/namespace.ttl -> NTO/Medical/DRON.ttl NTO/Medical/CHEBI/namespace.ttl -> NTO/Medical/CHEBI.ttl TTL content unchanged: the subject IRI ogit.Medical: was already correct; only the file location moves. The 10 now-empty parent directories will be cleaned up alongside the SQL-stub metadata fix in the follow-up commit. Sibling codex P1 (SQL stubs missing dcterms:description etc.) is in flight via agent-ogit-validator-fix and will land separately. Per AdaWorldAPI/lance-graph .claude/plans/lance-graph-ontology-v5.md ratification Q4: never PR back to almatoai/OGIT. https://claude.ai/code/session_01WevBiZ3jzVocu8fBpTY8sq --- NTO/Medical/{CHEBI/namespace.ttl => CHEBI.ttl} | 0 NTO/Medical/{DRON/namespace.ttl => DRON.ttl} | 0 NTO/Medical/{FMA/namespace.ttl => FMA.ttl} | 0 NTO/Medical/{HPO/namespace.ttl => HPO.ttl} | 0 NTO/Medical/{ICD10CM/namespace.ttl => ICD10CM.ttl} | 0 NTO/Medical/{LOINC/namespace.ttl => LOINC.ttl} | 0 NTO/Medical/{MONDO/namespace.ttl => MONDO.ttl} | 0 NTO/Medical/{RadLex/namespace.ttl => RadLex.ttl} | 0 NTO/Medical/{RxNorm/namespace.ttl => RxNorm.ttl} | 0 NTO/Medical/{SNOMED/namespace.ttl => SNOMED.ttl} | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename NTO/Medical/{CHEBI/namespace.ttl => CHEBI.ttl} (100%) rename NTO/Medical/{DRON/namespace.ttl => DRON.ttl} (100%) rename NTO/Medical/{FMA/namespace.ttl => FMA.ttl} (100%) rename NTO/Medical/{HPO/namespace.ttl => HPO.ttl} (100%) rename NTO/Medical/{ICD10CM/namespace.ttl => ICD10CM.ttl} (100%) rename NTO/Medical/{LOINC/namespace.ttl => LOINC.ttl} (100%) rename NTO/Medical/{MONDO/namespace.ttl => MONDO.ttl} (100%) rename NTO/Medical/{RadLex/namespace.ttl => RadLex.ttl} (100%) rename NTO/Medical/{RxNorm/namespace.ttl => RxNorm.ttl} (100%) rename NTO/Medical/{SNOMED/namespace.ttl => SNOMED.ttl} (100%) diff --git a/NTO/Medical/CHEBI/namespace.ttl b/NTO/Medical/CHEBI.ttl similarity index 100% rename from NTO/Medical/CHEBI/namespace.ttl rename to NTO/Medical/CHEBI.ttl diff --git a/NTO/Medical/DRON/namespace.ttl b/NTO/Medical/DRON.ttl similarity index 100% rename from NTO/Medical/DRON/namespace.ttl rename to NTO/Medical/DRON.ttl diff --git a/NTO/Medical/FMA/namespace.ttl b/NTO/Medical/FMA.ttl similarity index 100% rename from NTO/Medical/FMA/namespace.ttl rename to NTO/Medical/FMA.ttl diff --git a/NTO/Medical/HPO/namespace.ttl b/NTO/Medical/HPO.ttl similarity index 100% rename from NTO/Medical/HPO/namespace.ttl rename to NTO/Medical/HPO.ttl diff --git a/NTO/Medical/ICD10CM/namespace.ttl b/NTO/Medical/ICD10CM.ttl similarity index 100% rename from NTO/Medical/ICD10CM/namespace.ttl rename to NTO/Medical/ICD10CM.ttl diff --git a/NTO/Medical/LOINC/namespace.ttl b/NTO/Medical/LOINC.ttl similarity index 100% rename from NTO/Medical/LOINC/namespace.ttl rename to NTO/Medical/LOINC.ttl diff --git a/NTO/Medical/MONDO/namespace.ttl b/NTO/Medical/MONDO.ttl similarity index 100% rename from NTO/Medical/MONDO/namespace.ttl rename to NTO/Medical/MONDO.ttl diff --git a/NTO/Medical/RadLex/namespace.ttl b/NTO/Medical/RadLex.ttl similarity index 100% rename from NTO/Medical/RadLex/namespace.ttl rename to NTO/Medical/RadLex.ttl diff --git a/NTO/Medical/RxNorm/namespace.ttl b/NTO/Medical/RxNorm.ttl similarity index 100% rename from NTO/Medical/RxNorm/namespace.ttl rename to NTO/Medical/RxNorm.ttl diff --git a/NTO/Medical/SNOMED/namespace.ttl b/NTO/Medical/SNOMED.ttl similarity index 100% rename from NTO/Medical/SNOMED/namespace.ttl rename to NTO/Medical/SNOMED.ttl