Skip to content
LambogeniusDocs

HL7 v2 Schema Generator

Troubleshooting

What the generator's messages mean and how to fix them.

VS Code extensionlambogenius.hl7-schemagenFree · MIT license. Works entirely locally.

Messages and fixes

“needs the .NET 8 runtime”
Install .NET 8 or later from dotnet.microsoft.com, or install the .NET Install Tool extension when prompted. Or set hl7SchemaGen.dotnetPath.
“does not contain HL7 v2.xml schemas (no segments.xsd)”
Pick the folder you unzipped the HL7 download into. It must contain segments.xsd somewhere below it.
“contains several v2.xml schema sets; pick one”
The folder holds more than one HL7 version. Pick the folder of one version.
A prompt asks for the HL7 version
The files don't name their version. Enter it, for example 2.5.1.
“Not in these schemas: …”
That structure doesn't exist in this HL7 version. Check the list, or use the structure from MSH-9.3.

Found a bug? Open an issue on GitHub.