Written in reply to community post for can Python create HL7 Message dynamically.
Pre-requisites and setup
Use an integration enabled namespace.
Note: USER namespace is not enabled for interoperability by default.
If following suggest create a new interoperatibility namespace to explore functionality.
# Switch to
ZN "[Interoperability Namespace Name]"
# Launch interactive Python shell:
Do $SYSTEM.Python.Shell()