Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To be updated

Design of the Module

To be updatedDuring this summer our focus was to generate APHP CDA message, but their many types of IHE profile or CDA documents types.

Now question is, will our module allow any other type of CDA Document?

Yes.

 

We have designed our module to ensure that our work is flexible for further extension. If someone wants to add new CDA type documents other than APHP our module accommodate this change.So, our design consists of hierarchy of classes or we call them as hierarchy of handler.BaseCdaTypeHandler is base class which contains all attributes necessary for CDA document and all other handlers extend this BaseCdaTypeHandler (example APHP handler, APS handler or some other handler).

In our entire code base we are using the reference of BaseCDATypeHandler to make our work as generic as possible.

If we want to add a new CDA Document Type all we need to do is create a class,extend from this BasCdaTypeHandler class and use setter methods to add values that’s it!

 

The same design approach is followed for Section as well. There we have BaseCdaSectionhandler and child handlers extending it.

Installation of the Module

...