mirror of
https://github.com/Sudo-JHare/FHIRFLARE-IG-Toolkit.git
synced 2025-06-15 21:29:59 +00:00
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.
176 KiB
176 KiB