Project Hospital

Project Hospital

Oncology Department
Sleepy068  [developer] 5 Jan, 2022 @ 1:16am
3
Bedside Examinations & Oncology Workaround
Hey Guys,

This is a walk-through so you can enable Oncology to still be able to order Biopsy exams if you are using the mod 'Bedside Examinations'. Bedside Examinations makes the game a lot more realistic and easier to play and was made by a doctor! In doing so however, it locks modded departments out of some exams (just how the code works unfortunately, nothing can be done from Bedsides end).

I cannot change Oncology to do this for you, the changes are made from Bedside Examinations and this mod cannot change that mod, this is just how the game's code is structured unfortunately.

1. You only now need this workaround if you are using the No-DLC Version of Bedside Examinations. So you no longer need to check what version you are using.

2. Go to your steam workshop folder, it will change depending on the drive you installed steam to but by default it is here:
C:\Program Files (x86)\Steam\steamapps\workshop\content

IMG: https://i.imgur.com/DhFpAJ7.png

3. Go to Project Hospitals Workshop file, it is always this folder 868360
C:\Program Files (x86)\Steam\steamapps\workshop\content\868360

IMG: https://i.imgur.com/LMlFX8M.png

4. Go to Bedside Examinations Mod, their folder numbers are as follows depending which you are subscribed to:
Bedside Examinations Non-DLC: 1870852870
E:\SteamLibrary\steamapps\workshop\content\868360\1870852870

IMG: https://i.imgur.com/KrM3nqk.png

The instructions are more or less the same regardless of the version you have, that's just so you find the right folder.

5. Go into 'Database' and Open the Exam XML document, it is called this:
You can Open it in notepad and I will design this document as if you will but it is visually easier using a program like Notepad++, most if not all Project Hospital modders use this for makings mods.
ModExaminationsBE for Non-DLC

IMG: https://i.imgur.com/J5LP18t.png

6. Find this exam (We are actioning the workaround here)
<GameDBExamination ID="EXM_BIOPSY_SAMPLING">

IMG: https://i.imgur.com/MTugQZa.png

7. Inbetween <RequiredDoctorQualificationList>, selecting the very end of the >, hit enter and add this line (Copy paste).
<SkillRef>SKILL_DOC_SPEC_ONCO</SkillRef>

Be very careful not to replace any existing code and do not destroy the < or > brackets as they are important. <RequiredDoctorQualificationList> should now look somewhat like this (the code can look messy, but as long as the structure remains, it will work).
Non-DLC Version:
<RequiredDoctorQualificationList>
<SkillRef>SKILL_DOC_SPEC_ONCO</SkillRef>
<SkillRef>SKILL_DOC_SPEC_GENERAL_SURGERY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_INTERNAL_MEDICINE</SkillRef>
<SkillRef>SKILL_DOC_SPEC_CARDIOLOGY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_NEUROLOGY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_CRITICAL_CARE</SkillRef>
</RequiredDoctorQualificationList>

DLC-Version:
<RequiredDoctorQualificationList>
<SkillRef>SKILL_DOC_SPEC_ONCO</SkillRef>
<SkillRef>SKILL_DOC_SPEC_GENERAL_SURGERY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_INTERNAL_MEDICINE</SkillRef>
<SkillRef>SKILL_DOC_SPEC_CARDIOLOGY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_NEUROLOGY</SkillRef>
<SkillRef>SKILL_DOC_SPEC_CRITICAL_CARE</SkillRef>
<SkillRef>SKILL_DOC_SPEC_EPIDEMIOLOGY</SkillRef>
</RequiredDoctorQualificationList>

IMG: https://i.imgur.com/eL24gXL.png

8. Done, save the file and the workaround is complete. You should now be able to use Bedside Examinations and all its intended changes but be able to order biopsy exams from Oncology.

An important note, these changes will be removed if Bedside Examinations posts any updates, this means if that mod updates, you will need to do this workaround again.
You can use this same method to add additional modded departments, like ENT or Gynecology by using their mods skills instead (or in additional).

ENT Doctor Skill:
<SkillRef>SKILL_DOC_SPEC_OTORHINOLARYNGOLOGY</SkillRef>

Gynecology Doctor Skill:
<SkillRef>SKILL_DOC_SPEC_GENERAL_GYNECOLOGUE</SkillRef>

Let me know if you have any issues.
Last edited by Sleepy068; 22 Feb, 2022 @ 7:04pm