{
  "resourceType": "StructureDefinition",
  "id": "SimpleQuantity",
  "url": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity",
  "version": "4.0.1",
  "name": "SimpleQuantity",
  "title": "SimpleQuantity",
  "status": "active",
  "date": "2019-10-31T22:29:23+00:00",
  "publisher": "HL7 FHIR Standard",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "A fixed quantity (no comparator)",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Quantity",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Quantity",
        "path": "Quantity",
        "short": "A fixed quantity (no comparator)",
        "definition": "The comparator is not used on a SimpleQuantity",
        "constraint": [
          {
            "key": "sqty-1",
            "severity": "error",
            "human": "The comparator is not used on a SimpleQuantity",
            "expression": "comparator.empty()",
            "xpath": "not(exists(f:comparator))",
            "source": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ]
      },
      {
        "id": "Quantity.comparator",
        "path": "Quantity.comparator",
        "definition": "Not allowed to be used in this context",
        "max": "0"
      }
    ]
  }
}