﻿<?xml version="1.0" encoding="utf-8"?>
<!-- 2021-08-31 Updated to version supporting specification with value citsehpj_v2_0 -->
<!-- 2020-10-01 Draft of E-ARK eHealth METS Profile 1.0 -->
<!-- 2023-03-30 Draft of E-ARK eHealth1 Profile 1.0.1 -->
<!--2024-05-07 Update for v2.0.0 of the specification-->
<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="eHealth1ROOTV2.0.0">
  <URI LOCTYPE="URL" ASSIGNEDBY="local">https://citsehealth1.dilcis.eu/profile/E-ARK-eHealth1-ROOT.xml</URI>
  <title>E-ARK eHealth1 root METS Profile 2.0.0 (citsehpj_v2_0)</title>
  <abstract>This is the profile for a root METS following E-ARK eHealth1. It's an extension of the E-ARK SIP profile which in its turn extends the CS IP profile.</abstract>
  <date>2023-06-14T12: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 ROOT 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="VocabularyRECORDSTATUS">
      <name>Package Status</name>
      <maintenance_agency>DILCIS Board</maintenance_agency>
      <URI>http://earksip.dilcis.eu/schema/SIPVocabularyRecordStatus.xml</URI>
      <context>Used in `@RECORDSTATUS`</context>
      <description>
        <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of the alternative record ID.</p>
      </description>
    </vocabulary>
    <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="VocabularyOAISPackageType">
      <name>OAIS Package Type</name>
      <maintenance_agency>DILCIS Board</maintenance_agency>
      <URI>http://earksip.dilcis.eu/schema/CSIPVocabularyOAISPackageType.xml</URI>
      <context>Used in `@csip:OAISPACKAGETYPE`</context>
      <description>
        <p xmlns="http://www.w3.org/1999/xhtml">Describes the type of the alternative record ID.</p>
      </description>
    </vocabulary>
    <vocabulary ID="VocabularyContentInformationTypeSpecification">
      <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="VocabularyEHealth1">
      <name>Structural map divisions labels in eHealth1</name>
      <maintenance_agency>DILCIS Board</maintenance_agency>
      <URI>https://citsehealth1.dilcis.eu/schema/VocabularyEHealth1.xml</URI>
      <context>Predefined values for different eHealth1 classifications</context>
      <description>
        <p xmlns="http://www.w3.org/1999/xhtml">Describes the extra terms supported by this 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="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">
      <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="EHR1" REQLEVEL="MUST" EXAMPLES="metsRootElementExample1">
        <description>
          <head>METS Profile</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The value is set to "https://citsehealth1.dilcis.eu/profile/E-ARK-eHealth1-ROOT.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.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP2</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR2" 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.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP2</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR3" REQLEVEL="MUST" RELATEDMAT="VocabularyContentCategory VocabularyEHealth1" 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.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP3</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR4" REQLEVEL="MUST" RELATEDMAT="VocabularyContentInformationTypeSpecification" EXAMPLES="metsRootElementExample1">
        <description>
          <head>Content Information Type Specification</head>
          <p xmlns="http://www.w3.org/1999/xhtml"></p>The `mets/@csip:CONTENTINFORMATIONTYPE` attribute is set to the value "citsehpj_v2_0".<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.1.0</dt><dd>https://earkcsip.dilcis.eu/#CSIP4</dd><dt>since</dt><dd>v1.0.0</dd></dl></description>
      </requirement>
    </metsRootElement>
    <metsHdr ID="metsHeaderElement">
      <requirement ID="EHR5" REQLEVEL="SHOULD" RELATEDMAT="VocabularyaltrecordIDTYPE" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Submission agreement</head>
          <p xmlns="http://www.w3.org/1999/xhtml">There SHOULD be a reference to the Submission Agreement associated with the package as the SIP will contain personal data.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">`@TYPE` is used with the value "SUBMISSIONAGREEMENT". Example: http://submissionagreement.kb.se/dnr331-1144-2011/20120711/.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">Note: It is recommended to use a machine-readable format for a better description of a submission agreement.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">For example, the submission agreement developed by Docuteam GmbH <a href="http://www.loc.gov/standards/mets/profiles/00000041.xml">http://www.loc.gov/standards/mets/profiles/00000041.xml</a></p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/altRecordID[@TYPE='SUBMISSIONAGREEMENT']</dd>
            <dt>Cardinality</dt>
            <dd>0..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP5</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR6" REQLEVEL="MUST" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Archival creator agent</head>
          <p xmlns="http://www.w3.org/1999/xhtml">A wrapper element that encapsulates the name of the organisation, software and person that originally created the data being transferred. Please note that this might be different from the organisation which has been charged with preparing and sending the SIP to the archives.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">It MUST be easy to positively identify the creating organisation (healthcare provider) without which the data has no provenance.</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent</dd>
            <dt>Cardinality</dt>
            <dd>1..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP9</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR7" REQLEVEL="MUST" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Archival creator agent role</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The role of the archvial creator organisation is set to the value "CREATOR".</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent[@ROLE='CREATOR']</dd>
            <dt>Cardinality</dt>
            <dd>1..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP10</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR8" REQLEVEL="MUST" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Archival creator agent type</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The type of the archvial creator agent is set to the value "ORGANIZATION".</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent[@TYPE='ORGANIZATION']</dd>
            <dt>Cardinality</dt>
            <dd>1..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP11</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR9" REQLEVEL="MUST" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Archival agent creator name</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The name of the organisation(s) that originally created the data being transferred MUST be given.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">Please note that this might be different from the organisation which has been charged with preparing and sending the SIP to the archives.</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent/name</dd>
            <dt>Cardinality</dt>
            <dd>1..n</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP12</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR10" REQLEVEL="SHOULD" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Archival creator agent additional information</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The archival creator agent SHOULD have a note providing a unique identification code for the archival creator.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">As permitted by national identification systems for healthcare providers submitting Patient Medical Records, an identifier for the provider should be provided.</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent/note</dd>
            <dt>Cardinality</dt>
            <dd>0..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP13</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR11" REQLEVEL="MUST" RELATEDMAT="VocabularyNoteType EHR10" EXAMPLES="metsHdrElementExample1">
        <description>
          <head>Classification of the archival creator agent additional information</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The archival creator agent notetype has a value of "IDENTIFICATIONCODE".</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/metsHdr/agent/note/@csip:NOTETYPE</dd>
            <dt>Cardinality</dt>
            <dd>1..1</dd>
            <dt>REF:SIPv2.1.0</dt>
            <dd>https://earksip.dilcis.eu/#SIP14</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
    </metsHdr>
    <dmdSec ID="dmdSecElement">
      <requirement ID="EHR12" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
        <description>
          <head>Descriptive metadata</head>
          <p xmlns="http://www.w3.org/1999/xhtml">There MUST be a reference to a metadata file held in the the metadata/descriptive folder of the package. At minimum this MUST be a Patient Manifest of Patient Names and unique personal identifiers. It CAN be a more detailed resource such as the FHIR Patient resource ‘FHIR.Patient’.</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.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP17</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR13" REQLEVEL="MUST" EXAMPLES="dmdSecExample1">
        <description>
          <head>Reference to the document with the descriptive metadata</head>
          <p xmlns="http://www.w3.org/1999/xhtml">There MUST be reference() to the descriptive metadata file(s) located in the “metadata” section of the IP.</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/dmdSec/mdRef</dd>
            <dt>Cardinality</dt>
            <dd>1..n</dd>
            <dt>REF:CSIPv2.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP21</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR14" REQLEVEL="MUST" 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.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP25</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR15" REQLEVEL="SHOULD" EXAMPLES="dmdSecExample1">
        <description>
          <head>Type of other metadata</head>
          <p xmlns="http://www.w3.org/1999/xhtml">Specifies the type of metadata used for the Patient Manifest.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">For example the value will be “FHIR.Patient” if the FHIR Patient 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>
            <dt>since</dt>
            <dd>v1.0.0</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 root 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 should 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="EHR16" REQLEVEL="MUST" EXAMPLES="fileSecExample1">
        <description>
          <head>File section</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The transferred content is placed in a representation folder described with a representation METS document.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">Only a single file section (`&lt;fileSec&gt;`) element MUST be present.</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.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP58</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
      <requirement ID="EHR22" 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 `mets/fileSec/fileGrp/@csip:CONTENTINFORMATIONTYPE` is set to "citsehpj_v2_0".</p>
          <dl xmlns="http://www.w3.org/1999/xhtml">
            <dt>METS XPath</dt>
            <dd>mets/fileSec/fileGrp[@csip:CONTENTINFORMATIONTYPE='citsehpj_v2_0']</dd>
            <dt>Cardinality</dt>
            <dd>1..1</dd>
            <dt>REF:CSIPv2.1.0</dt>
            <dd>https://earkcsip.dilcis.eu/#CSIP62</dd>
            <dt>since</dt>
            <dd>v1.0.0</dd>
          </dl>
        </description>
      </requirement>
    </fileSec>
    <structMap ID="structMapElement">
      <requirement ID="REF_CSIP_80" REQLEVEL="MUST">
        <description>
          <head>Structural description of the package</head>
          <p xmlns="http://www.w3.org/1999/xhtml">The eHealth1 root structMap element must comply with<a href="http://earkcsip.dilcis.eu/#536-use-of-the-mets-structural-map-structmap"> structMap requirements in the CSIP profile.</a></p>
        </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 root METS element for an IP following the CITS eHealth1">
    <mets:mets 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS" xmlns:sip="https://DILCIS.eu/XML/METS/SIPExtensionMETS" OBJID="ehealth1-root-mets-example" TYPE="OTHER" csip:OTHERTYPE="Patient Medical Records" csip:CONTENTINFORMATIONTYPE="citsehpj_v2_0" LABEL="Patient Medical Records from Skane University Hospital" PROFILE="https://citsehealth1.dilcis.eu/profile/E-ARK-eHealth1-ROOT.xml"></mets:mets>
  </Example>
  <Example ID="metsHdrElementExample1" LABEL="METS example of root METS Header for an IP following CITS eHealth1">
    <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" xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS" xmlns:mets="http://www.loc.gov/METS/">
      <mets:altRecordID TYPE="SUBMISSIONAGREEMENT">http://submissionagreement.kb.se/dnr331-1144-2011/20120711/</mets:altRecordID>
      <mets:altRecordID TYPE="PREVIOUSSUBMISSIONAGREEMENT">http://submissionagreement.kb.se/dnr330-1122-2009/20110613/</mets:altRecordID>
      <mets:altRecordID TYPE="REFERENCECODE">FM-12-2387/12726,2007-09-19</mets:altRecordID>
      <mets:altRecordID TYPE="PREVIOUSREFERENCECODE">SE/FM/123/123.1/123.13</mets:altRecordID>
      <mets:agent ROLE="CREATOR" TYPE="OTHER" OTHERTYPE="SOFTWARE">
        <mets:name>piql eHealth SIP Creator</mets:name>
        <mets:note csip:NOTETYPE="SOFTWARE VERSION">VERSION 1.1</mets:note>
      </mets:agent>
      <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="CREATOR" TYPE="INDIVIDUAL">
        <mets:name>Sven Svensson</mets:name>
        <mets:note>Phone: 08-123456, email: sven.svensson@mail.mail</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:metsHdr>
  </Example>
  <Example ID="dmdSecExample1" LABEL="METS example of Root METS dmdSec following CITS eHealth1 with reference to HL7 FHIR Patient Administrative Information is used">
    <mets:dmdSec ID="dmd-ehealth-file" CREATED="2018-04-24T15:27:45.702+01:00" STATUS="CURRENT">
      <mets:mdRef LOCTYPE="URL" xlink:href="metadata/descriptive/patients.xml" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" MDTYPE="OTHER" OTHERMDTYPE="FHIR.Patient" MIMETYPE="application/xml" SIZE="643" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" />
    </mets:dmdSec>
  </Example>
  <Example ID="amdSecExample1" LABEL="METS example of root METS amdSec for an IP following CITS eHealth1">
    <mets:digiProvMD ID="digiProv-eHealth-file" STATUS="CURRENT">
      <mets:mdRef LOCTYPE="URL" xlink:href="metadata/preservation/premis1.xml" xlink:type="simple" MDTYPE="PREMIS" MIMETYPE="application/xml" SIZE="984" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" xmlns:xlink="http://www.w3.org/1999/xlink" />
    </mets:digiProvMD>
    <mets:rightsMD ID="rights-eHealth-file" STATUS="CURRENT">
      <mets:mdRef LOCTYPE="URL" xlink:href="metadata/preservation/premis2.xml" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" MDTYPE="PREMIS" MIMETYPE="application/xml" SIZE="563" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" />
    </mets:rightsMD>
  </Example>
  <Example ID="fileSecExample1" LABEL="METS example of Root METS fileSec following CITS eHealth1 with file information.">
    <mets:fileSec ID="file-sec-example">
      <mets:fileGrp ID="filegrp-documentation" USE="Documentation">
        <mets:file ID="file-submission-agreement" MIMETYPE="application/pdf" SIZE="43445212" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="160D71F56C2CE685CE7FBD679076FD76B3C67EE9AB5062F5EF5C99AE39C1F43B" CHECKSUMTYPE="SHA-256">
          <mets:FLocat xmlns:xlink="http://www.w3.org/1999/xlink" LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/subagreement.pdf" />
        </mets:file>
        <mets:file ID="file-ptr-documentation-file" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="31462826" CREATED="2012-08-15T14:44:45.432+01:00" CHECKSUM="0FE9683451D0390BCDEF19CE10CFD287A2D944B6A33D246681FEF27F44FFAF1D" CHECKSUMTYPE="SHA-256">
          <mets:FLocat xmlns:xlink="http://www.w3.org/1999/xlink" LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/file2.docx" />
        </mets:file>
      </mets:fileGrp>
      <mets:fileGrp ID="filegrp-schemas" USE="Schemas">
        <mets:file ID="file-ptr-schema1" MIMETYPE="text/xsd" SIZE="123917" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="4073D09CA1BAE023D5A7E2010819BF0E8A8EB3C015444D0673733630DE08461C" CHECKSUMTYPE="SHA-256">
          <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="schemas/fhirpatient.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" />
        </mets:file>
        <mets:file MIMETYPE="application/xml" USE="Package METS" CHECKSUMTYPE="SHA-256" CREATED="2015-12-04T09:59:45" CHECKSUM="B565CA93CD86950503F233A7906E4DB709088BA42B9D109D4A8D6F183799603F" ID="file-ptr-schema2" SIZE="6814" xmlns:xlink="http://www.w3.org/1999/xlink">
          <mets:FLocat xlink:href="schemas/METS.xsd" xlink:type="simple" LOCTYPE="URL" />
        </mets:file>
      </mets:fileGrp>
      <mets:fileGrp xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS" ID="filegrp-representation" USE="Representations" ADMD="digiProv-eHealth-file rights-eHealth-file" DMDID="dmd-eHealth-file" csip:CONTENTINFORMATIONTYPE="citsehpj_v2_0">
        <mets:file ID="file-ptr-repmets1" MIMETYPE="xml" SIZE="1338744" CREATED="2018-04-24T14:33:23.617+01:00" CHECKSUM="B1CF59678A21C2805370536AB1097735D7E9F3FDDDCAE3757426ED85F6350A48" CHECKSUMTYPE="SHA-256" xmlns:xlink="http://www.w3.org/1999/xlink">
          <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="representations/rep1/mets.xml" />
        </mets:file>
      </mets:fileGrp>
    </mets:fileSec>
  </Example>
  <Example ID="structMapExample1" LABEL="METS example of root structMap for an IP following CITS eHealth1">
    <mets:div ID="struct-map-example-div" LABEL="struct-map-example">
      <mets:div ID="struct-map-metadata-div" LABEL="Metadata" DMDID="dmd-ehealth-file" ADMID="digiProv-eHealth-file rights-eHealth-file" />
      <mets:div ID="struct-map-documentation-div" LABEL="Documentation">
        <mets:fptr FILEID="filegrp-documentation" />
      </mets:div>
      <mets:div ID="struct-map-schema-div" LABEL="Schemas">
        <mets:fptr FILEID="filegrp-schemas" />
      </mets:div>
      <mets:div ID="struct-map-reps-rep1" LABEL="representations/rep1/mets.xml">
        <mets:mptr LOCTYPE="URL" xlink:type="simple" xlink:href="representations/rep1/METS.xml" xlink:title="filegrp-representation" xmlns:xlink="http://www.w3.org/1999/xlink" />
      </mets:div>
    </mets:div>
  </Example>
  <Appendix NUMBER="1" LABEL="Example of a whole METS document describing a submission information package following CITS eHealth1 (citsehpj_v2_0).">
    <mets:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:csip="https://DILCIS.eu/XML/METS/CSIPExtensionMETS" xmlns:sip="https://DILCIS.eu/XML/METS/SIPExtensionMETS" 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" OBJID="ehealth1-root-mets-example" TYPE="OTHER" csip:OTHERTYPE="Patient Medical Records" csip:CONTENTINFORMATIONTYPE="citsehpj_v2_0" LABEL="Patient Medical Records from Skane University Hospital" PROFILE="https://citsehealth1.dilcis.eu/profile/E-ARK-eHealth1-ROOT.xml">
      <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:altRecordID TYPE="SUBMISSIONAGREEMENT">http://submissionagreement.kb.se/dnr331-1144-2011/20120711/</mets:altRecordID>
        <mets:altRecordID TYPE="PREVIOUSSUBMISSIONAGREEMENT">http://submissionagreement.kb.se/dnr330-1122-2009/20110613/</mets:altRecordID>
        <mets:altRecordID TYPE="REFERENCECODE">FM-12-2387/12726,2007-09-19</mets:altRecordID>
        <mets:altRecordID TYPE="PREVIOUSREFERENCECODE">SE/FM/123/123.1/123.13</mets:altRecordID>
        <mets:agent ROLE="CREATOR" TYPE="OTHER" OTHERTYPE="SOFTWARE">
          <mets:name>piql eHealth SIP Creator</mets:name>
          <mets:note csip:NOTETYPE="SOFTWARE VERSION">VERSION 1.1</mets:note>
        </mets:agent>
        <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="SUBMITTER" TYPE="INDIVIDUAL">
          <mets:name>Sven Svensson</mets:name>
          <mets:note csip:NOTETYPE="IDENTIFICATIONCODE">ID:4569865123</mets:note>
        </mets:agent>
        <mets:agent ROLE="CREATOR" TYPE="INDIVIDUAL">
          <mets:name>Sven Svensson</mets:name>
          <mets:note>Phone: 08-123456, Email: sven.svensson@mail.mail</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:metsHdr>
      <mets:dmdSec ID="dmd-ehealth-file" CREATED="2018-04-24T15:27:45.702+01:00" STATUS="CURRENT">
        <mets:mdRef LOCTYPE="URL" xlink:href="metadata/descriptive/patients.xml" xlink:type="simple" MDTYPE="OTHER" OTHERMDTYPE="FHIR.Patient" MIMETYPE="application/xml" SIZE="643" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" />
      </mets:dmdSec>
      <mets:amdSec>
        <mets:digiProvMD ID="digiProv-eHealth-file" STATUS="CURRENT">
          <mets:mdRef LOCTYPE="URL" xlink:href="metadata/preservation/premis1.xml" xlink:type="simple" MDTYPE="PREMIS" MIMETYPE="application/xml" SIZE="984" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" />
        </mets:digiProvMD>
        <mets:rightsMD ID="rights-eHealth-file" STATUS="CURRENT">
          <mets:mdRef LOCTYPE="URL" xlink:href="metadata/preservation/premis2.xml" xlink:type="simple" MDTYPE="PREMIS" MIMETYPE="application/xml" SIZE="563" CREATED="2018-04-24T14:11:29.309+01:00" CHECKSUM="66EEDDF0A22EF57078694B67CA45DF301034556D6CB493531356C4FFE92AB6B1" CHECKSUMTYPE="SHA-256" />
        </mets:rightsMD>
      </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.wordprocessing.document" SIZE="43445212" CREATED="2012-08-15T12:08:15.432+01:00" CHECKSUM="160D71F56C2CE685CE7FBD679076FD76B3C67EE9AB5062F5EF5C99AE39C1F43B" CHECKSUMTYPE="SHA-256">
            <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File1.docx" />
          </mets:file>
          <mets:file ID="file-ptr-documentation-file2" MIMETYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.document" SIZE="31462826" CREATED="2012-08-15T14:44:45.432+01:00" CHECKSUM="0FE9683451D0390BCDEF19CE10CFD287A2D944B6A33D246681FEF27F44FFAF1D" CHECKSUMTYPE="SHA-256">
            <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="documentation/File2.docx" />
          </mets:file>
        </mets:fileGrp>
        <mets:fileGrp ID="filegrp-schemas" USE="Schemas">
          <mets:file ID="file-ptr-schema1" MIMETYPE="text/xsd" SIZE="123917" CREATED="2018-04-24T14:37:49.617+01:00" CHECKSUM="4073D09CA1BAE023D5A7E2010819BF0E8A8EB3C015444D0673733630DE08461C" CHECKSUMTYPE="SHA-256">
            <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="schemas/fhirpatient.xsd" />
          </mets:file>
          <mets:file MIMETYPE="application/xml" USE="Package METS" CHECKSUMTYPE="SHA-256" CREATED="2015-12-04T09:59:45" CHECKSUM="B565CA93CD86950503F233A7906E4DB709088BA42B9D109D4A8D6F183799603F" ID="file-ptr-schema2" SIZE="6814">
            <mets:FLocat xlink:href="schemas/METS.xsd" xlink:type="simple" LOCTYPE="URL" />
          </mets:file>
        </mets:fileGrp>
        <mets:fileGrp ID="filegrp-representation" USE="Representations" ADMD="digiProv-eHealth-file rights-eHealth-file" DMDID="dmd-eHealth-file" csip:CONTENTINFORMATIONTYPE="citsehpj_v2_0">
          <mets:file ID="file-ptr-repmets1" MIMETYPE="xml" SIZE="1338744" CREATED="2018-04-24T14:33:23.617+01:00" CHECKSUM="B1CF59678A21C2805370536AB1097735D7E9F3FDDDCAE3757426ED85F6350A48" CHECKSUMTYPE="SHA-256">
            <mets:FLocat LOCTYPE="URL" xlink:type="simple" xlink:href="representations/rep1/mets.xml" />
          </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="struct-map-example">
          <mets:div ID="struct-map-metadata-div" LABEL="Metadata" DMDID="dmd-ehealth-file" ADMID="digiProv-eHealth-file rights-eHealth-file" />
          <mets:div ID="struct-map-documentation-div" LABEL="Documentation">
            <mets:fptr FILEID="filegrp-documentation" />
          </mets:div>
          <mets:div ID="struct-map-schema-div" LABEL="Schemas">
            <mets:fptr FILEID="filegrp-schemas" />
          </mets:div>
          <mets:div ID="struct-map-reps-rep1" LABEL="representations/rep1/mets.xml">
            <mets:mptr LOCTYPE="URL" xlink:type="simple" xlink:href="representations/rep1/METS.xml" xlink:title="filegrp-representation" />
          </mets:div>
        </mets:div>
      </mets:structMap>
    </mets:mets>
  </Appendix>
</METS_Profile>