Terminology sources¶
dicom4ortho uses official FHIR terminology at maintenance time and a
committed generated module at runtime. The generated
dicom4ortho/_generated_codes.py module is the terminology lock for a
release. It records the source versions and contains the resolved DICOM codes,
all 73 ADA image types, and the complete view definitions.
Normal package builds, tests, and application use read this committed lock. They do not download terminology or require network access.
Updating the lock¶
To fetch the official FHIR resources and regenerate the lock, run this from the source repository:
make update_resources
This command rewrites dicom4ortho/_generated_codes.py. It does not commit
the result. Review the generated diff and run the tests before committing it.
Updating views.csv is a separate, explicit operation:
make fetch_resources
make update_resources
This separation prevents normal package builds from changing source files or depending on upstream services.