5 Commits

Author SHA1 Message Date
f57a616979 updated structure, new highlighting and slicing changes, 2025-04-14 07:28:51 +10:00
afafcd0a22 Added Fhir Sample validation (alpha) 2025-04-13 00:29:52 +10:00
9b7b8344de Imposes/Complies
Changes Made:

Added configuration options

VALIDATE_IMPOSED_PROFILES and DISPLAY_PROFILE_RELATIONSHIPS.

Updated /api/import-ig to include complies_with_profiles and imposed_profiles in the response.

Updated /api/push-ig to validate resources against imposed profiles using services.validate_resource_against_profile.

Updated /view-ig/<int:processed_ig_id> to load and pass profile relationships to the template.

Passed config to templates to allow conditional rendering based on DISPLAY_PROFILE_RELATIONSHIPS.

Added complies_with_profiles and imposed_profiles to the results dictionary in process_package_file.

Updated save_package_metadata to accept and store complies_with_profiles and imposed_profiles.

Added validate_resource_against_profile and parse_canonical_url functions to handle validation against imposed profiles.
2025-04-11 13:47:09 +10:00
86fa94538a Added Future proofing:
https://hl7.org/fhir/extensions/StructureDefinition-structuredefinition-compliesWithProfile.html

added logic to deal with Imposes and complies with
2025-04-11 13:36:22 +10:00
d7835c7dc7 Updated - Dependency Modes 2025-04-11 13:17:09 +10:00