|
The GeneralFormRequestManager is an ATL COM module which provides methods to generate a
The GeneralFormRequestManager is an ATL COM module that manages a PDF based form system. The module provides
all the necessary methods to produce a filled out PDF form or a generalFormRequest_430.xsd type XML infoset that includes the PDF form itself as Base64 octet stream.
Empty PDF form templates from the medForms OID space, previously processed PDF form, or a
XML infoset of type generalFormRequest_430.xsd, generalNotification_430.xsd can be loaded into the module.
Architectural blueprint
Firstly, a PDF form or XML infoset is loaded with LoadPDF or
LoadXML. By using the returned
IGeneralFormRequest interface all semantically well-known addresses and structured are queried by the iterator pairs
GetFirstAddressRole /
GetNextAddressRole and
GetFirstStructRole /
GetNextStructRole.
The data returned from these iterators allows to define the corresponding addresses and structure by using the
AddAddress and the various structure methods e.g.
AddDiagnosis.
The generalFormRequest system does not endorse a paradigm of «completeness» or «100% preset capability». Therefore, after all semantically
well-known information is set the PDF form is finalized by a user-driven review/modification process whereas Acrobat Reader using a preset PDF form
does the visualization.
This is done automatically when calling the GetPDF or
GetXML methods.
These methods deliver a final PDF form or XML infoset.
|