<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="port-DocumentReference" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://medmij.nl/fhir/StructureDefinition/port-DocumentReference" />
  <name value="PortDocumentReference" />
  <title value="port DocumentReference" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Document which is exchanged between PHRs in the context of MedMij." />
  <purpose value="This DocumentReference resource represents a document which is exchanged between PHRs in the context of MedMij. This profile is based on the [IHE.MHD.Minimal.DocumentReference profile](http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference), which is maintained by Nictiz and is used in the data service PDF/A. Apart from content attachment type _application/pdf_, additional media mime types are allowed, e.g. _text/xml_." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="3.0.2" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DocumentReference" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference" />
  <derivation value="constraint" />
  <differential>
    <element id="DocumentReference.type">
      <path value="DocumentReference.type" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://medmij.nl/fhir/ValueSet/Portability" />
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.class">
      <path value="DocumentReference.class" />
      <min value="1" />
      <patternCodeableConcept>
        <coding>
          <system value="http://medmij.nl/fhir/CodeSystem/Portability" />
          <code value="EXPORT" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>