Andy
Andy

Reputation: 3522

Validating FHIR profiles

I'm wondering if there is a way to validate FHIR profiles?

By this I mean validate the xml definition of my profile/extensions are valid, not validate a resource against my profile.

I'm asking this because I've build a tool for producing profiles, and I need to test that the output is correct (and I can't find a definitive clear document that states what is right and wrong).

I'm using HAPI if that makes a difference.

Upvotes: 1

Views: 899

Answers (2)

Mirjam Baltus
Mirjam Baltus

Reputation: 2299

Alternatively you can upload your StructureDefinition to Simplifier.net, which will do basic validation of the StructureDefinition. When it renders correctly on the Simplifier site after uploading, you'll know you're SD is valid.

Upvotes: 1

Grahame Grieve
Grahame Grieve

Reputation: 3586

the best way is to use the implementation guide publisher. See http://wiki.hl7.org/index.php?title=IG_Publisher_Documentation#Command_Line_Mode - look for the alternative mode

Upvotes: 1

Related Questions