I think that I got it. I forgot to press HL7 after creating the report.
From: Jens Kristian Villadsen [mailto:[email protected]]
Sent: Monday, July 30, 2012 11:49 AM
To: Carlos Oliva
Cc: HAPI Devel List
Subject: Re: [HAPI-devel] Retrieving Validation Errors
Using Message Workbench is the
[email protected]]
> *Sent:* Monday, July 30, 2012 11:07 AM
>
> *To:* Carlos Oliva
> *Cc:* HAPI Devel List
> *Subject:* Re: [HAPI-devel] Retrieving Validation Errors
>
> ** **
>
> Nope - it's not entirely valid. I've attached a valid example profile you
> could ha
Workbench created.
From: Jens Kristian Villadsen [mailto:[email protected]]
Sent: Monday, July 30, 2012 11:07 AM
To: Carlos Oliva
Cc: HAPI Devel List
Subject: Re: [HAPI-devel] Retrieving Validation Errors
Nope - it's not entirely valid. I've attached a valid example profile you could
h
Jens Kristian Villadsen [mailto:[email protected]]
> *Sent:* Monday, July 30, 2012 7:54 AM
>
>
> *To:* Carlos Oliva
> *Cc:* HAPI Devel List
> *Subject:* Re: [HAPI-devel] Retrieving Validation Errors
>
>
>
> Use the ca.uhn.hl7v2.conf.parser.ProfileParser to parse
the
classpath
From: Jens Kristian Villadsen [mailto:[email protected]]
Sent: Monday, July 30, 2012 9:24 AM
To: Carlos Oliva
Cc: HAPI Devel List
Subject: Re: [HAPI-devel] Retrieving Validation Errors
Either way, I chose to extend the ca.uhn.hl7v2.conf.check.DefaultValidator from
where you can
than importing one from somewhere else. How can I use the default
>> StaticDef of the parser encode method?
>>
>> *From:* Jens Kristian Villadsen [mailto:[email protected]]
>> *Sent:* Monday, July 30, 2012 7:54 AM
>>
>> *To:* Carlos Oliva
>>
Devel List
> *Subject:* Re: [HAPI-devel] Retrieving Validation Errors
>
> ** **
>
> Use the ca.uhn.hl7v2.conf.parser.ProfileParser to parse a profile from
> disk or wherever you have your profiles located. The ProfileParser will
> then return a ca.uhn.hl7v2.conf.spec.Run
Devel List
Subject: Re: [HAPI-devel] Retrieving Validation Errors
Use the ca.uhn.hl7v2.conf.parser.ProfileParser to parse a profile from disk or
wherever you have your profiles located. The ProfileParser will then return a
ca.uhn.hl7v2.conf.spec.RuntimeProfile. From that you can call
lto:[email protected]]
> *Sent:* Monday, July 30, 2012 7:28 AM
> *To:* Carlos Oliva
> *Cc:* HAPI Devel List
> *Subject:* Re: [HAPI-devel] Retrieving Validation Errors
>
> ** **
>
> You can match a message against a RuntimeProfile (containing a StaticDef)
> by comparing the mes
, 2012 7:28 AM
To: Carlos Oliva
Cc: HAPI Devel List
Subject: Re: [HAPI-devel] Retrieving Validation Errors
You can match a message against a RuntimeProfile (containing a StaticDef) by
comparing the message type, the event type and the version (and also the
structure id if you like).
2012/7/30
You can match a message against a RuntimeProfile (containing a StaticDef)
by comparing the message type, the event type and the version (and also the
structure id if you like).
2012/7/30 Carlos Oliva
> How can I retrieve all the validation errors of an ORU message? The
> parser retrieves only t
How can I retrieve all the validation errors of an ORU message? The
parser retrieves only the first validation error in a HL7Exception. The
DefaulValidator requires a StaticDef profile. Is there a way to get the
profile of the ORU message? I looked at the TestPanel program but it is
difficult t
12 matches
Mail list logo