mirror of
https://github.com/Sudo-JHare/FHIRFLARE-IG-Toolkit.git
synced 2025-06-15 00:40:00 +00:00
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.
This commit is contained in:
parent
86fa94538a
commit
9b7b8344de
Binary file not shown.
@ -27,5 +27,7 @@
|
||||
"name": "hl7.fhir.uv.ipa",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
]
|
||||
],
|
||||
"complies_with_profiles": [],
|
||||
"imposed_profiles": []
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"package_name": "hl7.fhir.r4.core",
|
||||
"version": "4.0.1",
|
||||
"dependency_mode": "recursive",
|
||||
"imported_dependencies": [],
|
||||
"complies_with_profiles": [],
|
||||
"imposed_profiles": []
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user