You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jamesagnew@ohr someone has created a discussion on nhapi for this, with nhapi being a port of hapi the exact same thing happens.
given the following er7.
MSH|^~\&|APL|CMFL|APL2|CMFL|20230908152100||ORU^R01|055eec95-3ac9-4d1a-95d8-e09e8e223e8b|P|2.5|||AL
PID||1092902|1092902^^^CB^NS|^^^N_BI|ROSA^ABEL JOÃO^||19411015|M|||AV JOÃO PAULO II LT 544 3 D^^N/A^^1900-000^||^^^^^^|^^^^^^||||||||||||||||N
NTE|1|O|teste|1R
PV1||Consultas|||||||||null||||||||V.OP000002511|||S
ORC|SC|TH70|TCMFL2023000005||CM||1.000
OBR||TH70|TCMFL2023000005|26390-5^Rx Mão - direita, 2incidências|||20230908152100|||||||||||TCMFL2023000005|||CR|||CR|||1^^^|||||228549868|228549868|228549868&&medicoteste||||||||||||TCMFL2023000005^^ACCESSION_NUMBER
OBX|1|ST|^SR Instance UID||2.25.1890683.1.1||||||F||||||
When parsed with NonGreedyMode set to true the following exception occurs in nhapi:
and the same in hapi.
It looks like the NonGreedyMode mode in this instance is removing the outer ORDER_OBSERVATION structure from PATIENT_RESULT which doesn't make any sense to me, if anything the segment which this should have an impact on would be the OBX since there are 2 which appear under ORDER_OBSERVATION?
Is this a known issue?
The text was updated successfully, but these errors were encountered:
Hi @jamesagnew @ohr someone has created a discussion on
nhapi
for this, withnhapi
being a port ofhapi
the exact same thing happens.given the following er7.
When parsed with
![image](https://private-user-images.githubusercontent.com/1087376/275845959-998da802-f3cc-4910-a317-0511d30c86cf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTA4OTgsIm5iZiI6MTczOTIxMDU5OCwicGF0aCI6Ii8xMDg3Mzc2LzI3NTg0NTk1OS05OThkYTgwMi1mM2NjLTQ5MTAtYTMxNy0wNTExZDMwYzg2Y2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTgwMzE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODBhNDAyN2YxNThkYTU4MGRlN2VkYjVmN2VlYTMxM2NlNjlhZWFmMGZlMDQyNGVkZDk3Yzk5YWViYWE2NjEzNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.YlsIn-N0VtIX6Whgd0vlME7A6CjwdMT0Cap6T4ntGiY)
NonGreedyMode
set totrue
the following exception occurs innhapi
:and the same in
hapi
.It looks like the
NonGreedyMode
mode in this instance is removing the outerORDER_OBSERVATION
structure fromPATIENT_RESULT
which doesn't make any sense to me, if anything the segment which this should have an impact on would be theOBX
since there are 2 which appear underORDER_OBSERVATION
?Is this a known issue?
The text was updated successfully, but these errors were encountered: