usnistgov / hl7-igamt

10 stars 3 forks source link

[BUG] Conformance statement not generated/crashing #1643

Closed carolinerosin closed 10 months ago

carolinerosin commented 10 months ago

Describe the bug I created a complex conformance statement (based on what Cyprien reported). Seems like the conformance statement isn't generated (generate assertion doesn't show anything). When exporting the XML, we get this error message: {"status":"FAILED","type":null,"text":null,"resourceId":null,"hide":false,"date":null,"data":null}

User Account rosinc

URL https://hl7v2-igamt-2.nist.gov/ig/65aec9678b87bc00075aa90c/conformanceprofile/65aec9678b87bc00075aa90d/conformance-statement

To Reproduce Steps to reproduce the behavior:

  1. Create the following complex CS (using IF-THEN and SUBCONTEXT) If PATIENT_RESULT.ORDER_OBSERVATION.ORC-1 (Order Control) contains the value 'NW' (Case Sensitive). then OBX-11 (Observation Result Status) shall contain the value 'F' (Case Sensitive). IN at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION
  2. Try to see the xml with "Generate XML assertion"
  3. Try to export XML

Expected behavior Generate the conformance statement. No crash when exporting XML

Screenshots image

image

Additional context This is the bug reported by Cyprien. I cannot access his IG so I re-created the same statement in mine. https://groups.google.com/g/nist-igamt/c/OrR1EGF2QuE