Oh look. I added a sqlite database. And proper type enforcement. And encounter type setting. *mic drop*