<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://simplifier.net/ziv-schnittstellen/ziv_vertragskopien" />
  <name value="ZIV_Vertragskopien" />
  <status value="draft" />
  <description value="Für die Profilierung wird die HL7 FHIR Spezifikation R4 als Basis verwendet." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Contract" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Contract" />
  <derivation value="constraint" />
  <differential>
    <element id="Contract.identifier">
      <path value="Contract.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Contract.url">
      <path value="Contract.url" />
      <mustSupport value="true" />
    </element>
    <element id="Contract.version">
      <path value="Contract.version" />
      <definition value="An edition identifier used for business purposes to label business significant variants.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Contract.status">
      <path value="Contract.status" />
      <definition value="The status of the resource instance.&#xD;&#xA;ZIV: Für Klinik änderbar, für Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.legalState">
      <path value="Contract.legalState" />
      <definition value="Legal states of the formation of a legal instrument, which is a formally executed written document that can be formally attributed to its author, records and formally expresses a legally enforceable act, process, or contractual duty, obligation, or right, and therefore evidences that act, process, or agreement.&#xD;&#xA;ZIV: Für Klinik änderbar, für Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.issued">
      <path value="Contract.issued" />
      <definition value="When this  Contract was issued.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.applies">
      <path value="Contract.applies" />
      <definition value="Relevant time or time-period when this Contract is applicable.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.applies.start">
      <path value="Contract.applies.start" />
      <definition value="The start of the period. The boundary is inclusive.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.applies.end">
      <path value="Contract.applies.end" />
      <definition value="The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar, wenn zutreffend." />
    </element>
    <element id="Contract.subject">
      <path value="Contract.subject" />
      <definition value="The target entity impacted by or of interest to parties to the agreement.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.authority">
      <path value="Contract.authority" />
      <definition value="A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar. Für Patienten wichtig mit wem der Vertrag abgeschlossen ist." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.site">
      <path value="Contract.site" />
      <definition value="Sites in which the contract is complied with,  exercised, or in force.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.title">
      <path value="Contract.title" />
      <definition value="A short, descriptive, user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.subtitle">
      <path value="Contract.subtitle" />
      <definition value="An explanatory or alternate user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
    </element>
    <element id="Contract.author">
      <path value="Contract.author" />
      <mustSupport value="true" />
    </element>
    <element id="Contract.term">
      <path value="Contract.term" />
      <definition value="One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.supportingInfo">
      <path value="Contract.supportingInfo" />
      <mustSupport value="true" />
    </element>
    <element id="Contract.signer">
      <path value="Contract.signer" />
      <definition value="Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar." />
      <mustSupport value="true" />
    </element>
    <element id="Contract.friendly">
      <path value="Contract.friendly" />
      <definition value="The &quot;patient friendly language&quot; versionof the Contract in whole or in parts. &quot;Patient friendly language&quot; means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.&#xD;&#xA;ZIV: Für Klinik und Patient einsehbar, als auch hochrelevant für den Patienten." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>