Comments (4)
hi @justinfalk,
Your sample message doesn't have the required header segment (MSH). That would never parse correctly.
from hl7-dotnetcore.
Sorry, that was a result of hastily deidentifying the message. The message still fails due the the serialization problem I referenced above. I went and edited the original issue to add the missing MSH. Thanks.
from hl7-dotnetcore.
Here's a much narrower example of the bug in the Encoding function
[TestMethod]
public void TestEncode()
{
var text = @"Some Text\.br\";
var decoded = new HL7Encoding().Decode(text); // <BR>
var encoded = new HL7Encoding().Encode(decoded); // Still <BR>
Assert.AreEqual(text, encoded);
}
from hl7-dotnetcore.
Actually, this appears to be resolved in 2.26. I was using an older version.
Looks like this fix corrects the issue: #82
from hl7-dotnetcore.
Related Issues (20)
- Serialize with validation fails HOT 3
- Error message typo "beggining" HOT 2
- Messages are limited to 32767 segments . Have undefined results after that HOT 2
- Strong name for assembly inside nuget package HOT 1
- Accept <segment_name>(<segment_number).<field_number> request in Message.GetValue(string strValueFormat) HOT 4
- Assigned value not showing when segment printed HOT 3
- X-escape sequence decoding HOT 2
- Question: Package not built in 'Release' mode? HOT 1
- Escaping sequences HOT 2
- Modifying a MSH.7 Timestamp in ACK Message will not effect in Attribute Message.HL7Message HOT 1
- Generate a ACK bases on a HL7 message with MSH.2 = ^~& HOT 5
- Escape Character Issue HOT 7
- Parsing HL7 message in XML format HOT 1
- Parse failure with double-encoded values HOT 1
- Double Decoding Of Value HOT 3
- What does IsComponentized() do? HOT 1
- Components
- Consideration to targeting netcore HOT 12
- NACK causes error HOT 5
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-dotnetcore.