CDA Library
You can import this library and get a list of CDA element creation and mapping methods. To get started, import this CDA library into your CDA mapping module:
require "CDA.CDAinit"
After that, the global CDA variable can access a list of mapping functions such as
CDA.code.set
CDA.demographic.addAddress
CDA.dose.add
CDA.time.add
These CDA functions will help you quickly create and map CDA documents. For each CDA function's usage, please check the built in help.