Home » Archived » OHF » PatientInfoType problem- patientSuffixName
PatientInfoType problem- patientSuffixName [message #34472] |
Mon, 08 October 2007 23:25 |
Jesse Pangburn Messages: 166 Registered: July 2009 |
Senior Member |
|
|
Hi,
In
org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
there is a method "setPatientSuffixName". This method is not called that
I can see (eclipse agrees), nor is there a corresponding
"getPatientSuffixName". This appears to be a remnant from an old version,
perhaps where the patient suffix wasn't inside a child PatientNameType
object?
The problem for me was that this method caused the WSDL generation to show
this "patientSuffixName" to be an element in the patientInfoType.
However, when the bridge sends the xml back, this patientSuffixName is of
course missing since there is no "get" method for it. So in my case,
since I'm doing doc/lit and verifying the XML response against the schema
from the WSDL, it's getting an error about this element missing. I
removed the setPatientSuffixName from my copy of the source code,
recompiled, and now the WSDL does not have it. Testing shows that it's
working fine without it, and of course the returned XML now matches the
schema from the WSDL.
As I am not a committer for this project, I figured I'd post this here to
see if anyone agreed and wanted to make that change to the code. Also, if
there's a better place for me to post these sort of code change
suggestions, please feel free to clue me in :-)
thanks,
Jesse
|
|
|
Re: PatientInfoType problem- patientSuffixName [message #34573 is a reply to message #34472] |
Tue, 09 October 2007 16:24 |
Matthew Davis Messages: 269 Registered: July 2009 |
Senior Member |
|
|
Hi Jesse,
Definitely looks like a bug to me. Please create a new bug in Bugzilla
(note that this is the proper way under Eclipse Foundation rules for you
to contribute fixes and changes).
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=OHF
Please apply this against the "bridge" component so I get notified.
Thanks a bunch!
-Matt
Jesse Pangburn wrote:
> Hi,
> In
> org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
> there is a method "setPatientSuffixName". This method is not called
> that I can see (eclipse agrees), nor is there a corresponding
> "getPatientSuffixName". This appears to be a remnant from an old
> version, perhaps where the patient suffix wasn't inside a child
> PatientNameType object?
>
> The problem for me was that this method caused the WSDL generation to
> show this "patientSuffixName" to be an element in the patientInfoType.
> However, when the bridge sends the xml back, this patientSuffixName is
> of course missing since there is no "get" method for it. So in my case,
> since I'm doing doc/lit and verifying the XML response against the
> schema from the WSDL, it's getting an error about this element missing.
> I removed the setPatientSuffixName from my copy of the source code,
> recompiled, and now the WSDL does not have it. Testing shows that it's
> working fine without it, and of course the returned XML now matches the
> schema from the WSDL.
>
> As I am not a committer for this project, I figured I'd post this here
> to see if anyone agreed and wanted to make that change to the code.
> Also, if there's a better place for me to post these sort of code change
> suggestions, please feel free to clue me in :-)
>
> thanks,
> Jesse
>
|
|
| |
Re: PatientInfoType problem- patientSuffixName [message #581874 is a reply to message #34472] |
Tue, 09 October 2007 16:24 |
Matthew Davis Messages: 269 Registered: July 2009 |
Senior Member |
|
|
Hi Jesse,
Definitely looks like a bug to me. Please create a new bug in Bugzilla
(note that this is the proper way under Eclipse Foundation rules for you
to contribute fixes and changes).
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=OHF
Please apply this against the "bridge" component so I get notified.
Thanks a bunch!
-Matt
Jesse Pangburn wrote:
> Hi,
> In
> org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
> there is a method "setPatientSuffixName". This method is not called
> that I can see (eclipse agrees), nor is there a corresponding
> "getPatientSuffixName". This appears to be a remnant from an old
> version, perhaps where the patient suffix wasn't inside a child
> PatientNameType object?
>
> The problem for me was that this method caused the WSDL generation to
> show this "patientSuffixName" to be an element in the patientInfoType.
> However, when the bridge sends the xml back, this patientSuffixName is
> of course missing since there is no "get" method for it. So in my case,
> since I'm doing doc/lit and verifying the XML response against the
> schema from the WSDL, it's getting an error about this element missing.
> I removed the setPatientSuffixName from my copy of the source code,
> recompiled, and now the WSDL does not have it. Testing shows that it's
> working fine without it, and of course the returned XML now matches the
> schema from the WSDL.
>
> As I am not a committer for this project, I figured I'd post this here
> to see if anyone agreed and wanted to make that change to the code.
> Also, if there's a better place for me to post these sort of code change
> suggestions, please feel free to clue me in :-)
>
> thanks,
> Jesse
>
|
|
| |
Goto Forum:
Current Time: Wed Apr 24 14:27:20 GMT 2024
Powered by FUDForum. Page generated in 0.03963 seconds
|