Skip to content

Commit 54b957f

Browse files
committed
NRL-1051 fix issue with validation
1 parent 2ab68b4 commit 54b957f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/producer/processTransaction/process_transaction_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ def handler(
340340
if requested_profile and not requested_profile.endswith(
341341
"profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.ProvideBundle"
342342
):
343-
is_imaging_profile = True
344343
logger.log(LogReference.PROTRAN001, requested_profile=requested_profile)
345344
return SpineErrorResponse.BAD_REQUEST(
346345
diagnostics="Only IHE.MHD.UnContained.Comprehensive.ProvideBundle profiles are supported",
@@ -397,6 +396,7 @@ def handler(
397396
for entry in entries:
398397
try:
399398
if requested_profile:
399+
is_imaging_profile = True
400400
document_reference = _convert_document_reference(
401401
entry.resource, requested_profile
402402
)

0 commit comments

Comments
 (0)