<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="BIV-PR-ERP-PreisangabeEUR" />
  <url value="https://fhir.biv-ot.org/eVerordnungAbgabedaten/BIV-PR-ERP-PreisangabeEUR" />
  <version value="0.1" />
  <name value="BIV_PR_ERP_PreisangabeEUR" />
  <title value="BIV_PR_ERP_PreisangabeEUR" />
  <status value="active" />
  <date value="2024-01-15T18:23:47.3546583+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Money" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Money" />
  <derivation value="constraint" />
  <differential>
    <element id="Money">
      <path value="Money" />
      <short value="Preisangabe in Euro" />
    </element>
    <element id="Money.value">
      <path value="Money.value" />
      <min value="1" />
      <constraint>
        <key value="Preisangabe-1" />
        <severity value="error" />
        <human value="Preis-Format muss 1-12 Stellen inkl. Trenner, eventuelles Minusvorzeichen und 2 Nachkommastellen haben." />
        <expression value="toString().matches('^(-\\d{1,8}|\\d{1,9})\\.\\d{2}$')" />
      </constraint>
    </element>
    <element id="Money.currency">
      <path value="Money.currency" />
      <min value="1" />
      <fixedCode value="EUR" />
    </element>
  </differential>
</StructureDefinition>