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