Thank you so much for the very quick reply. It is amazing. The proper context of the word hereinafter is as follows.
Facilities installed in hospitals (as mentioned in paragraph 1, Article 1-5 of the Medical Service Law (No. 205 of 1948); the same hereinafter) with more than 300 beds, as referred to below: The above sentence is a part of an as
I'm not very skilled in law's documents and another legal stuff , but the thing I know about documents is a lot of shortenings and dismissings about the grammar there.
It's a little difficult to say if your example is correct, without the complete context; but "the same hereinafter" usually means "the same applies (in) later (occurrences) in this document".
Thus you might say:
1. This contract expressly excludes smaller relatives and livestock (including products of livestock, such as chitterlings and nutty gizzards; the same hereinafter).