Replies: 2 comments
-
@geezer78 So just seeing this now, but yes, #181 , #14, and #33 were reported the issue. #181 is the newest were I solved the issue on how to interprut reptaing fields. (This should have been an issue so I could have discovered this sooner.) Let me see if I can merge your changes into #182 and solve this issue for good. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This: message.get("PID.3").get(1).get(0).toString() Should solve the trick. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi there,
i've been trying to address repeated fields but this seems not to work.
given the following example message:
MSH|^~\&|ZIS|Testziekenhuis^Capelle ad IJssel|||20080917161411||ADT^A08^ADT_A01|CLV1-1649|P|2.4|||AL|NE|NLD|8859/1|NL EVN|A08|20080917161412 PID|1||7137542^^^^PI~123456782^^^NLMINBIZA^NNNLD^^20080917~AA1234567^^^NLMINBIZA^PPN^^20080917||van Testpatiënt-van het Hek&van&Testpatiënt&van het&Hek^Jeanet^L M G^^^^L~^Jannie^^^^^N||19600101|F|||Dorpsweg 16&Dorpsweg&16^^Groningen^^9737AA^NL^M||050-1234567^PRN^PH|||M|||||||Assen|N|||||""|N ROL|1|UP|PP^Primary Care Provider|01001234^Huisarts^H^^^^^^Vektis^L|||||01^Huisartsen^Vektis||Straatweg 2&Straatweg&2^^Groningen^^9723AA^^O|050-3134102^WPN^PH~^NET^X.400^800013630 PV1|1|I|6-SCU^6^1^Neurologie|R|||041623^Specialist&&Specialist^S^^^^^^^L||||||||||043213^Opnamearts&&Opnamearts^O^^^^^^^L||12344321|||||||||||||||||||||||||20080917161412 PV2|||E75.4^Neuronal ceroid lipofuscinosis^I9||||||20080919 IN1|1|^Zorg-op-maat polis^LOCAL|123456^^^Vektis|CZ-GROEP|POSTBUS 90152&POSTBUS&12^^TILBURG^^5200LD^^O||010-2881600^WPN^PH|||||20010101
i try to access PID.3.2.1 which should return "123456782" but i get '' .
i've worked around this by implementing my own function:
to step through the path but i think the problem stems from
the field.js file :
if im am correct this part contains a hardcoded ref to the first repetition
Beta Was this translation helpful? Give feedback.
All reactions