{
  "resourceType": "StructureDefinition",
  "url": "http://electronichealth.se/fhir/StructureDefinition/SubSequenceDuration",
  "name": "SubSequenceDuration",
  "status": "draft",
  "description": "adsf",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "Quantity",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Quantity.value",
        "path": "Quantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Quantity.comparator",
        "path": "Quantity.comparator",
        "max": "0"
      },
      {
        "id": "Quantity.system",
        "path": "Quantity.system",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://electronichealth.se/fhir/ValueSet/dose-duration-units"
        }
      },
      {
        "id": "Quantity.code",
        "path": "Quantity.code",
        "short": "UCUM code for days",
        "definition": "SubSequence lengths can only be expressed in days.",
        "min": 1,
        "fixedCode": "d",
        "mustSupport": true
      }
    ]
  }
}