{
  "resourceType": "StructureDefinition",
  "url": "http://interopsante.org/fhir/StructureDefinition/FrRangeUcum",
  "version": "1.0.0",
  "name": "FrRangeUcum",
  "title": "Range with UCUM quantity units",
  "status": "draft",
  "date": "2021-10-18",
  "publisher": "InterOp'Santé - FRANCE",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir@interopsante.org"
        }
      ]
    }
  ],
  "description": "Range with low and high unit UCUM encoded",
  "copyright": "Interop'Santé 2021",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Range",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Range",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Range",
        "path": "Range",
        "short": "Set of values bounded by precise low and high fixed quantity (no comparator) with UCUM unit",
        "definition": "A set of ordered Quantities defined by a precise low and high limit defined by a fixed quantity (no comparator) with UCUM unit",
        "comment": "The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -> 3. Low and high limit are precisely defined, no element 'comparator' in the simpleQuantity defining each bound. The limits are defined by a fixed quantity (no comparator) with UCUM unit."
      },
      {
        "id": "Range.low",
        "path": "Range.low",
        "short": "low bound with UCUM unit",
        "definition": "unit of measure SHALL be UCUM encoded",
        "requirements": "force UCUM unit encoding",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrSimpleQuantityUcum"
            ]
          }
        ]
      },
      {
        "id": "Range.high",
        "path": "Range.high",
        "short": "high bound with UCUM unit",
        "definition": "unit of measure SHALL be UCUM encoded",
        "requirements": "force UCUM unit encoding",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrSimpleQuantityUcum"
            ]
          }
        ]
      }
    ]
  }
}