nHapiNET / nHapi

nHapi is the .Net port of the original Java project HAPI.
Mozilla Public License 2.0
266 stars 155 forks source link

Missing conformance profile validation #46

Open gap777 opened 8 years ago

gap777 commented 8 years ago

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 commented 8 years ago

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

milkshakeuk commented 2 years ago

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

milkshakeuk commented 2 years ago

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.