nHapi icon indicating copy to clipboard operation
nHapi copied to clipboard

Missing conformance profile validation

Open gap777 opened this issue 9 years ago • 3 comments

Java-based HAPI v2.2 has the ca.uhn.hl7v2.conf namespace dedicated to conformance profile support - parsing them and using them to validate messages. It would be helpful if this were ported to the .NET nHAPI.

gap777 avatar Jan 05 '16 17:01 gap777

Can anyone more experienced with the code base assist me if undertaking this task?

gap777 avatar Apr 13 '16 19:04 gap777

@gap777 if you are still willing, I am willing to assist 😊.

milkshakeuk avatar Jan 22 '22 14:01 milkshakeuk

This comment is me just noting down usefull information, it will expand over time as I find out more.

Hapi provides conformance support with the use of Xml Profiles example here.

hl7 provides xsd schema files, I think these schema files have something to do with generating the xml profiles.

Hapi also uses these xsd schema files to generate the strongly typed classes in source gen.

You can obtain the hl7 V2 schemas used for conformance from here you need to apply 2 filters.

Family = V2 Product type = XML schemas.

You can find some more information on the Hapi conformance page.

milkshakeuk avatar Jan 23 '22 10:01 milkshakeuk