Hi Again, On Monday 27 July 2009 06:42:42 pm you wrote: > I have to say I'm at a bit of a loss. Because there is no electronic > representation of all of the restrictions you are after, there's definitely > no out-of-the-box way of doing this. > > Probably as you mentioned, using Conformance profiles would get you pretty > close, and you could then add any remaining field value restrictions using > validators. >
I thought that field value restrictions are supported with conformance profiles. Beyond that regex definition of fields is also covered by conformance profiles but I don't know these are covered ( with automatic validation ) by Hapi's conformance profile support or not. > I've been thinking of enhancing the validation API for a while to give > validators the ability to know which field/segment specifically they are > validating, so that for instance you could have different valuesets allowed > for different CE fields, etc. If you wanted to go this route I'd be more > than happy to help make the required changes to the validation api to get > you going. > I'm not sure for that because if all conformance profile is covered then I need only cross cheking between fields like i.e. " Field EVN-1 Event Type Code is optional; however, if present, its value shall be equal to the second component of the field MSH-9 Message Type." etc. > Incidentally, are you looking to runtime validation or compile time or > both? For now runtime validation is enough for me I think. Best Regards, -- Serbulent Unsal | Software Expert GSM : +90 555 697 50 46 | Tel : +90.312.478 48 00 Akgun Softwares & Services Pvt. Ltd. Çetin Emeç Bulv. 4. Cad. No:5/3 06460 A.Öveçler / ANKARA This e-mail and its attachments are private and confidential to the exclusive use of the individual or entity to whom it is addressed. It may also be legally confidential. Any disclosure, distribution or other dissemination of this message to any third party is strictly prohibited. If you are not the intended recipient, you may not copy, forward, send or use any part of it. If you are not the intended recipient or the person who is responsible to transmit to the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and its attachments. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hl7api-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hl7api-devel

