SAP ABAP IMG Activity SIMG_ISHMED_CAPDOCNE (Copy a Cardiological Sample Document)
Hierarchy
IS-H (Software Component) SAP Healthcare
   IS-HMED (Application Component) Clinical System
     NMED_DS (Package) Departmental Solutions
IMG Activity
ID SIMG_ISHMED_CAPDOCNE Copy a Cardiological Sample Document  
Transaction Code S_PRI_97000056   (empty) 
Created on 20061215    
Customizing Attributes SIMG_ISHMED_CAPDOCNE   Copy a Cardiological Sample Document 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_ISHMED_CAPDOCNE    

Use

You wish to create your own cardiological document using a sample document. The required work steps are described below.

Requirements

Standard settings

Activities

  1. Copy sample document category
    Start transaction N2T5 and enter the institution, document category name and version of the sample document as a template. Fill in the institution, document category name and version of the new document category to be created (pay attention to namespace!).
    Execute the "Copy" function.
    In the popup dialog for the options, click the checkboxes
    "With Abstract Design" and
    "With Element List" and use the pushbutton for "OK".
    You branch to the abstract design. Execute the "Preset" function.
    Change at least the name of the master element, the tab and all tab pages.
    This is necessary so that you can then insert or remove elements within these structures. You can optionally change the names of other structures and elements, however, we recommend this, as otherwise the structure (the abstract design) of your documents will be changed when newer versions of the sample documents are imported. This is particularly necessary in multiple structures, if you intend to insert new elements. The simplest way to give elements a new name is to use the Find/Replace function to exchange the namespace N8CA for a namespace which is not in use in your system.
    You may not and cannot change individual elements, structures, and tables, but should replace these later with your own documentation elements.
    Execute a check. If no errors are reported, you can save the new document category. This creates the abstract design and the new documentation elements. The element list of the new document category is saved immediately after the copy procedure.
    The alias names of the documentation elements are retained. In the Package field, enter a transportable development class of your installation (you should make all changes in the development system and then transport the entire document category into downstream systems without regenerating). As a result this is then created with the correct development class when objects are subsequently generated.
  2. Copy data include and include with user exits
    Start transaction N2T8, enter the institution, document category name and the version of the sample document and display the document category.
    On the next screen use one of the "Detail" pushbuttons.
    Select the "User Exits" tab page and determine the name of the data include, the include with the user exists and the name of your own form.
    Copy the data include and the include with the user exits into your namespace (e.g. using SE80 or Create and Copy/Paste) and activate them.
  3. Complete new document category definition
    1. Enter the name of the new includes into your new document category definition on the "User Exits" tab page.

      Call the element list
    2. On the "Dialog Positions" and "Dialog - Tab Page Assignments" tab pages, check whether the tab page assignment of the fields of the patient and case data, parameters and request details match those in the sample document.
    3. On the "Dialog Function" tab page check whether the OK code and form routine were correctly transferred for active objects (e.g. checkboxes, radio buttons).
    4. Select the "User Exits Interface (Gen-2)" tab page.
      Check whether all entries in the "Grouping" column match those in the sample document category (and supplement if necessary).
      You can change both alias names of the master element and the tab.
    5. For some business partners (findings creator, supervisor) the external data module ISHMVMAST2 is used.
      First you must make all fields of this BP structure visible, so that the program logic takes these into account during generation. After the first generation you can make the Abbreviation, Rank, and Specialist Area fields invisible once again.
    6. In your document category find the fields of the "link element" type and supplement the customizing in the same way as the entry in the sample document.
      If necessary enter the newly selected name.
    7. If you have copied the cardiac catheter findings, you should observe the necessary entries for the data transfer from the cardiac catheter log .
  4. Table processing
    Start table processing.
    For each table you execute the "Save" and "Activate" functions.
    Some tables contain value fields and corresponding unit fields. These tables can not yet be activated here. Use transaction SE11 to create the same value/unit relationship as the sample document and activate the table. If you again call table processing in the document category definition, all tables should be complete and activated.
  5. Layout check
    1. Make a layout check and ensure that the layout corresponds to that of the sample document (with exception of the business partner fields). For some fields you may need to toggle between a list box and a radio button (graphic indicator).
  6. Generate dialog application
    1. Generate the (complete) program.
  7. Copy and adapt forms for printing
    1. Start transaction SE71.
      Execute the "Utilities> Copy from Client" action.
      Enter the form name and the source client of your form entered in the sample document and the new form name as the destination in your namespace. In the new form you must adapt the name of the source, which still contains the table names of the sample document e.g. in N2CA02-ISHMPATNAM(*) you must replace the string N2CA02 with the table name valid in your document category. The printout of the cardiac catheter findings is implemented in the sample document using a smart form. To do this you should also copy the form N8CAHKB_1 using the Smartforms transaction into your namespace, in order to be able to adapt the letter header. The new name must match that of the new SAPscript form. You can optionally copy the other smart forms (N8CAHKB_2 to N8CAHKB_5).
  8. Enter form name in document category
    1. Enter the new form name in your document category definition on the "User Exits" tab page as your own form. You should also refer to the notes on printing the
      cardiac catheter findings.
  9. Test new document
    1. You should now test your new document category, before you incorporate your desired changes. To do this you require a suitable environment (service facility, service performed for a patient).
  10. Incorporate desired changes
    1. In case of changes you should first edit the abstract design of your document category. You cannot change supplied structures and tables! This means that you may need to create new superordinate documentation elements. If the abstract design is being processed, update your document category definition. Select the (proposed) options:
      - Transfer parameters: From the element list
      - Recalculate dialog positions: No
      You then edit the definite layout to adapt the layout.
    2. Change BDS objects for the interactive HTML viewer
      In some documents HTML objects are used as graphical input helps.
      These use functionalities of the PMD link element 'HTML Viewer'. These can merge HTML code and background graphics, which are separately stored in so-called Business Document Service, at runtime and also transfer data from HTML forms into the PMD or send data from the PMD into the HTML form, if the 'Activate Form Processing' indicator is set. The addressing of this functionality is controlled by user exits in the PMD. The supplied BDS objects for HTML documents in cardiology are entered as follows "BDS:N2DSCA...." in the customizing of the link objects of the HTML viewer type. In order to use HTML documents here, several steps are necessary: - In table BDS_LOCL two special entries are necessary. You can check these using the transaction SBDSV1. The entries 'ISHMED_HTML' and 'ISHMED_PICTURES' must exist. - Use transaction OAC2 to determine whether a document type is active for HTML (e.g. BDS_HTMLT) and another document type for images (e.g. BDS_IMAGE) ([S]tatus column). - Start transaction OAOR and select documents of the class ISHMED_HTML or ISHMED_PICTURES, class type 'OT'. Select the supplied document which you wish to replace and export this locally. Edit it locally and execute the transaction again, but this time assign a name (e.g. Z-namespace) for your new BDS object. By double-clicking on a document type (HTML or image) you can start the upload. If your BDS object should also be available in target systems, select the individual object with the checkbox and initiate a manual transport by button. (Note: BDS objects are transported
Business Attributes
ASAP Roadmap ID 899   not to be assigned 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_ISHMED_CAPDOCNE 0 I010004300 Clinical System 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20070103 
SAP Release Created in 700