Hello everyone,
I’ve recently embarked on an ISH migration project and need to determine the appropriate service for retrieving aggregated data from the CLIM, CLIF, CLIA, and CLIR catalogs. My goal is to fetch the data, aggregate it in the model layer, and then supply it to a custom view for visualization.
While reviewing the sample programs—specifically RN1API_CLIM_SAMPLE_CATALOG—I observed the use of the following approach:
Solution 1:
- Package: NMED_API_CLIM
- Interfaces: IF_ISHMED_API_CLIM1 and IF_ISHMED_API_CLIM2 (the latter includes additional handling for dates and measurement counts)
In contrast, the standard documentation for vital parameters extensions suggests using an alternative service:
Solution 2:
- Package: NMED_DWS_COMP
- Interface: IF_ISHMED_IS_API
- Class: CL_ISHMED_CLIM_API_VS
At first glance, the first solution appears to offer broader capabilities, though it demands more advanced object-oriented programming skills. The second solution, intended for external integration purposes, utilizes a flatter structure.
I’m curious: Are these two approaches equivalent, or do they differ in functionality? Unfortunately, I haven’t been able to find any documentation on this matter.
Any insights or suggestions would be greatly appreciated.
Thank you,
Marco