{
  "resourceType": "StructureDefinition",
  "constrainedType": "Extension",
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "id": "spark377",
  "meta": {
    "versionId": "spark377",
    "lastUpdated": "2015-10-02T12:26:08.719+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType",
  "name": "Probability Distribution Type for uncertainty",
  "status": "draft",
  "date": "2012-06-24",
  "publisher": "Health Level Seven International (Modeling and Methodology)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://www.hl7.org/Special/committees/mnm"
        }
      ]
    }
  ],
  "description": "A code specifying the type of probability distribution for the uncertainty.",
  "fhirVersion": "1.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    }
  ],
  "kind": "datatype",
  "abstract": false,
  "contextType": "datatype",
  "context": [
    "Quantity"
  ],
  "snapshot": {
    "element": [
      {
        "comments": "This is only meaningful if there is also an uncertainty extension. If there is and uncertainty extension with no type, this means  that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess.",
        "id": "Extension",
        "path": "Extension",
        "short": "Probability Distribution Type for uncertainty",
        "definition": "A code specifying the type of probability distribution for the uncertainty.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "PPD.distributionType"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "comments": "This is only meaningful if there is also an uncertainty extension. If there is and uncertainty extension with no type, this means  that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess.",
        "path": "Extension",
        "short": "Probability Distribution Type for uncertainty",
        "definition": "A code specifying the type of probability distribution for the uncertainty.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "PPD.distributionType"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"
      },
      {
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Codes specifying the type of probability distribution",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/probability-distribution-type"
          }
        }
      }
    ]
  }
}