Comments (7)
After a little more investigation, It seems that it is having a problem going to the next line of the HL7 message.
from hl7-powershell-module.
I'd really only used it to mask the PID and NK1 segments, by default only the following fields are masked:
- All PID fields except {"PID-1, PID-2, PID-3"}
- All NK1 fields except {"NK1-1, NK1-3"}
- All IN1 fields
- All IN2 fields
I assume your sample only contains a PID segment from the above list so it appears only one segment is processed.
There are numerous other segments/fields that can potentially include identifiable information. The CmdLet allows you to list custom segments, fields, and components to mask so you can add your own specific to your messages. e.g.
Remove-HL7Identifiers -Path c:\test\testfile.hl7 -CustomItemsList PID-3.1,PID-5,NK1,DG1
Note: The CustomItemsList parameter only masks these items, so the default fields I listed above are no longer masked unless you include these in the CustomItemsList.
Give this a go.
from hl7-powershell-module.
from hl7-powershell-module.
I think I've reproduced the issue. Looks like it was expecting windows style line terminations (CRLF), and has an issue with linux line termination (LF). I use Windows predominately so not something I tested. Due to this error only the first segment will be parsed.
I'll fix this - may have to wait until the weekend until I can find some free time. Looks like most other commands in this module will be impacted by non-windows line endings as well.
Until it is fixed a short term workaround may be to change the line endings from CR to CRLF.
[Update - looks like a one line fix to correct this for all commands, I'll get onto it soon]
from hl7-powershell-module.
Updated version released - let me know if this fixes the issue.
from hl7-powershell-module.
from hl7-powershell-module.
Just Tested and this corrected the Issue! Youre doing good work here. Thank you so much for this!
from hl7-powershell-module.
Related Issues (10)
- Missing DLL file HOT 1
- Dealing with HL7 files that start with a vertical tab HOT 3
- Consider publishing on PSGallery HOT 5
- Why this filter does not work ? HOT 2
- Consider the ability to include a list of parameters for Select-HL7Item -ItemPosition HOT 3
- Manage several occurrences of the same segment HOT 3
- Filter returns more matches than expected HOT 10
- Non PowerShell Users Question HOT 2
- Receive-HL7Message -NOACK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hl7-powershell-module.