Skip to content

Fix Episodes anchor case in OncologyWG links - #810

Open
asharaali wants to merge 1 commit into
OHDSI:mainfrom
asharaali:fix-802-episode-anchor
Open

Fix Episodes anchor case in OncologyWG links#810
asharaali wants to merge 1 commit into
OHDSI:mainfrom
asharaali:fix-802-episode-anchor

Conversation

@asharaali

Copy link
Copy Markdown

The EPISODE documentation links point at model.html#Episodes, but the OncologyWG page renders that section as id="episodes". The fragment doesn't resolve, so the link lands the reader at the top of the page rather than the Episodes section.

The page has id="episode", id="episode_event" and id="episodes" — no capitalised variant.

Changed the fragment to #episodes in:

  • inst/csv/OMOP_CDMv5.4_Table_Level.csv (episode, ETL conventions)
  • inst/csv/OMOP_CDMv5.5_Table_Level.csv (same row, carried into 5.5)
  • inst/csv/OMOP_CDMv5.5_Field_Level.csv (episode.episode_concept_id)
  • docs/cdm54.html, docs/cdm55.html — the corresponding rendered pages

Six characters, all E to e.

Verified the CSVs still parse to the same shape after the edit — same row count, same field count per row, and a single differing cell in each file. The DDL tests read the schema columns rather than the prose ones, so this doesn't touch them; I didn't run them locally as test-executeDdl.R wants a database.

Refs #802. Not a full fix for that issue — it covers only the one link that had a real target and the wrong case. The four bare [article] placeholders in OMOP_CDMv5.4_Field_Level.csv are a separate problem: three of them have no page to point at yet (the OncologyWG Episodes section is still marked "Under Construction"), and choosing targets for them is an ETL-conventions decision rather than a typo. Leaving #802 open for that reason.

The EPISODE documentation links point at model.html#Episodes, but the
OncologyWG page renders that section as id="episodes". The fragment does
not resolve, so the reader lands at the top of the page instead of the
Episodes section.

Lowercases the fragment in the 5.4 and 5.5 specification CSVs and in the
rendered pages.

Signed-off-by: Ashar Ali <aaa467@njit.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant