The CDA-CH-MTPS content profile is a Swiss realm of the IHE PHARM content profiles. It is currently available on the medshare CDA page. The serialization and deserialization of CDA-CH-MTPS documents is supported by the eHealth Connector. The CDA-CH-MTPS content profile describes typical scenarios which make use of the various IHE Pharmacy CDA documents:
Planning (introduction of a new medication), based on IHE PHARM Medication Treatment Plan (MTP)
Prescription (ordinance), based on IHE PHARM Prescription (PRE)
Dispense, based on IHE PHARM Dispense (DIS)
Modifications, based on IHE PHARM Pharmaceutical Advice (PADV)
List of elements from the four preceding ones, based on IHE PHARM Medication List (PML).
All five document types are supported by the eHealth Connector CDA-CH-MTPS implementation.
CDA-CH-MTPS specific header information (see org.ehealth_connector.cda.ch.mtps)
These methods allow to set / access CDA body information
Common (IHE Pharmacy)
The Convenience API is an initial version. It will be extended in the coming months in relation with a first real use.
The narrative text is not yet supported but will be in a forthcoming release.
When using any method resulting in the creation of an "entryRelationship" entity, be aware that the MDHT lower classes "consume" the object, i.e. only the last use of the object will result in correct XML generation - all previous use will have an empty entryRelationship. Solutions to avoid this problem are being explored.
The analysis of the Demo Applications is recommended for getting started.
Use the DemoMTPS demo for the current use case. It will generate example document instances and save them in a temp path.
In the future, there will also be some HL7 FHIR resources that can be used to demonstrate the functionality. If you provide path and filename to DemoMTPS, it will generate appropriate CDA documents. The FHIR resources will be found in rsc\demoCdaChMtps. These resources are not yet available, in particular due to the still "work in progress" stage of the eMedication related FHIR resources.
If you are an application programmer and want to see, how the API is used to generate CDA-CH-MTPS documents, take a look inside the java or dotnet demo project. The methods “org.ehealth_connector.demo.cda.DemoMTPS.doDemo()” (java demo application) and “eHealthConnectorDemo.MainForm.btnCDACHDemo_Click()” (dotnet demo application) are good starting points.