<?xml version="1.0" encoding="UTF-8"?>
<!-- Draft of E-ARK eHealth METS Profile 1.0 -->
<METS_Profile
    xmlns="http://www.loc.gov/METS_Profile/v2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:mets="http://www.loc.gov/METS/"
    xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS"
    xmlns:sip="https://DILCIS.eu/XML/METS/SIPExtensionMETS"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="http://www.loc.gov/METS_Profile/v2 http://www.loc.gov/standards/mets/profile_docs/mets.profile.v2-0.xsd http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd http://www.w3.org/1999/xlink http://www.loc.gov/standards/mets/xlink.xsd"
    STATUS="provisional"
    REGISTRATION="unregistered"
    ID="eHealth1REPRESENTATIONV0.0.1">
    <URI LOCTYPE="URL" ASSIGNEDBY="local">https://earkehealth1.dilcis.eu/profile/E-ARK-eHealth1-REPRESENTATION.xml</URI>
    <title>E-ARK eHealth1 representation METS Profile 1.0</title>
    <abstract>This is the profile for an representation METS following E-ARK eHealth1. Its an extension of the E-ARK SIP profile which in its turn extends the CS IP profile.</abstract>
    <date>2020-07-24T12:00:00</date>
    <contact>
        <institution>DILCIS Board</institution>
        <address>http://dilcis.eu/</address>
        <email>info@dilcis.eu</email>
    </contact>
    <related_profile RELATIONSHIP="Extends" URI="https://earksip.dilcis.eu/profile/E-ARK-SIP.xml">E-ARK SIP METS Profile 2.0.4</related_profile>
    <profile_context>
        <resource_model>
          <head>E-ARK eHealth1 REPRESENTATION profile</head>
            <p xmlns="http://www.w3.org/1999/xhtml">This profile together with the E-ARK CITS eHealth1 document describes the root METS document for an IP conforming to the E-ARK CITS eHealth1.</p>
        </resource_model>
    </profile_context>
    <external_schema>
        <name>E-ARK SIP METS Extension</name>
            <URL>https://earksip.dilcis.eu/schema/DILCISExtensionSIPMETS.xsd</URL>
            <context>XML-schema for the attributes added by SIP</context>
            <note>
                <p xmlns="http://www.w3.org/1999/xhtml">An extension schema with the added attributes for use in this profile.</p>
                <p xmlns="http://www.w3.org/1999/xhtml">The schema is used with a namespace prefix of sip.</p>
            </note>
    </external_schema>
    <external_schema>
        <name>E-ARK CSIP METS Extension</name>
        <URL>http://earkcsip.dilcis.eu/schema/DILCISExtensionMETS.xsd</URL>
        <context>XML-schema for the attributes added by CSIP</context>
        <note>
            <p xmlns="http://www.w3.org/1999/xhtml">An extension schema with the added attributes for use in this profile.</p>
            <p xmlns="http://www.w3.org/1999/xhtml">The schema is identified using the namespace prefix csip.</p>
        </note>
    </external_schema>
    <description_rules>
        <p xmlns="http://www.w3.org/1999/xhtml">The filepath must be decoded consistently throughout all file references within the information package.</p>
    </description_rules>
    <controlled_vocabularies>
        <vocabulary ID="VocabularyaltrecordIDTYPE">
            <name>Alternative record ID's</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earksip.dilcis.eu/schema/SIPVocabularyRecordIDType.xml</URI>
            <context>Used in `altrecordID/@TYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of the alternative record ID.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyNoteType">
            <name>Note type</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyNoteType.xml</URI>
            <context>Used in `@csip:NOTETYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of a note for an agent.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyContentInformationTypeSpecification">
            <!-- Karin: Value eHealth1 is needed to be added -->
            <name>Content information type specification</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyContentInformationType.xml</URI>
            <context>Values for `@csip:CONTENTINFORMATIONTYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Lists the names of specific E-ARK content information type specifications supported or maintained in this METS profile.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyContentCategory">
            <name>Content Category</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyContentCategory.xml</URI>
            <context>Values for `mets/@type`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Declares the categorical classification of package content.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyFileGrpAndStructMapDivisionLabel">
            <name>File group names</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyFileGrpAndStructMapDivisionLabel.xml</URI>
            <context>Values for `fileGrp/@USE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the uses of the file group `&lt;fileGrp&gt;` that are supported by the profile.</p>
                <p xmlns="http://www.w3.org/1999/xhtml">Own names should be placed in an own extending vocabulary.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyEHealth1StructMapDivisionLabel">
            <!-- Karin: Needs to be created -->
            <name>Structural map divisions labels in eHealth1</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/eHealth1VocabularyStructMapDivisionLabel.xml</URI>
            <context>Values for `fileGrp/@USE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the uses of the structutal map divisions label that are supported by the profile.</p>
                <p xmlns="http://www.w3.org/1999/xhtml">Own names should be placed in an own extending vocabulary.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyStatus">
            <name>dmdSec status</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyStatus.xml</URI>
            <context>Values for `dmdSec/@STATUS`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the status of the descriptive metadata section (dmdSec) which is supported by the profile.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyFHIR">
            <name>FHIR resources</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkehealth1.dilcis.eu/schema/eHealth1VocabularyFHIR.xml</URI>
            <context>Values for `dmdSec/mdRef/@OTHERMDTYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of metadata described in the descriptive metadata section (dmdSec) which is supported by the profile.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyIANAmediaTypes">
            <name>IANA media types</name>
            <maintenance_agency>IANAs</maintenance_agency>
            <URI>https://www.iana.org/assignments/media-types/media-types.xhtml</URI>
            <context>Values for `@MIMETYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Valid values for the mime types of referenced files.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyStructMapType">
            <name>Structural map typing</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyStructMapType.xml</URI>
            <context>Values for `structMap/@TYPE`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of the structural map `&lt;structMap&gt;` that is supported by the profile.</p>
                <p xmlns="http://www.w3.org/1999/xhtml">Own types should be placed in an own extending vocabulary.</p>
            </description>
        </vocabulary>
        <vocabulary ID="VocabularyStructMapLabel">
            <!-- Value eHealth1 needs to be added -->
            <name>Structural map label</name>
            <maintenance_agency>DILCIS Board</maintenance_agency>
            <URI>http://earkcsip.dilcis.eu/schema/CSIPVocabularyStructMapLabel.xml</URI>
            <context>Values for `structMap/@LABEL`</context>
            <description>
                <p xmlns="http://www.w3.org/1999/xhtml">Describes the label of the structural map that is supported by the profile.</p>
                <p xmlns="http://www.w3.org/1999/xhtml">Own labels should be placed in an own extending vocabulary.</p>
            </description>
        </vocabulary>
    </controlled_vocabularies>
    <structural_requirements>
        <metsRootElement ID="metsRootElement">
            <requirement ID="EH1" REQLEVEL="MUST" EXAMPLES="metsRootElementExample1">
                <description>
                    <head>Package Identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/@OBJID` attribute is mandatory, its value is a string identifier for the METS document. For the package METS document, this should be the name/ID of the package, i.e. the name of the package root folder.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">For a representation level METS document this value records the repname/ID of the representation, i.e. the name of the top-level representation folder.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/@OBJID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:SIPv2.0.4</dt><dd>https://earksip.dilcis.eu/#SIP1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH2" REQLEVEL="MUST" EXAMPLES="metsRootElementExample1">
                <description>
                    <head>METS Profile</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The value is set to "https://earkehealth1.dilcis.eu/profile/E-ARK-eHealth1-REPRESENTATION.xml".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/@PROFILE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:SIPv2.0.4</dt><dd>https://earksip.dilcis.eu/#SIP2</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH3" REQLEVEL="MUST" RELATEDMAT="VocabularyContentCategory" EXAMPLES="metsRootElementExample1">
                <description>
                    <head>Content Category</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/@TYPE` attribute is set to the value "OTHER".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/@TYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP2</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH4" REQLEVEL="MUST" RELATEDMAT="VocabularyContentCategory" EXAMPLES="metsRootElementExample1">
                <description>
                    <head>Other Content Category</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/@csip:OTHERTYPE` attribute is set to the value "Patient Medical Records".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets[@TYPE='OTHER']/@csip:OTHERTYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP3</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH5" REQLEVEL="MUST" RELATEDMAT="VocabularyContentInformationTypeSpecification" EXAMPLES="metsRootElementExample1">
                <description>
                    <head>Content Information Type Specification</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/@csip:CONTENTINFORMATIONTYPE` attribute is set to the value "eHealth1".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/@csip:CONTENTINFORMATIONTYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP4</dd>
                    </dl>
                </description>
            </requirement>
        </metsRootElement>
        <metsHdr ID="metsHeaderElement">
            <requirement ID="REF_SIP_1" REQLEVEL="SHOULD">
                <description>
                    <head>Package header</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The eHealth1 representation METS metsHdr element should comply with <a href="https://earksip.dilcis.eu/#extendeduseofthemetsheaderelement%60metshdr%60"> metsHdr requirements in the SIP profile.</a></p>
                </description>
            </requirement>
        </metsHdr>
        <dmdSec ID="dmdSecElement">
            <requirement ID="EH6" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Descriptive metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Used to reference Case Patient Clinical Information held in the metadata/descriptive folder of the representation.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">There is one dmdSec present for each descriptive metadata file located in the “repname/metadata” section of the representation.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP17</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH7" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Descriptive metadata identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">An `xml:id` identifier for the descriptive metadata section (`&lt;dmdSec&gt;`) used for internal package references. It must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP18</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH8" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Descriptive metadata creation date</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Creation date of the descriptive metadata in this section.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/@CREATED</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP19</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH9" REQLEVEL="SHOULD" RELATEDMAT="VocabularyStatus" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Status of the descriptive metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Indicates the status of the package using a fixed vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/@STATUS</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP20</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH10" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
                <!-- Karin: Its only possible to have one mdRef in each dmdSec - ok -->
                <description>
                    <head>Reference to the document with the descriptive metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">There MUST be a reference to the descriptive metadata file located in the folder “repname/metadata” section of the representation.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/mdRef</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP21</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH11" REQLEVEL="MUST" RELATEDMAT="EH10" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Type of metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The value for the metadata type is set to "OTHER".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/mdRef[@MDTYPE='OTHER']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP25</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH12" REQLEVEL="MUST" RELATEDMAT="VocabularyFHIR" EXAMPLES="dmdSecExample1">
                <description>
                    <head>Type of other metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Specifies the type of metadata used for Patient Clinical Information.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">For example the value will be “FHIR.Condition” if the FHIR Condition resource is used.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/dmdSec/mdRef[@MDTYPE='OTHER']/@OTHERMDTYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
             </requirement>
        </dmdSec>
        <amdSec ID="amdSecElement">
           <requirement ID="REF_CSIP_1" REQLEVEL="SHOULD">
              <description>
                  <head>Administrative metadata</head>
                  <p xmlns="http://www.w3.org/1999/xhtml">The eHealth1 representation METS document amdSec element should comply with <a href="http://earkcsip.dilcis.eu/#534-use-of-the-mets-administrative-metadata-section-element-amdsec"> amdSec requirements in the CSIP profile.</a></p>
                  <p xmlns="http://www.w3.org/1999/xhtml">In eHealth1 it is required that any rights or digital provenance metadata that is general to the package can be held within the root metadata folder and that any rights or digital provenance metadata that is specific to the data held in the representation should be held in the representation metadata folder.</p>
              </description>
          </requirement>
        </amdSec>
        <fileSec ID="fileSecElement">
            <requirement ID="EH13" REQLEVEL="MUST" EXAMPLES="fileSecExample1">
                <description>
                    <head>File section</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The transferred content within the representation is referenced from the file section in different file group elements. Only a single file section (`&lt;fileSec&gt;`) element should be present.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Representation of the patient Case structural hierarchy is only possible if the file section (`&lt;fileSec&gt;`) is present in the representation.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP58</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH14" REQLEVEL="MUST" RELATEDMAT="VocabularyFileGrpAndStructMapDivisionLabel" EXAMPLES="fileSecExample1">
                <!-- Karin: I've added this one -->
                <description>
                    <head>Representations file groups</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The representation file groups contain the file elements that describe the Case digital objects</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">The file group (`&lt;fileGrp&gt;`) contains the file elements which describe the digital objects. The hierarchical structure of the Patient Medical Records within the CITS eHealth1 requires that digital objects (groups of files that form a single intellectual entity) can be described through the structMap (`&lt;div&gt;`) element. </p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <!-- Karin: I'm not sure about the XPath here -->
                        <!--Why?                       -->
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp[@USE='Representations']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP114</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH15" REQLEVEL="MAY" EXAMPLES="fileSecExample1">
                <description>
                    <head>Reference to administrative metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">If administrative metadata has been provided at a representation level (i.e. there is rights and/or digital provenance metadata that is specific  to the patient data) then this attribute refers to the (`&lt;amdSec&gt;`) of the representation mets.xml by ID.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/@ADMID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP61</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH16" REQLEVEL="MUST" EXAMPLES="fileSecExample1">                
                <description>
                    <head>Reference to descriptive metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">All Patient Personal Clinical Information included in the representation MUST be referenced from a file group element with ‘mets/fileSec/fileGrp/@USE’ attribute “Patient Clinical Information”</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">For example as can be described using the resource FHIR.Condition</p>  
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/@DMDID</dd>
                        <dt>Cardinality</dt><dd>0..n</dd>
                    </dl>
                </description>
            </requirement>            
            <requirement ID="EH17" REQLEVEL="MUST" RELATEDMAT="VocabularyContentInformationTypeSpecification" EXAMPLES="fileSecExample1">
                <description>
                    <head>Content Information Type Specification</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The value of the attribute the `mets/fileSec/fileGrp/@csip:CONTENTINFORMATIONTYPE` is set to "OTHER".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp[@USE='Representations']/@csip:CONTENTINFORMATIONTYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP62</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH18" REQLEVEL="MUST" RELATEDMAT="VocabularyContentInformationTypeSpecification" EXAMPLES="fileSecExample1">
                <description>
                    <head>Other Content Information Type Specification</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The value of the attribute `mets/fileSec/fileGrp/@csip:OTHERCONTENTINFORMATIONTYPE` is set to "eHealth1".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp[@csip:CONTENTINFORMATIONTYPE='OTHER']/@csip:OTHERCONTENTINFORMATIONTYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP63</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH19" REQLEVEL="MUST" EXAMPLES="fileSecExample1">
                <description>
                    <head>Description of the use of the representation file group</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The value in the `mets/fileSec/fileGrp/@USE` is the name of the folder structure to the data, e.g "Representations/submission/data".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/@USE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP64</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH20" REQLEVEL="MUST" EXAMPLES="fileSecExample1">
                <description>
                    <head>Representation file group identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">An `xml:id` identifier for the file group used for internal package references. It must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP65</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH21" REQLEVEL="MUST" EXAMPLES="fileSecExample1">
                <description>
                    <head>File</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The file group (`&lt;fileGrp&gt;`) contains all the file elements which describe the digital objects.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Each file element describes one of the Case digital objects</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP66</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH22" REQLEVEL="MAY" EXAMPLES="fileSecExample2">
                <description>
                    <head>Component byte stream</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">A file may comprise one or more subsidiary byte streams (e.g. an MPEG4 file might contain separate audio and video streams, each of which is associated with technical metadata).</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">The repeatable (`&lt;stream&gt;`) element provides a mechanism to record the existence of separate datastreams within a particular file and to associate (`&lt;dmdSec&gt;`) and (`&lt;amdSec&gt;`) with them.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream</dd>
                        <dt>Cardinality</dt><dd>0..n</dd>    
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH23" REQLEVEL="MUST" EXAMPLES="fileSecExample2">
                <description>
                    <head>Component byte stream identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">A unique xml:id for this object across the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>    
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH24" REQLEVEL="MUST" RELATEDMAT="VocabularyIANAmediaTypes" EXAMPLES="fileSecExample2">
                <description>
                    <head>Stream mimetype</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The IANA mime type for the referenced byte stream.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream/@MIMETYPE</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>    
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH25" REQLEVEL="MAY" EXAMPLES="fileSecExample2">
                <description>
                    <head>Stream original identification</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">If an identifier for the byte stream was supplied by the owner, it can be recorded in this attribute.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream/@OWNERID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>    
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH26" REQLEVEL="MAY" EXAMPLES="fileSecExample2">
                 <description>
                    <head>Stream reference to the administrative metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">If administrative metadata has been provided for the stream this attribute refers to the streams's administrative metadata by ID.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">For the administrativ description of the byte stream the <a href="http://www.loc.gov/standards/premis/">PREMIS standard</a> is recommended.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream/@ADMID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>    
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH27" REQLEVEL="MAY" EXAMPLES="fileSecExample2">
                <description>
                    <head>Stream reference to the descriptive metadata</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">If descriptive metadata has been provided for the stream this attribute refers to the streams's descriptive metadata by ID.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/fileSec/fileGrp/file/stream/@DMDID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>    
                    </dl>
                </description>
            </requirement>
        </fileSec>
        <structMap ID="structMapElement">
            <requirement ID="EH28" REQLEVEL="MUST" EXAMPLES="structMapExample1">
                <description>
                    <head>Structural description of the package</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">There MUST be one structural map following the requirements in the E-ARK SIP and thus E-ARK CSIP present.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='CSIP']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP80</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH29" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Structural description of the eHealth1 representation</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Each representation METS file must include ONE structural map (`&lt;structMap&gt;`) element as exactly as described here.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Institutions can add their own additional custom structural maps as separate `&lt;structMap&gt;` sections.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP80</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH30" REQLEVEL="MUST" RELATEDMAT="VocabularyStructMapType" EXAMPLES="structMapExample2">
                <description>
                    <head>Type of structural description</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/structMap/@TYPE` attribute must take the value “PHYSICAL” from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@TYPE='PHYSICAL']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP81</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH31" REQLEVEL="MUST" RELATEDMAT="VocabularyStructMapLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Name of the structural description</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The `mets/structMap/@LABEL` attribute value is set to “eHealth1” from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP82</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH32" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Structural description identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">An `xml:id` identifier for the structural description (structMap) used for internal package references. It must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP83</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH33" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Main structural division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The structural map comprises a single division.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP84</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH34" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Main structural division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP85</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH35" REQLEVEL="MUST" RELATEDMAT="EH1" EXAMPLES="structMapExample2">
                <description>
                    <head>Main structural division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's top-level structural division `&lt;div&gt;` element's `@LABEL` attribute value must be identical to the package identifier, i.e. the same value as the `mets/@OBJID` attribute.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/@LABEL</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP86</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH36" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Metadata division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The metadata referenced in the administrative and/or descriptive metadata section is described in the structural map with one sub division.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Metadata']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP88</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH37" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Metadata division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Metadata']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP89</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH38" REQLEVEL="MUST" RELATEDMAT="VocabularyFileGrpAndStructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Metadata division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The metadata division `&lt;div&gt;` element's `@LABEL` attribute value must be "Metadata".</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Metadata']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP90</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH39" REQLEVEL="SHOULD" EXAMPLES="structMapExample2">
                <description>
                    <head>Metadata division administrative metadata referencing</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">When there is administrative metadata and the amdSec is present, all administrative metadata MUST be referenced via the administrative sections different identifiers.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">All of the `&lt;amdSec&gt;` identifiers are listed in a single `@ADMID` using spaces as delimiters.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Metadata']/@ADMID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP91</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH40" REQLEVEL="SHOULD" EXAMPLES="structMapExample2">
                <description>
                    <head>Metadata division descriptive metadata referencing</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">When there are descriptive metadata and one or more dmdSec is present, all descriptive metadata MUST be referenced via the descriptive section identifiers.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Every `&lt;dmdSec&gt;` identifier is listed in a single `@DMDID` attribute using spaces as delimiters.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Metadata']/@DMDID</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP92</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH41" REQLEVEL="SHOULD" EXAMPLES="structMapExample2">
                <description>
                    <head>Documentation division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The documentation referenced in the file section file groups is described in the structural map with one sub division.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Documentation']</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP93</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH42" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Documentation division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Documentation']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP94</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH43" REQLEVEL="MUST" RELATEDMAT="VocabularyFileGrpAndStructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Documentation division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The documentation division `&lt;div&gt;` element in the package uses the value "Documentation" from the vocabulary as the value for the `@LABEL` attribute.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Documentation']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP95</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH44" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Documentation file referencing</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">All file groups containing documentation described in the package are referenced via the relevant file group identifiers. There MUST be one file group reference per `&lt;fptr&gt;` element.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Documentation']/fptr</dd>
                        <dt>Cardinality</dt><dd>0..n</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP96</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH45" REQLEVEL="MUST" RELATEDMAT="EH19" EXAMPLES="structMapExample2">
                <description>
                    <head>Documentation file group reference pointer</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">A reference, by ID, to the "Documentation" file group.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Related to the requirement which describes the "Documentation" file group in CSIP and the requirement which describes the file group identifier.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='Documentation']/fptr/@FILEID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                        <dt>REF:CSIPv2.0.4</dt><dd>https://earkcsip.dilcis.eu/#CSIP116</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH46" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Data division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Within eHealth1 patient Cases MUST be held within a data folder within a minimum single representation and described in the structural map within a single sub-division. There are no files contained within the data division.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']</dd>
                        <dt>Cardinality</dt><dd>0..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH47" REQLEVEL="MUST" EXAMPLES="structMapExample1">
                <description>
                    <head>Data division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH48" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Data division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's data division `&lt;div&gt;` element must have the `@LABEL` attribute value "DATA", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH49" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient Case division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Each Patient Case contains Documents that are related in some way (e.g. chronologically and/or share a particular set of diagnoses and/or treatments). </p>
                    <p xmlns="http://www.w3.org/1999/xhtml">A Patient Case is a folder located in the ”Data” folder within the representation and may contain any number of Sub-cases and Documents. </p>
                    <p xmlns="http://www.w3.org/1999/xhtml">Every package must contain at least one Patient Case. A Case is represented within a second level sub-division.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH50" REQLEVEL="MUST" EXAMPLES="structMapExample1">
                <description>
                    <head>Patient case division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH51" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient case division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's patient case division `&lt;div&gt;` element must have the `@LABEL` attribute value "CASE", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH52" REQLEVEL="MAY" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient Case Document division</head>
                    <!-- Stephen: changed documentation to Document -->
                    <p xmlns="http://www.w3.org/1999/xhtml">Each Patient Case MAY contain individual  Data Files that are related logically and together form  Documents (e.g. a book, video, image and annotation, document and audio notes).</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']</dd>
                        <dt>Cardinality</dt><dd>0..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH53" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Document division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH54" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Document division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's Patient Documentation division `&lt;div&gt;` element must have the `@LABEL` attribute value "DOCUMENT", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH55" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient Case Data File division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Data Files are components which contain data and have associated MIME file types.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">A Data File can be a single bit stream or can encapsulate bit streams and attributes according to a standard such as a DICOM or MP4.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH56" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Data File division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH57" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Data File division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's patient case/documentation/data file division `&lt;div&gt;` element must have the `@LABEL` attribute value "DATAFILE", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH58" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Data File division file group reference</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">All file groups containing content described in the package are referenced via the relevant file group identifiers. One file group reference per fptr-element.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']/fptr</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH59" REQLEVEL="MUST" RELATEDMAT="EH19" EXAMPLES="structMapExample2">
                <description>
                    <head>Data File division file group references</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The pointer to the identifier for the file group containing the data files.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']/fptr/@FILEID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH60" REQLEVEL="MAY" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Each Patient Sub-case contains Documents that are related in some way (e.g. chronologically and/or share a particular set of diagnoses and/or treatments). </p>
                    <p xmlns="http://www.w3.org/1999/xhtml">A Patient  Sub-case is a folder located in a Case folder within the representation and must contain at least one Document. </p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH61" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH62" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's patient sub-case division `&lt;div&gt;` element must have the `@LABEL` attribute value "SUBCASE", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH63" REQLEVEL="MAY" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case document division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Each Patient sub-case can contain individual  Data Files that are related logically and together form  Documents (e.g. a book, video, image and annotation, document and audio notes).</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH64" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case documentation division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH65" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Patient sub-case documentation division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's patient sub-case/documentation division `&lt;div&gt;` element must have the `@LABEL` attribute value "DOCUMENT", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH66" REQLEVEL="MAY" EXAMPLES="structMapExample2">
                <description>
                    <head>Sub-case data file division</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Data Files are components which contain data and have associated MIME file types.</p>
                    <p xmlns="http://www.w3.org/1999/xhtml">A Data File can be a single bit stream or can encapsulate bit streams and attributes according to a standard such as a DICOM or MP4.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']</dd>
                        <dt>Cardinality</dt><dd>1..n</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH67" REQLEVEL="MUST" EXAMPLES="structMapExample2">
                <description>
                    <head>Sub-case data file division identifier</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">Mandatory, `xml:id` identifier must be unique within the package.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']/@ID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH68" REQLEVEL="MUST" RELATEDMAT="VocabularyEHealth1StructMapDivisionLabel" EXAMPLES="structMapExample2">
                <description>
                    <head>Sub-case data file division label</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The package's sub-case/documentation/data file division `&lt;div&gt;` element must have the `@LABEL` attribute value "DATAFILE", taken from the vocabulary.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
            <requirement ID="EH69" REQLEVEL="MUST" RELATEDMAT="EH19" EXAMPLES="structMapExample2">
                <description>
                    <head>Sub-case data File division file group references</head>
                    <p xmlns="http://www.w3.org/1999/xhtml">The pointer to the identifier for the file group containing the data files.</p>
                    <dl xmlns="http://www.w3.org/1999/xhtml">
                        <dt>METS XPath</dt><dd>mets/structMap[@LABEL='eHealth1']/div/div[@LABEL='DATA']/div[@LABEL='CASE']/div[@LABEL='SUBCASE']/div[@LABEL='DOCUMENT']/div[@LABEL='DATAFILE']/fptr/@FILEID</dd>
                        <dt>Cardinality</dt><dd>1..1</dd>
                    </dl>
                </description>
            </requirement>
         </structMap>
         <structLink ID="structLinkElement">
           <requirement REQLEVEL="MAY" ID="REF_METS_1">
               <description>
                   <head>structLink</head>
                   <p xmlns="http://www.w3.org/1999/xhtml">Section not defined or used in CSIP, additional own uses may occur.</p>
                   <p xmlns="http://www.w3.org/1999/xhtml">Information regarding the structural links is found in the <a href="http://www.loc.gov/standards/mets/METSPrimer.pdf">METS Primer</a></p>
               </description>
           </requirement>
         </structLink>
        <behaviorSec ID="behaviorSecElement">
          <requirement REQLEVEL="MAY" ID="REF_METS_2">
              <description>
                  <head>behaviorSec</head>
                  <p xmlns="http://www.w3.org/1999/xhtml">Section not defined or used in CSIP, additional own uses may occur.</p>
                  <p xmlns="http://www.w3.org/1999/xhtml">Information regarding the behavior section is found in the <a href="http://www.loc.gov/standards/mets/METSPrimer.pdf">METS Primer</a></p>
            </description>
          </requirement>
        </behaviorSec>
    </structural_requirements>
    <technical_requirements>
        <content_files>
            <requirement>
                <description>
                    <p xmlns="http://www.w3.org/1999/xhtml">Requirements not stated in CITS eHealth1</p>
                </description>
            </requirement>
        </content_files>
        <behavior_files>
            <requirement>
                <description>
                    <p xmlns="http://www.w3.org/1999/xhtml">Requirements not stated in CITS eHealth1</p>
                </description>
            </requirement>
        </behavior_files>
        <metadata_files>
            <requirement>
                <description>
                    <p xmlns="http://www.w3.org/1999/xhtml">Requirements not stated in CITS eHealth1</p>
                </description>
            </requirement>
        </metadata_files>
    </technical_requirements>
    <tool>
        <note>
            <p xmlns="http://www.w3.org/1999/xhtml">Currently no tool</p>
        </note>
    </tool>
    <Example ID="metsRootElementExample1" LABEL="METS example of representation METS element for an IP following the CITS eHealth1">
        <!-- Karin: Have made the xml validate. -->
        <mets:mets  xmlns:mets="http://www.loc.gov/METS/" 
            xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS"
            xmlns:sip="https://DILCIS.eu/XML/METS/SIPExtensionMETS"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	 
            xmlns:xlink="http://www.w3.org/1999/xlink"
            OBJID="ehealth1-root-mets-example-submission"
            TYPE="OTHER" 
            csip:OTHERTYPE="Patient Medical Records" 
            csip:CONTENTINFORMATIONTYPE="eHealth1" 
            PROFILE="https://earksip.dilcis.eu/profile/E-ARK-eHealth1-REPRESENTATION.xml" 
            xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd
            http://www.w3.org/1999/xlink http://www.loc.gov/standards/mets/xlink.xsd
            https://dilcis.eu/XML/METS/CSIPExtensionMETS 
            https://earkcsip.dilcis.eu/schema/DILCISExtensionMETS.xsd 
            https://dilcis.eu/XML/METS/SIPExtensionMETS 
            https://earksip.dilcis.eu/schema/DILCISExtensionSIPMETS.xsd">
        </mets:mets>
    </Example>    
    <Example ID="dmdSecExample1" LABEL="METS example of representation METS dmdSec:s with reference to HL7 FHIR Patient Clinical Information is used">
        <mets:dmdSec ID="dmd1-ehealth" CREATED="2018-04-24T15:27:45.702+01:00" STATUS="CURRENT">
            <mets:mdRef 
                LOCTYPE="URL"
                xlink:type="simple"
                xlink:href="metadata/descriptive/condition1.xml"
                MDTYPE="OTHER"
                OTHERMDTYPE="FHIR.condition"
                MIMETYPE="application/xml" 
                SIZE="758"
                CREATED="2018-04-24T14:37:49.609+01:00" 
                CHECKSUM="31C54EC8D5632B262A62CC3D691A8A6A3DD647670865BE8596D2A7F62DBBC6AB"
                CHECKSUMTYPE="SHA-256"/>
        </mets:dmdSec>
        <mets:dmdSec ID="dmd2-ehealth" CREATED="2018-04-24T14:37:49.609+01:00" STATUS="CURRENT">   
            <mets:mdRef 
                LOCTYPE="URL"
                xlink:type="simple"
                xlink:href="metadata/descriptive/allergyintollerance1.xml" 
                MDTYPE="OTHER" 
                OTHERMDTYPE="FHIR.allergyintollerance" 
                MIMETYPE="application/xml" 
                SIZE="234"
                CREATED="2018-04-24T14:21:36.302+01:00"
                CHECKSUM="B87FA9B95AFB0C0CECEAB79074B3F95098A5AB709B9603FE4A02B82E8BDDE744"
                CHECKSUMTYPE="SHA-256" />            
        </mets:dmdSec>
    </Example>
    <Example ID="fileSecExample1" LABEL="METS representation example for eHealth1 with file information together with the info from CS IP.">
        <mets:fileSec ID="filesec-docx-file-1">
            <mets:fileGrp ID="filegrp-documentation" USE="Documentation">
                <mets:file ID="file-ptr-documentation-file1" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="2352367" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="D2DF16632617402BF279D61DBC9F73675E033ABA6B94A78D4B9607CE5CAAFA3E" CHECKSUMTYPE="SHA-256">
                    <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File.docx"/>                    	
                </mets:file>
                <mets:file ID="file-ptr-documentation-file2" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="1344782" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="FD7EE6C02AC30570BA8C73E0E8CCDDA77C5428F3E6F6BEA7834F9B1AEB4D8F20" CHECKSUMTYPE="SHA-256">
                    <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File2.docx"/>                    
                </mets:file>
            </mets:fileGrp>
                <mets:fileGrp ID="filegrp-representation" USE="/data/" csip:CONTENTINFORMATIONTYPE="eHealth1">
                    <mets:file ID="file-ptr-representation-file1" MIMETYPE="PDF" SIZE="2314264" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="9EC53E81CDEC19FA665BDDB30ECE11067EF536F3599C67713DCE0FF2FCD81CC7" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-2 digiprov-premis-file-1">
                        <!-- Added a file name here -->
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes0.pdf"/>                        
                    </mets:file>
                    <mets:file ID="file-ptr-representation-file2" MIMETYPE="PDF" SIZE="1385742" CREATED="2018-04-24T15:27:39.617+01:00" CHECKSUM="0EA28B91A3B36D1D90E598301E6F1556B073BAE7DA9C2F242D93D2091D10D426" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-4 digiprov-premis-file-3">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes1.pdf"/>                        
                    </mets:file>
                    <mets:file ID="file-ptr-representation-file3" MIMETYPE="PDF" SIZE="1341744" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="8FE5B1B292B0CD7741C2CD33221AAA80B6B4EB576D129A2CB5C16D7101CB1C1C" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-6 digiprov-premis-file-5">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes2.pdf"/>                        
                    </mets:file>
                </mets:fileGrp>
        </mets:fileSec>
    </Example>
    <Example ID="fileSecExample2" LABEL="METS representation example for eHealth1 with file information and streams together with the info from CS IP.">
        <mets:fileSec ID="filesec-docx-file-1">
            <mets:fileGrp ID="filegrp-documentation" USE="Documentation">
                <mets:file ID="file-ptr-documentation-file1" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="153246" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="1E07128C776A1228EC192CA41CC75A763479246F096F68D4EB058ACE5C94D428" CHECKSUMTYPE="SHA-256">
                    <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File.docx"/>                    
                </mets:file>
                <mets:file ID="file-ptr-documentation-file2" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="5214532" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="46E46C9CC1A9F07FAA42BFA1853C1466B235AD58DD0D827C9D06C1910A1B9366" CHECKSUMTYPE="SHA-256">
                    <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File2.docx"/>                    
                </mets:file>
            </mets:fileGrp>
                <mets:fileGrp ID="filegrp-representation" USE="/data/" csip:CONTENTINFORMATIONTYPE="eHealth1">
                    <mets:file ID="file-ptr-representation-file1" MIMETYPE="PDF" SIZE="1337808" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="E5C853A25A1A86ADDBFA5F54FBF5F0F2D97E8F257E2DB7640CA85E462D38652A" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-7 digiprov-premis-file-8">
                      <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes0.pdf"/>                        
                    </mets:file>                    
                    <mets:file ID="file-ptr-representation-file2" MIMETYPE="application/mp4" SIZE="3189002" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="1A7FF5D05D4BEDBFD09447F633586646EF55F59480A1FF30B5D26D6866604F2F" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-2 digiprov-premis-file-1">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/procedure.mp4"/>                        
                        <mets:stream ID="file-ptr-representation-file2-stream1" MIMETYPE="video/mp4" SIZE="4236737" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="3A4DF1ADB67D2E74F4A6A7E39A7714ED330F066144D0A8774DA83B1BB77FA9EB" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-4 digiprov-premis-file-3"/>
                        <mets:stream ID="file-ptr-representation-file2-stream2" MIMETYPE="audio/mp3" SIZE="1132354" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="7176A627870CFA3854468EC43C5A56F9BD8B30B50A983B8162BF56298A707667" CHECKSUMTYPE="SHA-256" ADMID="digiprov-premis-file-6 digiprov-premis-file-5"/>           
                    </mets:file>
                </mets:fileGrp>
        </mets:fileSec>
    </Example>
    <Example ID="structMapExample1" LABEL="METS example of the CSIP mandatory structural map present in the representation METs for eHealth1">
        <mets:structMap ID="struct-map-example-1" TYPE="PHYSICAL" LABEL="CSIP">
            <mets:div ID="struct-map-example-div" LABEL="csip-mets-example">
                <mets:div ID="struct-map-metadata-div" LABEL="Metadata" ADMID="digiprov-premis-file-1 digiprov-premis-file-2" DMDID="dmd-ead-file"/>
                <mets:div ID="struct-map-doc-div" LABEL="Documentation">
                    <mets:fptr FILEID="file-ptr-doc"/>
                </mets:div>
                <mets:div ID="struct-map-schema-div" LABEL="Schemas">
                    <mets:fptr FILEID="file-grp-schema"/>
                </mets:div>
                <mets:div ID="struct-map-reps-sub-div" LABEL="Representations">
                    <mets:fptr FILEID="filegrp-representation"/>
                </mets:div>
            </mets:div>
        </mets:structMap>
    </Example>
    <Example ID="structMapExample2" LABEL="METS example of the eHealth1 mandatory structural map present in the representation METS for eHealth1">
        <mets:structMap ID="struct-map-example-2" TYPE="PHYSICAL" LABEL="eHealth1" >
            <mets:div ID= "struct-map-example-div" LABEL= "struct-map-example-div">
                <mets:div ID="struct-map-metadata-div" LABEL= "Metadata" DMDID= "dmd-ead-file" ADMID="digiprov-premis-file-1 digiprov-premis-file-2 digiprov-premis-file-3 digiprov-premis-file-4"/>
                <mets:div ID= "struct-map-data-div" LABEL= "DATA">
                    <mets:div ID = "struct-map-case-1-div" LABEL="CASE">
                        <mets:div ID = "struct-map-case-1-document-div" LABEL="DOCUMENT"> 
                            <mets:div ID= "struct-map-case-1-document-datafile-div" LABEL="DATAFILE">
                                <mets:fptr FILEID = "filegrp-representation">
                                </mets:fptr>
                            </mets:div>
                        </mets:div>  
                    </mets:div>
                    <mets:div ID = "struct-map-case-2-div" LABEL="CASE"> 
                        <mets:div ID="struct-map-case-2-subcase-div" LABEL="SUBCASE"> 
                            <mets:div ID="struct-map-case-2-subcase-document-div" LABEL="DOCUMENT"> 
                                <mets:div ID="struct-map-case-2-subcase-document-datafile-div" LABEL="DATAFILE"> 
                                    <mets:fptr FILEID = "filegrp-representation2">
                                    </mets:fptr>
                                </mets:div>
                            </mets:div>   
                            </mets:div>
                        </mets:div>
                    </mets:div>
                </mets:div>
        </mets:structMap>
    </Example>
    <Appendix NUMBER="1" LABEL="Example of a whole METS document describing an representation following CITS eHealth1.">
        <mets:mets  xmlns:mets="http://www.loc.gov/METS/" 
            xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS"
            xmlns:sip="https://DILCIS.eu/XML/METS/SIPExtensionMETS"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	 
            xmlns:xlink="http://www.w3.org/1999/xlink"
            OBJID="ehealth1-root-mets-example-submission"
            TYPE="OTHER" 
            csip:OTHERTYPE="Patient Medical Records" 
            csip:CONTENTINFORMATIONTYPE="eHealth1" 
            PROFILE="https://earksip.dilcis.eu/profile/E-ARK-eHealth1-REPRESENTATION.xml" 
            xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd
            http://www.w3.org/1999/xlink http://www.loc.gov/standards/mets/xlink.xsd
            https://dilcis.eu/XML/METS/CSIPExtensionMETS 
            https://earkcsip.dilcis.eu/schema/DILCISExtensionMETS.xsd 
            https://dilcis.eu/XML/METS/SIPExtensionMETS 
            https://earksip.dilcis.eu/schema/DILCISExtensionSIPMETS.xsd">
            <mets:metsHdr CREATEDATE="2018-04-24T14:37:49.602+01:00" 
                LASTMODDATE="2018-04-24T14:37:49.602+01:00" 
                RECORDSTATUS="NEW" 
                csip:OAISPACKAGETYPE="SIP">                
                <mets:agent ROLE="CREATOR" TYPE="ORGANIZATION">
                    <mets:name>Skane University Hospital</mets:name>
                    <mets:note csip:NOTETYPE="IDENTIFICATIONCODE">ID:89101112 </mets:note>
                </mets:agent>
                <mets:agent ROLE="OTHER" TYPE="INDIVIDUAL" OTHERROLE="SUBMITTER">
                    <mets:name>Sven Svensson</mets:name>
                    <mets:note>Phone: 08-123456, Email: sven.svensson@mail.mail</mets:note>
                </mets:agent>            
                <mets:agent ROLE="ARCHIVIST" TYPE="ORGANIZATION">
                    <mets:name>The Swedish health agency</mets:name>
                    <mets:note csip:NOTETYPE="IDENTIFICATIONCODE">ID:1234567</mets:note>
                </mets:agent>   
                <mets:agent ROLE="PRESERVATION" TYPE="ORGANIZATION">
                    <mets:name>The Swedish Health Agency</mets:name>
                    <mets:note csip:NOTETYPE="IDENTIFICATIONCODE">ID:1234567</mets:note>
                </mets:agent>
                <mets:altRecordID TYPE="SUBMISSIONAGREEMENT">http://submissionagreement.kb.se/dnr331-1144-2011/20120711/</mets:altRecordID>
            </mets:metsHdr>
            <mets:dmdSec ID="dmd1-ehealth" CREATED="2018-04-24T15:27:45.702+01:00" STATUS="CURRENT">
                <mets:mdRef 
                    LOCTYPE="URL"
                    xlink:type="simple"
                    xlink:href="metadata/descriptive/condition1.xml"
                    MDTYPE="OTHER"
                    OTHERMDTYPE="FHIR.condition"
                    MIMETYPE="application/xml" 
                    SIZE="758"
                    CREATED="2018-04-24T14:37:49.609+01:00" 
                    CHECKSUM="31C54EC8D5632B262A62CC3D691A8A6A3DD647670865BE8596D2A7F62DBBC6AB"
                    CHECKSUMTYPE="SHA-256"/>
            </mets:dmdSec>
            <mets:dmdSec ID="dmd2-ehealth" CREATED="2018-04-24T14:37:49.609+01:00" STATUS="CURRENT">   
                <mets:mdRef 
                    LOCTYPE="URL"
                    xlink:type="simple"
                    xlink:href="metadata/descriptive/allergyintollerance1.xml" 
                    MDTYPE="OTHER" 
                    OTHERMDTYPE="FHIR.allergyintollerance" 
                    MIMETYPE="application/xml" 
                    SIZE="234"
                    CREATED="2018-04-24T14:21:36.302+01:00"
                    CHECKSUM="B87FA9B95AFB0C0CECEAB79074B3F95098A5AB709B9603FE4A02B82E8BDDE744"
                    CHECKSUMTYPE="SHA-256" />
            </mets:dmdSec>
            <mets:amdSec>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-1" CREATED="2018-04-24T14:37:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis1.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="1211"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="8aa278038dbad54bbf142e7d72b493e2598a94946ea1304dc82a79c6b4bac3d5"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis1.xml"/>
                </mets:digiprovMD>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-2" CREATED="2018-04-24T14:47:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis2.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="2854"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="d1dfa585dcc9d87268069dc58d5e47956434ec3db4087a75a3885d287f15126f"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis2.xml"/>
                </mets:digiprovMD>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-3" CREATED="2018-04-24T14:37:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis3.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="1211"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="8aa278038dbad54bbf142e7d72b493e2598a94946ea1304dc82a79c6b4bac3d5"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis3.xml"/>
                </mets:digiprovMD>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-4" CREATED="2018-04-24T14:47:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis4.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="2854"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="d1dfa585dcc9d87268069dc58d5e47956434ec3db4087a75a3885d287f15126f"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis4.xml"/>
                </mets:digiprovMD>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-5" CREATED="2018-04-24T14:37:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis5.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="1211"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="8aa278038dbad54bbf142e7d72b493e2598a94946ea1304dc82a79c6b4bac3d5"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis5.xml"/>
                </mets:digiprovMD>
                <mets:digiprovMD ID="appdx1.digiprov-premis-file-6" CREATED="2018-04-24T14:47:52.783+01:00">
                    <mets:mdRef
                        LOCTYPE="URL"
                        xlink:type="simple"
                        xlink:href="metadata/preservation/premis6.xml"
                        MDTYPE="PREMIS"
                        MDTYPEVERSION="3.0"
                        MIMETYPE="text/xml"
                        SIZE="2854"
                        CREATED="2018-04-24T14:37:52.783+01:00"
                        CHECKSUM="d1dfa585dcc9d87268069dc58d5e47956434ec3db4087a75a3885d287f15126f"
                        CHECKSUMTYPE="SHA-256"
                        LABEL="premis6.xml"/>
                </mets:digiprovMD>
            </mets:amdSec>
            <mets:fileSec ID="filesec-docx-file-1">
                <mets:fileGrp ID="filegrp-documentation" USE="Documentation">
                    <mets:file ID="file-ptr-documentation-file1" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="2352367" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="D2DF16632617402BF279D61DBC9F73675E033ABA6B94A78D4B9607CE5CAAFA3E" CHECKSUMTYPE="SHA-256">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File.docx"/>                    	
                    </mets:file>
                    <mets:file ID="file-ptr-documentation-file2" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="1344782" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="FD7EE6C02AC30570BA8C73E0E8CCDDA77C5428F3E6F6BEA7834F9B1AEB4D8F20" CHECKSUMTYPE="SHA-256">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File2.docx"/>                    
                    </mets:file>
                </mets:fileGrp>
                <mets:fileGrp ID="filegrp-representation" USE="/data/" csip:CONTENTINFORMATIONTYPE="eHealth1">
                    <mets:file ID="file-ptr-representation-file1" MIMETYPE="PDF" SIZE="2314264" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="9EC53E81CDEC19FA665BDDB30ECE11067EF536F3599C67713DCE0FF2FCD81CC7" CHECKSUMTYPE="SHA-256" ADMID="appdx1.digiprov-premis-file-1 appdx1.digiprov-premis-file-2">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes0.pdf"/>                        
                    </mets:file>
                    <mets:file ID="file-ptr-representation-file2" MIMETYPE="PDF" SIZE="1385742" CREATED="2018-04-24T15:27:39.617+01:00" CHECKSUM="0EA28B91A3B36D1D90E598301E6F1556B073BAE7DA9C2F242D93D2091D10D426" CHECKSUMTYPE="SHA-256" ADMID="appdx1.digiprov-premis-file-3 appdx1.digiprov-premis-file-4">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes1.pdf"/>                        
                    </mets:file>
                    <mets:file ID="file-ptr-representation-file3" MIMETYPE="PDF" SIZE="1341744" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="8FE5B1B292B0CD7741C2CD33221AAA80B6B4EB576D129A2CB5C16D7101CB1C1C" CHECKSUMTYPE="SHA-256" ADMID="appdx1.digiprov-premis-file-5 appdx1.digiprov-premis-file-6">
                        <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="/data/patientnotes2.pdf"/>                        
                    </mets:file>
                </mets:fileGrp>
            </mets:fileSec>
            <mets:structMap ID="struct-map-example-1" TYPE="PHYSICAL" LABEL="CSIP">
                <mets:div ID="struct-map-example-div" LABEL="csip-mets-example">
                    <mets:div ID="struct-map-metadata-div" LABEL="Metadata" ADMID="appdx1.digiprov-premis-file-1 appdx1.digiprov-premis-file-2 appdx1.digiprov-premis-file-3 appdx1.digiprov-premis-file-4 appdx1.digiprov-premis-file-5 appdx1.digiprov-premis-file-6" DMDID="dmd1-ehealth dmd2-ehealth"/>
                    <mets:div ID="struct-map-doc-div" LABEL="Documentation">
                        <mets:fptr FILEID="filegrp-documentation"/>
                    </mets:div>
                    <mets:div ID="struct-map-reps-sub-div" LABEL="Representations">
                        <mets:fptr FILEID="filegrp-representation"/>
                    </mets:div>
                </mets:div>
            </mets:structMap>
            <mets:structMap ID="struct-map-example-2" TYPE="PHYSICAL" LABEL="eHealth1" >
                <mets:div ID= "struct-map-example-2-div" LABEL= "struct-map-example-div">
                    <mets:div ID="struct-map-metadata-2-div" LABEL= "Metadata" DMDID= "dmd1-ehealth dmd2-ehealth" ADMID="appdx1.digiprov-premis-file-1 appdx1.digiprov-premis-file-2 appdx1.digiprov-premis-file-3 appdx1.digiprov-premis-file-4 appdx1.digiprov-premis-file-5 appdx1.digiprov-premis-file-6"/>
                    <mets:div ID= "struct-map-data-div" LABEL= "DATA">
                        <mets:div ID = "struct-map-case-1-div" LABEL="CASE">
                            <mets:div ID = "struct-map-case-1-document-div" LABEL="DOCUMENT"> 
                                <mets:div ID= "struct-map-case-1-document-datafile-div" LABEL="DATAFILE">
                                    <mets:fptr FILEID = "filegrp-representation">
                                    </mets:fptr>
                                </mets:div>
                            </mets:div>  
                        </mets:div>
                        <mets:div ID = "struct-map-case-2-div" LABEL="CASE"> 
                            <mets:div ID="struct-map-case-2-subcase-div" LABEL="SUBCASE"> 
                                <mets:div ID="struct-map-case-2-subcase-document-div" LABEL="DOCUMENT"> 
                                    <mets:div ID="struct-map-case-2-subcase-document-datafile-div" LABEL="DATAFILE"> 
                                        <mets:fptr FILEID = "filegrp-representation">
                                        </mets:fptr>
                                    </mets:div>
                                </mets:div>   
                            </mets:div>
                        </mets:div>
                    </mets:div>
                </mets:div>
            </mets:structMap>
        </mets:mets>
    </Appendix>        
</METS_Profile>
