Guys,
can someone with in-depth knowledge of the CForms widgets help me out
here? I want to build a form that can be used to enter an HL7v3
TelecomAddress[1]. The final XML result looks like this:
telecomAddress use=HP nullFlavor=OTH/
or
telecomAddress use=HP value=tel:+3112345678/
I've
Linden H van der (MI) wrote:
Guys,
can someone with in-depth knowledge of the CForms widgets help me out
here? I want to build a form that can be used to enter an HL7v3
TelecomAddress[1]. The final XML result looks like this:
telecomAddress use=HP nullFlavor=OTH/
or
telecomAddress use=HP
What about a custom validator?
Sounds like a good idea, but I have no clue how to do this in a generic
way. The next XML fragment could have the value defined as a set of
elements, e.g.:
name nullFlavor=NI/
vs.
name
given qualifier=firstJohn/given
given qualifier=initialL./given
Linden H van der (MI) wrote:
Guys,
can someone with in-depth knowledge of the CForms widgets help me out
here? I want to build a form that can be used to enter an HL7v3
TelecomAddress[1]. The final XML result looks like this:
telecomAddress use=HP nullFlavor=OTH/
or
telecomAddress use=HP
What about an assert validation on value?
Sounds like a good idea, so I tried it. Thanks.
It doesn't work yet the way I want it to, so I've probably messed up the
test, I'll look into that on Monday.
However, writing the test showed that this is a very cumbersome way to
handle it. As I've