Hi Nico,

You'right, my example was not well chosen. But the same problem occurs 
with the following one:

MSH|^~\&|||||20080627102031.292+0100||ADT^A31|EJ557600005480760|P|2.3|||||BE|8859/1|FR
EVN||20080627101943+0100
PID|||M07869D^^^ADMISSION^^ISSTLUC||DUPONT^JEAN||19701004000000+0100|M
PD1
PV1||N

The PD1 segment does not contain any mandatory field, so this message is 
legal and should be parsed by HAPI.

Fred.

[EMAIL PROTECTED] a écrit :
> Hi Frederic,
>
> An empty PV1 segment in an ADT message is not allowed.
>
> It should at least contain a value in PV1-2 Patient Class.
>
> If you don't have visit data (like in your A31 example) you should put 
> a N (not applicable) in PV1-2.
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to