About this guide
Who made it, how AI was used, and how the code has been tested
The guide is a shared effort. People bring the questions, the register knowledge and the judgement of what is right. An AI assistant does much of the drafting and checking.
People
Each name links to that person’s contributions on GitHub.
- Sara Schwartz, Steno Diabetes Center Aarhus and Department of Clinical Medicine, Aarhus University. Started the guide in spring 2026, writes and maintains it, and decides what goes in.
- Tobias Kragholm, PhD student at Mary Elizabeth’s Hospital, Rigshospitalet, Copenhagen University Hospital, University of Copenhagen. Writes mainly on pregnancy and birth, family and migration, hospital medication and healthcare costs, and corrects text and code across the guide.
- Luke W. Johnston. Helped set up the website with, among other things, the Seedcase template’s build workflow, licence, contributing guide and code of conduct. He helped style the site, and added the edit, source and issue links. He is a co-author of fastreg, which the guide uses to read registers, and works to spread the use of Parquet for register data.
Thanks also to everyone who has sent corrections, pointers and code by email or through the feedback box.
AI assistance
Much of the text, the code examples and the variable descriptions were drafted in collaboration with Claude Code, an AI coding assistant from Anthropic, using the Claude models available during 2026. Claude also does much of the checking: comparing variable descriptions with DST’s documentation, running code examples on synthetic data and reviewing contributions before they were merged. Claude never has access to real register data.
Sara decides what goes in and is responsible for the content.
How the code has been tested
- Many but not all of the coding examples have been run on DST. We are working on marking this on the examples.
- All relevant code examples have been run, page by page and top to bottom, on synthetic data from the
fiktivepackage (withtools/run-on-fiktive.Rin the repository). Synthetic data shows that the code runs, not that it gives the right answer on real registers. Not run: pseudocode, single lines shown out of a pipeline, and code that needs files only DST has. The code on Analysing costs has run on fiktive’s DRG prices; its method was also tested on data simulated in R with a known excess cost. One example on Packages,heaven::medicinMacro(), failed in our test even on heaven’s own example data. - Neither guarantees that the code works on your delivery. Column names, formats and years differ between projects, so check the code against your own data.
Found a mistake?
Both humans and AI make confident mistakes. Use the feedback box at the bottom of the page, or open an issue on GitHub. If you want to add something yourself, see Want to help?.