Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .claude/AGENT_LOG.md
Original file line number Diff line number Diff line change
@@ -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: <http://www.purl.org/ogit/Healthcare/>. Field
predicates camelCase (firstname, bloodPressureSystolic, etc.).
Provenance on every entity: dcterms:source
"AdaWorldAPI/MedCare-rs/.MYSQL/Struktur.sql:<TABLE>".

**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.
17 changes: 17 additions & 0 deletions NTO/Medical/CHEBI.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/CHEBI/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/DRON.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/DRON/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/FMA.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/FMA/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/HPO.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

ogit.Medical:HPO
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep namespace stubs in validator-compatible paths

The pull_request validation workflow runs ./validate.sh; with these new namespace stubs it exits before parsing the rest because the validator derives the resource name from this subject and rejects NTO/Medical/HPO/namespace.ttl as File Name mismatch: namespace.ttl does not match with name: HPO and Directory mismatch ... should be under directory Medical. The same namespace.ttl layout is used for all 10 BioPortal stubs, so any PR including them will fail CI unless the files/IRIs are arranged the way the OGIT validator expects.

Useful? React with 👍 / 👎.

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 <http://purl.bioontology.org/ontology/HP/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/ICD10CM.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/ICD10CM/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/LOINC.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/LOINC/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/MONDO.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/MONDO/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/RadLex.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/RADLEX/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/RxNorm.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/RXNORM/> ;
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" .
17 changes: 17 additions & 0 deletions NTO/Medical/SNOMED.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

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 <http://purl.bioontology.org/ontology/SNOMEDCT/> ;
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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/GlobMailsmtp.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/GlobUserRight.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/GlobVitalMod.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/PatAddexamination.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/PatAddtreatment.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/PatMedication.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
18 changes: 18 additions & 0 deletions NTO/Medical/sql_mirror/PatSpecialist.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Medical: <http://www.purl.org/ogit/Medical/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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" .
Loading