FHIRFLARE-IG-Toolkit/instance/fhirflare_debug.log
Sudo-JHare 8e7a272ee7 2 pass validation
PH - enhancements - feedback from PH project and JG
2025-08-01 11:00:48 +10:00

741 lines
94 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2025-08-01 00:44:39,706 - __main__ - INFO - --- File logging initialized to /app/instance/fhirflare_debug.log (Level: DEBUG) ---
2025-08-01 00:44:39,707 - __main__ - INFO - Application running in mode: standalone
2025-08-01 00:44:39,708 - __main__ - DEBUG - Instance path configuration: /app/instance
2025-08-01 00:44:39,709 - __main__ - DEBUG - Database URI: sqlite:////app/instance/fhir_ig.db
2025-08-01 00:44:39,710 - __main__ - DEBUG - Packages path: /app/instance/fhir_packages
2025-08-01 00:44:39,724 - __main__ - DEBUG - Flask instance folder path: /app/instance
2025-08-01 00:44:39,731 - __main__ - DEBUG - Directories created/verified: Instance: /app/instance, Packages: /app/instance/fhir_packages
2025-08-01 00:44:39,759 - __main__ - DEBUG - Attempting to create database tables for URI: sqlite:////app/instance/fhir_ig.db
2025-08-01 00:44:39,797 - __main__ - INFO - Database tables created/verified successfully.
2025-08-01 00:44:39,804 - __main__ - DEBUG - Instance path configuration: /app/instance
2025-08-01 00:44:39,806 - __main__ - DEBUG - Database URI: sqlite:////app/instance/fhir_ig.db
2025-08-01 00:44:39,807 - __main__ - DEBUG - Packages path: /app/instance/fhir_packages
2025-08-01 00:44:39,808 - __main__ - DEBUG - Flask instance folder path: /app/instance
2025-08-01 00:44:39,811 - __main__ - DEBUG - Directories created/verified: Instance: /app/instance, Packages: /app/instance/fhir_packages
2025-08-01 00:44:39,812 - __main__ - DEBUG - Attempting to create database tables for URI: sqlite:////app/instance/fhir_ig.db
2025-08-01 00:44:39,822 - __main__ - INFO - Database tables created successfully (if they didn't exist).
2025-08-01 00:44:39,825 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.18.0.2:5000
2025-08-01 00:44:39,826 - werkzeug - INFO - Press CTRL+C to quit
2025-08-01 00:45:00,413 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:00] "GET / HTTP/1.1" 200 -
2025-08-01 00:45:00,466 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:00] "GET /static/FHIRFLARE.png HTTP/1.1" 200 -
2025-08-01 00:45:00,481 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:00] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:45:00,493 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:00] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:45:00,539 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:00] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:45:01,469 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:01] "GET /static/favicon.ico HTTP/1.1" 200 -
2025-08-01 00:45:06,325 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:06] "GET /manual-import-ig HTTP/1.1" 200 -
2025-08-01 00:45:06,344 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:06] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:45:06,348 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:06] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:45:06,349 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:45:06] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:47:18,005 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:18] "GET /validate-sample HTTP/1.1" 200 -
2025-08-01 00:47:18,023 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:18] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:47:18,026 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:18] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:47:18,030 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:18] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:47:18,034 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:18] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:47:27,948 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:27] "GET /manual-import-ig HTTP/1.1" 200 -
2025-08-01 00:47:27,969 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:27] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:47:27,970 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:27] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:47:27,972 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:27] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:47:43,826 - services - INFO - Starting manual import for /tmp/tmpo2f3s9g5/example.fhir.ph.core.r4-0.1.0.tgz (mode=recursive, resolve_deps=True)
2025-08-01 00:47:43,827 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:43,831 - services - DEBUG - Parsed 'example.fhir.ph.core.r4-0.1.0.tgz' -> name='example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:47:43,841 - services - DEBUG - Parsed '/tmp/tmpo2f3s9g5/example.fhir.ph.core.r4-0.1.0.tgz' -> name='/tmp/tmpo2f3s9g5/example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:47:43,842 - services - INFO - Manually processing package: example.fhir.ph.core.r4-0.1.0.tgz (/tmp/tmpo2f3s9g5/example.fhir.ph.core.r4#0.1.0)
2025-08-01 00:47:43,843 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:43,844 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:43,845 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:43,848 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:43,850 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:43,852 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:43,853 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:44,379 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:44,388 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:44,389 - services - INFO - Processing dependency hl7.terminology.r4#6.4.0
2025-08-01 00:47:44,390 - services - INFO - Starting manual import for hl7.terminology.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:47:44,391 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:44,393 - services - INFO - Attempting manual download of hl7.terminology.r4#6.4.0
2025-08-01 00:47:44,398 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): packages.fhir.org:443
2025-08-01 00:47:46,170 - urllib3.connectionpool - DEBUG - https://packages.fhir.org:443 "GET /hl7.terminology.r4/6.4.0 HTTP/1.1" 200 5053901
2025-08-01 00:47:49,116 - services - INFO - Manually downloaded hl7.terminology.r4#6.4.0 to /app/instance/fhir_packages/hl7.terminology.r4-6.4.0.tgz
2025-08-01 00:47:49,118 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.terminology.r4-6.4.0.tgz' -> name='/app/instance/fhir.packages/hl7.terminology.r4', version='6.4.0'
2025-08-01 00:47:49,119 - services - INFO - Manually processing package: hl7.terminology.r4-6.4.0.tgz (/app/instance/fhir.packages/hl7.terminology.r4#6.4.0)
2025-08-01 00:47:49,132 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,133 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:49,133 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,135 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,136 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:49,138 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:49,138 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:49,396 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,401 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:49,401 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:49,402 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:47:49,402 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,403 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:49,404 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:47:49,406 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:47:49,406 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:47:49,461 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,462 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:49,462 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,464 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,465 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:49,466 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:49,466 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:49,731 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,735 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:49,736 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,740 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:47:49,740 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,741 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:49,741 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:49,743 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:49,745 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:49,746 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:49,747 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:50,011 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,014 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:50,015 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,018 - services - INFO - Saved metadata for hl7.terminology.r4#6.4.0 at /app/instance/fhir_packages/hl7.terminology.r4-6.4.0.metadata.json
2025-08-01 00:47:50,019 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:50,019 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,019 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,020 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:50,021 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:47:50,022 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:47:50,023 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:47:50,079 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,080 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,081 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,082 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,083 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:50,083 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:50,084 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:50,353 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,357 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:50,358 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,364 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:47:50,364 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,365 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,365 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,366 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,367 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:50,368 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:50,369 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:50,631 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,634 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:50,634 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:50,635 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,636 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,637 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:47:50,638 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:47:50,639 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:47:50,639 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:47:50,694 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,695 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,695 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,697 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,697 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:50,698 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:50,699 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:50,986 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,989 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:50,990 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,993 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:47:50,994 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,994 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:50,995 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:50,997 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:50,998 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:50,999 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:51,000 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:51,247 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,250 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:51,251 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:51,252 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:51,252 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,253 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:51,254 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:51,255 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:51,255 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:51,509 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,512 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:51,513 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:51,513 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:47:51,514 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,515 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:47:51,516 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:47:51,518 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:51,518 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:47:51,779 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,782 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:47:51,783 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:47:51,790 - services - INFO - Saved metadata for example.fhir.ph.core.r4#0.1.0 at /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.metadata.json
2025-08-01 00:47:51,792 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:51] "POST /manual-import-ig HTTP/1.1" 302 -
2025-08-01 00:47:51,808 - __main__ - DEBUG - Scanning packages directory: /app/instance/fhir_packages
2025-08-01 00:47:51,811 - services - DEBUG - Parsed 'example.fhir.ph.core.r4-0.1.0.tgz' -> name='example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:47:51,819 - services - DEBUG - Parsed 'hl7.fhir.au.base-5.1.0-preview.tgz' -> name='hl7.fhir.au.base', version='5.1.0-preview'
2025-08-01 00:47:51,846 - services - DEBUG - Parsed 'hl7.fhir.au.core-1.1.0-preview.tgz' -> name='hl7.fhir.au.core', version='1.1.0-preview'
2025-08-01 00:47:51,863 - services - DEBUG - Parsed 'hl7.fhir.r4.core-4.0.1.tgz' -> name='hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:47:52,313 - services - DEBUG - Parsed 'hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:47:52,375 - services - DEBUG - Parsed 'hl7.fhir.uv.ipa-1.0.0.tgz' -> name='hl7.fhir.uv.ipa', version='1.0.0'
2025-08-01 00:47:52,384 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.0.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.0.0'
2025-08-01 00:47:52,387 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.1.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.1.0'
2025-08-01 00:47:52,391 - services - DEBUG - Parsed 'hl7.terminology.r4-5.0.0.tgz' -> name='hl7.terminology.r4', version='5.0.0'
2025-08-01 00:47:52,627 - services - DEBUG - Parsed 'hl7.terminology.r4-6.2.0.tgz' -> name='hl7.terminology.r4', version='6.2.0'
2025-08-01 00:47:52,920 - services - DEBUG - Parsed 'hl7.terminology.r4-6.4.0.tgz' -> name='hl7.terminology.r4', version='6.4.0'
2025-08-01 00:47:53,250 - __main__ - DEBUG - Found packages: 11
2025-08-01 00:47:53,250 - __main__ - DEBUG - Errors during package listing: []
2025-08-01 00:47:53,251 - __main__ - DEBUG - Duplicate groups: {'hl7.fhir.uv.smart-app-launch': ['2.0.0', '2.1.0'], 'hl7.terminology.r4': ['5.0.0', '6.2.0', '6.4.0']}
2025-08-01 00:47:53,269 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:53] "GET /view-igs HTTP/1.1" 200 -
2025-08-01 00:47:53,299 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:53] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:47:53,301 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:53] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:47:53,304 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:53] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:47:53,307 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:53] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:47:55,256 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:55] "GET /manual-import-ig HTTP/1.1" 200 -
2025-08-01 00:47:55,270 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:55] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:47:55,272 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:55] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:47:55,275 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:47:55] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:48:09,986 - services - INFO - Starting manual import for /tmp/tmpa5kg6gav/example.fhir.ph.core.r4-0.1.0.tgz (mode=recursive, resolve_deps=True)
2025-08-01 00:48:09,987 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:09,989 - services - DEBUG - Parsed 'example.fhir.ph.core.r4-0.1.0.tgz' -> name='example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:48:09,995 - services - DEBUG - Parsed '/tmp/tmpa5kg6gav/example.fhir.ph.core.r4-0.1.0.tgz' -> name='/tmp/tmpa5kg6gav/example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:48:09,996 - services - INFO - Manually processing package: example.fhir.ph.core.r4-0.1.0.tgz (/tmp/tmpa5kg6gav/example.fhir.ph.core.r4#0.1.0)
2025-08-01 00:48:09,997 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:09,997 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:09,997 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:09,998 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:10,000 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:10,002 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:10,003 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:10,319 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,323 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:10,324 - services - INFO - Processing dependency hl7.terminology.r4#6.4.0
2025-08-01 00:48:10,324 - services - INFO - Starting manual import for hl7.terminology.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:48:10,324 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,325 - services - INFO - Attempting manual download of hl7.terminology.r4#6.4.0
2025-08-01 00:48:10,326 - services - INFO - Manual package hl7.terminology.r4#6.4.0 already exists at /app/instance/fhir_packages/hl7.terminology.r4-6.4.0.tgz
2025-08-01 00:48:10,327 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.terminology.r4-6.4.0.tgz' -> name='/app/instance/fhir.packages/hl7.terminology.r4', version='6.4.0'
2025-08-01 00:48:10,328 - services - INFO - Manually processing package: hl7.terminology.r4-6.4.0.tgz (/app/instance/fhir.packages/hl7.terminology.r4#6.4.0)
2025-08-01 00:48:10,330 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:10,330 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:10,331 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,332 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:10,334 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:10,336 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:10,336 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:10,586 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,590 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:10,590 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:10,591 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:48:10,591 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,593 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:10,594 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:48:10,595 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:48:10,596 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:48:10,655 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:10,655 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:10,656 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:10,657 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:10,659 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:10,660 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:10,661 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:10,997 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,004 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:11,005 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,008 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:48:11,009 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,010 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,011 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,012 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,014 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:11,016 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:11,016 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:11,275 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,279 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:11,280 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,283 - services - INFO - Saved metadata for hl7.terminology.r4#6.4.0 at /app/instance/fhir_packages/hl7.terminology.r4-6.4.0.metadata.json
2025-08-01 00:48:11,284 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:11,285 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,285 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,287 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:11,288 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:48:11,289 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:48:11,289 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:48:11,344 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,345 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,345 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,346 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,347 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:11,348 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:11,349 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:11,601 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,605 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:11,605 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,609 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:48:11,610 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,610 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,611 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,613 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,614 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:11,615 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:11,616 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:11,867 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,871 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:11,871 - services - INFO - Processing dependency hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:11,872 - services - INFO - Starting manual import for hl7.fhir.uv.extensions.r4 (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,872 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,874 - services - INFO - Attempting manual download of hl7.fhir.uv.extensions.r4#5.2.0
2025-08-01 00:48:11,875 - services - INFO - Manual package hl7.fhir.uv.extensions.r4#5.2.0 already exists at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz
2025-08-01 00:48:11,876 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:48:11,877 - services - INFO - Manually processing package: hl7.fhir.uv.extensions.r4-5.2.0.tgz (/app/instance/fhir.packages/hl7.fhir.uv.extensions.r4#5.2.0)
2025-08-01 00:48:11,932 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,932 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:11,933 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:11,935 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:11,936 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:11,937 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:11,937 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:12,191 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,194 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:12,194 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,198 - services - INFO - Saved metadata for hl7.fhir.uv.extensions.r4#5.2.0 at /app/instance/fhir_packages/hl7.fhir.uv.extensions.r4-5.2.0.metadata.json
2025-08-01 00:48:12,199 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,200 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:12,201 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,202 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,203 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:12,205 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:12,205 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:12,451 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,456 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:12,456 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,457 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:12,457 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,458 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,459 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:12,460 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:12,461 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:12,720 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,723 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:12,724 - services - INFO - Processing dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,724 - services - INFO - Starting manual import for hl7.fhir.r4.core (mode=recursive, resolve_deps=True)
2025-08-01 00:48:12,725 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,726 - services - INFO - Attempting manual download of hl7.fhir.r4.core#4.0.1
2025-08-01 00:48:12,727 - services - INFO - Manual package hl7.fhir.r4.core#4.0.1 already exists at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:48:12,728 - services - DEBUG - Parsed '/app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.tgz' -> name='/app/instance/fhir.packages/hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:12,728 - services - INFO - Manually processing package: hl7.fhir.r4.core-4.0.1.tgz (/app/instance/fhir.packages/hl7.fhir.r4.core#4.0.1)
2025-08-01 00:48:12,994 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:12,997 - services - INFO - Saved metadata for hl7.fhir.r4.core#4.0.1 at /app/instance/fhir_packages/hl7.fhir.r4.core-4.0.1.metadata.json
2025-08-01 00:48:12,998 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:48:13,003 - services - INFO - Saved metadata for example.fhir.ph.core.r4#0.1.0 at /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.metadata.json
2025-08-01 00:48:13,004 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:13] "POST /manual-import-ig HTTP/1.1" 302 -
2025-08-01 00:48:13,014 - __main__ - DEBUG - Scanning packages directory: /app/instance/fhir_packages
2025-08-01 00:48:13,016 - services - DEBUG - Parsed 'example.fhir.ph.core.r4-0.1.0.tgz' -> name='example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:48:13,023 - services - DEBUG - Parsed 'hl7.fhir.au.base-5.1.0-preview.tgz' -> name='hl7.fhir.au.base', version='5.1.0-preview'
2025-08-01 00:48:13,047 - services - DEBUG - Parsed 'hl7.fhir.au.core-1.1.0-preview.tgz' -> name='hl7.fhir.au.core', version='1.1.0-preview'
2025-08-01 00:48:13,064 - services - DEBUG - Parsed 'hl7.fhir.r4.core-4.0.1.tgz' -> name='hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:48:13,486 - services - DEBUG - Parsed 'hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:48:13,543 - services - DEBUG - Parsed 'hl7.fhir.uv.ipa-1.0.0.tgz' -> name='hl7.fhir.uv.ipa', version='1.0.0'
2025-08-01 00:48:13,551 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.0.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.0.0'
2025-08-01 00:48:13,554 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.1.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.1.0'
2025-08-01 00:48:13,558 - services - DEBUG - Parsed 'hl7.terminology.r4-5.0.0.tgz' -> name='hl7.terminology.r4', version='5.0.0'
2025-08-01 00:48:13,743 - services - DEBUG - Parsed 'hl7.terminology.r4-6.2.0.tgz' -> name='hl7.terminology.r4', version='6.2.0'
2025-08-01 00:48:13,974 - services - DEBUG - Parsed 'hl7.terminology.r4-6.4.0.tgz' -> name='hl7.terminology.r4', version='6.4.0'
2025-08-01 00:48:14,164 - __main__ - DEBUG - Found packages: 11
2025-08-01 00:48:14,165 - __main__ - DEBUG - Errors during package listing: []
2025-08-01 00:48:14,166 - __main__ - DEBUG - Duplicate groups: {'hl7.fhir.uv.smart-app-launch': ['2.0.0', '2.1.0'], 'hl7.terminology.r4': ['5.0.0', '6.2.0', '6.4.0']}
2025-08-01 00:48:14,169 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:14] "GET /view-igs HTTP/1.1" 200 -
2025-08-01 00:48:14,185 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:14] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:48:14,187 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:14] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:48:14,188 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:14] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:48:14,189 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:14] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:48:19,052 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:19] "GET /validate-sample HTTP/1.1" 200 -
2025-08-01 00:48:19,067 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:19] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:48:19,068 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:19] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:48:19,069 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:19] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:48:19,071 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:48:19] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:50:33,336 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:50:33,337 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:50:33,337 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:50:33,339 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:50:34,754 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:50:34,995 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:50:34,997 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:50:34] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:50:35,010 - services - DEBUG - Received validate-sample request
2025-08-01 00:50:35,011 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=13970
2025-08-01 00:50:35,012 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,014 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,017 - services - DEBUG - Validating Bundle against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:50:35,017 - services - DEBUG - Validating bundle against example.fhir.ph.core.r4#0.1.0, include_dependencies=True
2025-08-01 00:50:35,018 - services - DEBUG - Found 14 local references in the bundle.
2025-08-01 00:50:35,019 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,021 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient
2025-08-01 00:50:35,022 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,027 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,028 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient'
2025-08-01 00:50:35,039 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:50:35,040 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' at path: package/StructureDefinition-ph-core-patient.json
2025-08-01 00:50:35,042 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-patient.json
2025-08-01 00:50:35,043 - services - DEBUG - Navigating FHIR path: Patient, extension_url=None
2025-08-01 00:50:35,046 - services - DEBUG - Navigating FHIR path: Patient, extension_url=None
2025-08-01 00:50:35,048 - services - DEBUG - Navigating FHIR path: Patient.extension, extension_url=None
2025-08-01 00:50:35,050 - services - DEBUG - Navigating FHIR path: Patient.extension, extension_url=None
2025-08-01 00:50:35,052 - services - DEBUG - Navigating FHIR path: Patient.identifier, extension_url=None
2025-08-01 00:50:35,054 - services - DEBUG - Navigating FHIR path: Patient.identifier, extension_url=None
2025-08-01 00:50:35,055 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,057 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,059 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter
2025-08-01 00:50:35,060 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,065 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,066 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter'
2025-08-01 00:50:35,071 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:50:35,073 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' at path: package/StructureDefinition-ph-core-encounter.json
2025-08-01 00:50:35,074 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-encounter.json
2025-08-01 00:50:35,075 - services - DEBUG - Navigating FHIR path: Encounter, extension_url=None
2025-08-01 00:50:35,077 - services - DEBUG - Navigating FHIR path: Encounter, extension_url=None
2025-08-01 00:50:35,078 - services - DEBUG - Navigating FHIR path: Encounter.status, extension_url=None
2025-08-01 00:50:35,079 - services - DEBUG - Navigating FHIR path: Encounter.class, extension_url=None
2025-08-01 00:50:35,081 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,082 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,083 - services - DEBUG - No profile in resource, using base type as identifier: Condition
2025-08-01 00:50:35,084 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,088 - services - DEBUG - Searching for SD matching 'Condition' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,090 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:50:35,106 - services - INFO - SD matching identifier 'Condition' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,108 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:50:35,112 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:50:35,113 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:50:35,116 - services - DEBUG - Searching for SD matching 'Condition' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:50:35,117 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:50:35,182 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-Condition.json
2025-08-01 00:50:35,184 - services - DEBUG - Found SD at package/StructureDefinition-Condition.json
2025-08-01 00:50:35,185 - services - DEBUG - Navigating FHIR path: Condition, extension_url=None
2025-08-01 00:50:35,186 - services - DEBUG - Navigating FHIR path: Condition, extension_url=None
2025-08-01 00:50:35,187 - services - DEBUG - Navigating FHIR path: Condition.subject, extension_url=None
2025-08-01 00:50:35,188 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,190 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,192 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication
2025-08-01 00:50:35,192 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,196 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,197 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication'
2025-08-01 00:50:35,204 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:50:35,206 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' at path: package/StructureDefinition-ph-core-medication.json
2025-08-01 00:50:35,207 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-medication.json
2025-08-01 00:50:35,207 - services - DEBUG - Navigating FHIR path: Medication, extension_url=None
2025-08-01 00:50:35,209 - services - DEBUG - Navigating FHIR path: Medication, extension_url=None
2025-08-01 00:50:35,210 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,211 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,213 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation
2025-08-01 00:50:35,214 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,217 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,218 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation'
2025-08-01 00:50:35,224 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:50:35,225 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' at path: package/StructureDefinition-ph-core-observation.json
2025-08-01 00:50:35,226 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-observation.json
2025-08-01 00:50:35,227 - services - DEBUG - Navigating FHIR path: Observation, extension_url=None
2025-08-01 00:50:35,228 - services - DEBUG - Navigating FHIR path: Observation, extension_url=None
2025-08-01 00:50:35,229 - services - DEBUG - Navigating FHIR path: Observation.status, extension_url=None
2025-08-01 00:50:35,230 - services - DEBUG - Navigating FHIR path: Observation.code, extension_url=None
2025-08-01 00:50:35,231 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,232 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,233 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:50:35,234 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,237 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,238 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:50:35,250 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,252 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:50:35,255 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:50:35,256 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:50:35,259 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:50:35,259 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:50:35,710 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:50:35,711 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:50:35,712 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:50:35,713 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:50:35,713 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:50:35,714 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,715 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:50:35,716 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner
2025-08-01 00:50:35,716 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,719 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:50:35,719 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner'
2025-08-01 00:50:35,727 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:50:35,728 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' at path: package/StructureDefinition-ph-core-practitioner.json
2025-08-01 00:50:35,729 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-practitioner.json
2025-08-01 00:50:35,729 - services - DEBUG - Navigating FHIR path: Practitioner, extension_url=None
2025-08-01 00:50:35,730 - services - DEBUG - Navigating FHIR path: Practitioner, extension_url=None
2025-08-01 00:50:35,731 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,731 - services - DEBUG - Bundle validation result: valid=True, errors=0, warnings=0, resources=7
2025-08-01 00:50:35,732 - services - INFO - Validation result for Bundle against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:50:35,732 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:50:35] "POST /api/validate-sample HTTP/1.1" 200 -
2025-08-01 00:51:28,784 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:28] "GET /manual-import-ig HTTP/1.1" 200 -
2025-08-01 00:51:28,825 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:28] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:51:28,828 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:28] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:51:28,839 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:28] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:51:39,832 - __main__ - DEBUG - Scanning packages directory: /app/instance/fhir_packages
2025-08-01 00:51:39,838 - services - DEBUG - Parsed 'example.fhir.ph.core.r4-0.1.0.tgz' -> name='example.fhir.ph.core.r4', version='0.1.0'
2025-08-01 00:51:39,851 - services - DEBUG - Parsed 'hl7.fhir.au.base-5.1.0-preview.tgz' -> name='hl7.fhir.au.base', version='5.1.0-preview'
2025-08-01 00:51:39,892 - services - DEBUG - Parsed 'hl7.fhir.au.core-1.1.0-preview.tgz' -> name='hl7.fhir.au.core', version='1.1.0-preview'
2025-08-01 00:51:39,918 - services - DEBUG - Parsed 'hl7.fhir.r4.core-4.0.1.tgz' -> name='hl7.fhir.r4.core', version='4.0.1'
2025-08-01 00:51:40,732 - services - DEBUG - Parsed 'hl7.fhir.uv.extensions.r4-5.2.0.tgz' -> name='hl7.fhir.uv.extensions.r4', version='5.2.0'
2025-08-01 00:51:40,837 - services - DEBUG - Parsed 'hl7.fhir.uv.ipa-1.0.0.tgz' -> name='hl7.fhir.uv.ipa', version='1.0.0'
2025-08-01 00:51:40,855 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.0.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.0.0'
2025-08-01 00:51:40,860 - services - DEBUG - Parsed 'hl7.fhir.uv.smart-app-launch-2.1.0.tgz' -> name='hl7.fhir.uv.smart-app-launch', version='2.1.0'
2025-08-01 00:51:40,868 - services - DEBUG - Parsed 'hl7.terminology.r4-5.0.0.tgz' -> name='hl7.terminology.r4', version='5.0.0'
2025-08-01 00:51:41,223 - services - DEBUG - Parsed 'hl7.terminology.r4-6.2.0.tgz' -> name='hl7.terminology.r4', version='6.2.0'
2025-08-01 00:51:41,669 - services - DEBUG - Parsed 'hl7.terminology.r4-6.4.0.tgz' -> name='hl7.terminology.r4', version='6.4.0'
2025-08-01 00:51:42,069 - __main__ - DEBUG - Found packages: 11
2025-08-01 00:51:42,070 - __main__ - DEBUG - Errors during package listing: []
2025-08-01 00:51:42,071 - __main__ - DEBUG - Duplicate groups: {'hl7.fhir.uv.smart-app-launch': ['2.0.0', '2.1.0'], 'hl7.terminology.r4': ['5.0.0', '6.2.0', '6.4.0']}
2025-08-01 00:51:42,075 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:42] "GET /view-igs HTTP/1.1" 200 -
2025-08-01 00:51:42,100 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:42] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:51:42,103 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:42] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:51:42,108 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:42] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:51:42,108 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:51:42] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:54:20,189 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:20] "GET /validate-sample HTTP/1.1" 200 -
2025-08-01 00:54:20,209 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:20] "GET /static/css/fire-animation.css HTTP/1.1" 304 -
2025-08-01 00:54:20,212 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:20] "GET /static/css/animation.css HTTP/1.1" 304 -
2025-08-01 00:54:20,216 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:20] "GET /static/js/htmx.min.js HTTP/1.1" 304 -
2025-08-01 00:54:20,218 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:20] "GET /static/FHIRFLARE.png HTTP/1.1" 304 -
2025-08-01 00:54:39,350 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:54:39,351 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:54:39,353 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:54:39,356 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:54:39,413 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:54:39,611 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:54:39,613 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:39] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:54:39,639 - services - DEBUG - Received validate-sample request
2025-08-01 00:54:39,641 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=13970
2025-08-01 00:54:39,643 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,647 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,650 - services - DEBUG - Validating Bundle against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:54:39,652 - services - DEBUG - Validating bundle against example.fhir.ph.core.r4#0.1.0, include_dependencies=True
2025-08-01 00:54:39,653 - services - DEBUG - Found 14 local references in the bundle.
2025-08-01 00:54:39,655 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,659 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient
2025-08-01 00:54:39,660 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,668 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,670 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient'
2025-08-01 00:54:39,688 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:54:39,689 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient' at path: package/StructureDefinition-ph-core-patient.json
2025-08-01 00:54:39,692 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-patient.json
2025-08-01 00:54:39,693 - services - DEBUG - Navigating FHIR path: Patient, extension_url=None
2025-08-01 00:54:39,695 - services - DEBUG - Navigating FHIR path: Patient, extension_url=None
2025-08-01 00:54:39,697 - services - DEBUG - Navigating FHIR path: Patient.extension, extension_url=None
2025-08-01 00:54:39,700 - services - DEBUG - Navigating FHIR path: Patient.extension, extension_url=None
2025-08-01 00:54:39,702 - services - DEBUG - Navigating FHIR path: Patient.identifier, extension_url=None
2025-08-01 00:54:39,705 - services - DEBUG - Navigating FHIR path: Patient.identifier, extension_url=None
2025-08-01 00:54:39,708 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:39,710 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,714 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter
2025-08-01 00:54:39,715 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,724 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,725 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter'
2025-08-01 00:54:39,734 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:54:39,736 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-encounter' at path: package/StructureDefinition-ph-core-encounter.json
2025-08-01 00:54:39,739 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-encounter.json
2025-08-01 00:54:39,740 - services - DEBUG - Navigating FHIR path: Encounter, extension_url=None
2025-08-01 00:54:39,742 - services - DEBUG - Navigating FHIR path: Encounter, extension_url=None
2025-08-01 00:54:39,744 - services - DEBUG - Navigating FHIR path: Encounter.status, extension_url=None
2025-08-01 00:54:39,746 - services - DEBUG - Navigating FHIR path: Encounter.class, extension_url=None
2025-08-01 00:54:39,747 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:39,749 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,753 - services - DEBUG - No profile in resource, using base type as identifier: Condition
2025-08-01 00:54:39,755 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,764 - services - DEBUG - Searching for SD matching 'Condition' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,766 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:54:39,791 - services - INFO - SD matching identifier 'Condition' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,794 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:54:39,799 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:54:39,803 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:54:39,808 - services - DEBUG - Searching for SD matching 'Condition' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:54:39,810 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:54:39,902 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-Condition.json
2025-08-01 00:54:39,904 - services - DEBUG - Found SD at package/StructureDefinition-Condition.json
2025-08-01 00:54:39,905 - services - DEBUG - Navigating FHIR path: Condition, extension_url=None
2025-08-01 00:54:39,907 - services - DEBUG - Navigating FHIR path: Condition, extension_url=None
2025-08-01 00:54:39,908 - services - DEBUG - Navigating FHIR path: Condition.subject, extension_url=None
2025-08-01 00:54:39,910 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:39,911 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,914 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication
2025-08-01 00:54:39,915 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,923 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,924 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication'
2025-08-01 00:54:39,934 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:54:39,936 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-medication' at path: package/StructureDefinition-ph-core-medication.json
2025-08-01 00:54:39,938 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-medication.json
2025-08-01 00:54:39,939 - services - DEBUG - Navigating FHIR path: Medication, extension_url=None
2025-08-01 00:54:39,940 - services - DEBUG - Navigating FHIR path: Medication, extension_url=None
2025-08-01 00:54:39,942 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:39,943 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,945 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation
2025-08-01 00:54:39,946 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,952 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,953 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation'
2025-08-01 00:54:39,964 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:54:39,966 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-observation' at path: package/StructureDefinition-ph-core-observation.json
2025-08-01 00:54:39,968 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-observation.json
2025-08-01 00:54:39,969 - services - DEBUG - Navigating FHIR path: Observation, extension_url=None
2025-08-01 00:54:39,970 - services - DEBUG - Navigating FHIR path: Observation, extension_url=None
2025-08-01 00:54:39,971 - services - DEBUG - Navigating FHIR path: Observation.status, extension_url=None
2025-08-01 00:54:39,973 - services - DEBUG - Navigating FHIR path: Observation.code, extension_url=None
2025-08-01 00:54:39,975 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:39,976 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:39,980 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:54:39,981 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,988 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:39,990 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:54:40,015 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:40,017 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:54:40,022 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:54:40,024 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:54:40,028 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:54:40,029 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:54:41,057 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:54:41,059 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:54:41,060 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:54:41,061 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:54:41,063 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:54:41,065 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:41,066 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:54:41,070 - services - DEBUG - Using provided profile: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner. Cleaned to: urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner
2025-08-01 00:54:41,071 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:41,077 - services - DEBUG - Searching for SD matching 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' with profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:54:41,078 - services - DEBUG - Cleaned profile URL for search: 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner'
2025-08-01 00:54:41,096 - services - DEBUG - Removing narrative text from resource: StructureDefinition
2025-08-01 00:54:41,098 - services - INFO - Found definitive SD matching profile 'urn://example.com/ph-core/fhir/StructureDefinition/ph-core-practitioner' at path: package/StructureDefinition-ph-core-practitioner.json
2025-08-01 00:54:41,100 - services - DEBUG - Found SD at package/StructureDefinition-ph-core-practitioner.json
2025-08-01 00:54:41,101 - services - DEBUG - Navigating FHIR path: Practitioner, extension_url=None
2025-08-01 00:54:41,103 - services - DEBUG - Navigating FHIR path: Practitioner, extension_url=None
2025-08-01 00:54:41,105 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:54:41,106 - services - DEBUG - Bundle validation result: valid=True, errors=0, warnings=0, resources=7
2025-08-01 00:54:41,107 - services - INFO - Validation result for Bundle against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:54:41,109 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:54:41] "POST /api/validate-sample HTTP/1.1" 200 -
2025-08-01 00:55:46,274 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:55:46,275 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:55:46,276 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:55:46,278 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:55:46,303 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:55:46,409 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:55:46,411 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:55:46] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:55:46,425 - services - DEBUG - Received validate-sample request
2025-08-01 00:55:46,427 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=713
2025-08-01 00:55:46,428 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:55:46,431 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:55:46,434 - services - DEBUG - Validating AllergyIntolerance against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:55:46,435 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:55:46,438 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:55:46,439 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:55:46,445 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:55:46,446 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:55:46,468 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:55:46,470 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:55:46,475 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:55:46,477 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:55:46,481 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:55:46,482 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:55:47,472 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:55:47,474 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:55:47,474 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:55:47,476 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:55:47,477 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:55:47,479 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:55:47,480 - services - INFO - Validation result for AllergyIntolerance against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:55:47,481 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:55:47] "POST /api/validate-sample HTTP/1.1" 200 -
2025-08-01 00:56:01,610 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:56:01,611 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:56:01,612 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:56:01,614 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:56:01,634 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:56:01,712 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:56:01,714 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:01] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:56:01,726 - services - DEBUG - Received validate-sample request
2025-08-01 00:56:01,727 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=713
2025-08-01 00:56:01,728 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:01,731 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:01,733 - services - DEBUG - Validating AllergyIntolerance against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:56:01,735 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:01,738 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:56:01,739 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:01,743 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:01,744 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:01,759 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:01,761 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:56:01,764 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:56:01,766 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:56:01,770 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:56:01,771 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:02,425 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:02,427 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:02,428 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:02,430 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:02,431 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:56:02,433 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:56:02,434 - services - INFO - Validation result for AllergyIntolerance against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:56:02,435 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:02] "POST /api/validate-sample HTTP/1.1" 200 -
2025-08-01 00:56:14,054 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:56:14,055 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:56:14,056 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:56:14,057 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:56:14,070 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:56:14,147 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:56:14,149 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:14] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:56:14,157 - services - DEBUG - Received validate-sample request
2025-08-01 00:56:14,158 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=713
2025-08-01 00:56:14,160 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:14,163 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:14,166 - services - DEBUG - Validating AllergyIntolerance against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:56:14,166 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:14,170 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:56:14,172 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:14,177 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:14,178 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:14,193 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:14,195 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:56:14,197 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:56:14,198 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:56:14,201 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:56:14,202 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:14,875 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:14,877 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:14,878 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:14,879 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:14,881 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:56:14,883 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:56:14,884 - services - INFO - Validation result for AllergyIntolerance against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:56:14,885 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:14] "POST /api/validate-sample HTTP/1.1" 200 -
2025-08-01 00:56:18,236 - __main__ - DEBUG - Proxy received request for path: '/fhir/metadata', cleaned subpath: 'metadata'
2025-08-01 00:56:18,237 - __main__ - DEBUG - No target header found, proxying to default local HAPI: http://localhost:8080/fhir
2025-08-01 00:56:18,238 - __main__ - INFO - Proxying request: GET http://localhost:8080/fhir/metadata
2025-08-01 00:56:18,239 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): localhost:8080
2025-08-01 00:56:18,257 - urllib3.connectionpool - DEBUG - http://localhost:8080 "GET /fhir/metadata HTTP/1.1" 200 None
2025-08-01 00:56:18,348 - __main__ - INFO - Target server 'http://localhost:8080/fhir' responded with status: 200
2025-08-01 00:56:18,350 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:18] "GET /fhir/metadata HTTP/1.1" 200 -
2025-08-01 00:56:18,364 - services - DEBUG - Received validate-sample request
2025-08-01 00:56:18,366 - services - DEBUG - Request params: package_name=example.fhir.ph.core.r4, version=0.1.0, sample_data_length=713
2025-08-01 00:56:18,366 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:18,369 - services - DEBUG - Checking package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:18,373 - services - DEBUG - Validating AllergyIntolerance against example.fhir.ph.core.r4#0.1.0
2025-08-01 00:56:18,374 - services - DEBUG - Using FHIR_PACKAGES_DIR from current_app config: /app/instance/fhir_packages
2025-08-01 00:56:18,377 - services - DEBUG - No profile in resource, using base type as identifier: AllergyIntolerance
2025-08-01 00:56:18,378 - services - DEBUG - Checking for package file: /app/instance/fhir_packages/example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:18,383 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:18,384 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:18,401 - services - INFO - SD matching identifier 'AllergyIntolerance' or profile 'None' not found within archive example.fhir.ph.core.r4-0.1.0.tgz
2025-08-01 00:56:18,403 - services - DEBUG - SD not found in example.fhir.ph.core.r4#0.1.0. Checking dependencies.
2025-08-01 00:56:18,406 - services - DEBUG - Found dependencies: {'hl7.fhir.r4.core': '4.0.1', 'hl7.terminology.r4': '6.4.0', 'hl7.fhir.uv.extensions.r4': '5.2.0'}
2025-08-01 00:56:18,408 - services - DEBUG - Searching SD in dependency hl7.fhir.r4.core#4.0.1
2025-08-01 00:56:18,412 - services - DEBUG - Searching for SD matching 'AllergyIntolerance' with profile 'None' in hl7.fhir.r4.core-4.0.1.tgz
2025-08-01 00:56:18,413 - services - DEBUG - Cleaned profile URL for search: 'None'
2025-08-01 00:56:19,183 - services - INFO - Found SD in dependency hl7.fhir.r4.core#4.0.1 at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:19,184 - services - DEBUG - Found SD at package/StructureDefinition-AllergyIntolerance.json
2025-08-01 00:56:19,185 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:19,186 - services - DEBUG - Navigating FHIR path: AllergyIntolerance, extension_url=None
2025-08-01 00:56:19,187 - services - DEBUG - Navigating FHIR path: AllergyIntolerance.patient, extension_url=None
2025-08-01 00:56:19,189 - services - DEBUG - Validation result: valid=True, errors=0, warnings=0
2025-08-01 00:56:19,190 - services - INFO - Validation result for AllergyIntolerance against example.fhir.ph.core.r4#0.1.0: valid=True, errors=0, warnings=0
2025-08-01 00:56:19,191 - werkzeug - INFO - 172.18.0.1 - - [01/Aug/2025 00:56:19] "POST /api/validate-sample HTTP/1.1" 200 -