Correlation between documents using parentId

 

One unique ID (1.2.1.1.3.1. uid) is assigned to one module item (MML basic structure 1.2.1. MmlModuleItem). uid should be UUID. uid is a mandatory element and the MML processor must affix the uid number when the MML instance is created. It is strongly recommended that the uid should be stored locally to another media, when the MML processor receives the MML instance.

Specifying the document with the parent document ID (MML basic structure 1.2.1.1.3.2. parentId) in the MML allows correlation between documents.

The following usage for specification with the parent ID is available:

  1. Correction of document (table MML0008 oldEdition)
    If you want to correct or update the created document, specify the uid of the previous document. It is not necessary to physically delete the previous document. It is desirable that the old document is invisible in the user interface.
  2. Associating order with its result (table MML0008 order)
    Specifying one order document from multiple result documents (usually using a progress course information module for both) allows grouping of test results.
  3. Associating query with response (table MML0008 consult)
    The same function as the thread control of E-mail is available.
  4. Change of diagnoses (table MML0008 originalDiagnosis)
    Time series change of diagnoses may be expressed. End of diagnosis (creation of corrected diagnosis document of which outcome is “end”), change (creation of new diagnosis document different from the previous diagnosis), division (creation of multiple new diagnosis documents for the previous diagnosis document), and merge (creation of a new diagnosis document for multiple previous diagnosis documents) may be indicated.
  5. Applicable health insurance for diagnosis (table MML0008 healthInsurance)
    Each diagnosis may be assigned to an insurance item when required for medical accounting.

 

Supplement:It is desirable that the MML processor receiving the MML instance can search the applicable document with the parent document ID of the MML instance received. However, if there is no guarantee that the receiving MML processor can search the document, the sending MML processor should specify only the documents which have already been sent with the parent document ID.