Release 5 Preview #3

Statistic.profile.json

Modeling and Methodology Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

StructureDefinition for Statistic

{
  "resourceType" : "StructureDefinition",
  "id" : "Statistic",
  "meta" : {
    "lastUpdated" : "2021-04-07T20:56:19.991+00:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "draft"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/Statistic",
  "version" : "4.5.0",
  "name" : "Statistic",
  "status" : "draft",
  "date" : "2021-04-07T20:56:19+00:00",
  "publisher" : "HL7 FHIR Standard",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "Base StructureDefinition for Statistic Type: A fact or piece of data from a  study of a large quantity of numerical data.  A mathematical or quantified characteristic of a group of observations.",
  "fhirVersion" : "4.5.0",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "complex-type",
  "abstract" : false,
  "type" : "Statistic",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/BackboneType",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [{
      "id" : "Statistic",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode" : "draft"
      }],
      "path" : "Statistic",
      "short" : "Single statistic",
      "definition" : "A fact or piece of data from a  study of a large quantity of numerical data.  A mathematical or quantified characteristic of a group of observations.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic",
        "min" : 0,
        "max" : "*"
      },
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.id",
      "path" : "Statistic.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.extension",
      "path" : "Statistic.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.modifierExtension",
      "path" : "Statistic.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneType.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Statistic.description",
      "path" : "Statistic.description",
      "short" : "Description of content",
      "definition" : "A description of the content value of the statistic.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.note",
      "path" : "Statistic.note",
      "short" : "Footnotes and/or explanatory notes",
      "definition" : "Footnotes and/or explanatory notes.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.statisticType",
      "path" : "Statistic.statisticType",
      "short" : "Type of statistic, eg relative risk",
      "definition" : "Type of statistic, eg relative risk.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.statisticType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "The type of a specific statistic."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/statistic-type"
      }
    },
    {
      "id" : "Statistic.category",
      "path" : "Statistic.category",
      "short" : "Associated category for categorical variable\"",
      "definition" : "When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting.",
      "comment" : "Simple strings can be used for descriptive purposes. Exact matching to EvidenceVariable.category.name for the Evidence.variableDefinition[variableRole=measuredVariable].observed=Reference(EvidenceVariable) could facilitate validation within datasets.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.category",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.quantity",
      "path" : "Statistic.quantity",
      "short" : "Statistic value",
      "definition" : "Statistic value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.numberOfEvents",
      "path" : "Statistic.numberOfEvents",
      "short" : "The number of events associated with the statistic",
      "definition" : "The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.",
      "comment" : "When the number of events is the statistic, use Statistic.quantity and set Statistic.type.coding.code=C25463 and Statistic.type.coding.display=Count. When the statistic is an Event Rate (where individual participants may have 2 or more events), use Statistic.numberOfEvents to record the total number of events rather than the number of participants with events.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.numberOfEvents",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.numberAffected",
      "path" : "Statistic.numberAffected",
      "short" : "The number of participants affected",
      "definition" : "The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.",
      "comment" : "When the number affected is the statistic, use Statistic.quantity and set Statistic.type.coding.code=C25463 and Statistic.type.coding.display=Count. When the statistic is a Proportion, use Statistic.numberAffected and enter an integer as the value. When the statistic is an Event Rate (where individual participants may have 2 or more events), use Statistic.numberAffected to record the number of participants with events rather than the total number of events.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.numberAffected",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize",
      "path" : "Statistic.sampleSize",
      "short" : "Number of samples in the statistic",
      "definition" : "Number of samples in the statistic.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.sampleSize",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Element"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.id",
      "path" : "Statistic.sampleSize.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.sampleSize.extension",
      "path" : "Statistic.sampleSize.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.sampleSize.description",
      "path" : "Statistic.sampleSize.description",
      "short" : "Textual description of sample size for statistic",
      "definition" : "Human-readable summary of population sample size.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.sampleSize.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.note",
      "path" : "Statistic.sampleSize.note",
      "short" : "Footnote or explanatory note about the sample size",
      "definition" : "Footnote or explanatory note about the sample size.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.sampleSize.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.numberOfStudies",
      "path" : "Statistic.sampleSize.numberOfStudies",
      "short" : "Number of contributing studies",
      "definition" : "Number of participants in the population.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.sampleSize.numberOfStudies",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.numberOfParticipants",
      "path" : "Statistic.sampleSize.numberOfParticipants",
      "short" : "Cumulative number of participants",
      "definition" : "A human-readable string to clarify or explain concepts about the sample size.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.sampleSize.numberOfParticipants",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.knownDataCount",
      "path" : "Statistic.sampleSize.knownDataCount",
      "short" : "Number of participants with known results for measured variables",
      "definition" : "Number of participants with known results for measured variables.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.sampleSize.knownDataCount",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "unsignedInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate",
      "path" : "Statistic.attributeEstimate",
      "short" : "An attribute of the Statistic",
      "definition" : "A statistical attribute of the statistic such as a measure of heterogeneity.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.attributeEstimate",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Element"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.id",
      "path" : "Statistic.attributeEstimate.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.attributeEstimate.extension",
      "path" : "Statistic.attributeEstimate.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.attributeEstimate.description",
      "path" : "Statistic.attributeEstimate.description",
      "short" : "Textual description of the attribute estimate",
      "definition" : "Human-readable summary of the estimate.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.note",
      "path" : "Statistic.attributeEstimate.note",
      "short" : "Footnote or explanatory note about the estimate",
      "definition" : "Footnote or explanatory note about the estimate.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.attributeEstimate.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.type",
      "path" : "Statistic.attributeEstimate.type",
      "short" : "The type of attribute estimate, eg confidence interval or p value",
      "definition" : "The type of attribute estimate, eg confidence interval or p value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticAttributeEstimateType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/attribute-estimate-type"
      }
    },
    {
      "id" : "Statistic.attributeEstimate.quantity",
      "path" : "Statistic.attributeEstimate.quantity",
      "short" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure",
      "definition" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.",
      "comment" : "Often the p value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.level",
      "path" : "Statistic.attributeEstimate.level",
      "short" : "Level of confidence interval, eg 0.95 for 95% confidence interval",
      "definition" : "Use 95 for a 95% confidence interval.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.level",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.range",
      "path" : "Statistic.attributeEstimate.range",
      "short" : "Lower and upper bound values of the attribute estimate",
      "definition" : "Lower bound of confidence interval.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.range",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Range"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate",
      "path" : "Statistic.attributeEstimate.attributeEstimate",
      "short" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate",
      "definition" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate.",
      "comment" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Element"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.id",
      "path" : "Statistic.attributeEstimate.attributeEstimate.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.extension",
      "path" : "Statistic.attributeEstimate.attributeEstimate.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.description",
      "path" : "Statistic.attributeEstimate.attributeEstimate.description",
      "short" : "Textual description of the attribute estimate",
      "definition" : "Human-readable summary of the estimate.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.note",
      "path" : "Statistic.attributeEstimate.attributeEstimate.note",
      "short" : "Footnote or explanatory note about the estimate",
      "definition" : "Footnote or explanatory note about the estimate.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.type",
      "path" : "Statistic.attributeEstimate.attributeEstimate.type",
      "short" : "The type of attribute estimate, eg confidence interval or p value",
      "definition" : "The type of attribute estimate, eg confidence interval or p value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticAttributeEstimateType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/attribute-estimate-type"
      }
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.quantity",
      "path" : "Statistic.attributeEstimate.attributeEstimate.quantity",
      "short" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure",
      "definition" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.",
      "comment" : "Often the pvalue.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.level",
      "path" : "Statistic.attributeEstimate.attributeEstimate.level",
      "short" : "Level of confidence interval, eg 0.95 for 95% confidence interval",
      "definition" : "Use 95 for a 95% confidence interval.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.level",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.range",
      "path" : "Statistic.attributeEstimate.attributeEstimate.range",
      "short" : "Lower and upper bound values of the attribute estimate",
      "definition" : "Lower bound of confidence interval.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.attributeEstimate.attributeEstimate.range",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Range"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic",
      "path" : "Statistic.modelCharacteristic",
      "short" : "Model characteristic",
      "definition" : "A component of the method to generate the statistic.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.modelCharacteristic",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Element"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.id",
      "path" : "Statistic.modelCharacteristic.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.modelCharacteristic.extension",
      "path" : "Statistic.modelCharacteristic.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.modelCharacteristic.code",
      "path" : "Statistic.modelCharacteristic.code",
      "short" : "Model specification",
      "definition" : "Description of a component of the method to generate the statistic.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Statistic.modelCharacteristic.code",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Statistic Model Code."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticModelCode"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/statistic-model-code"
      }
    },
    {
      "id" : "Statistic.modelCharacteristic.value",
      "path" : "Statistic.modelCharacteristic.value",
      "short" : "Numerical value to complete model specification",
      "definition" : "Further specification of the quantified value of the component of the method to generate the statistic.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.modelCharacteristic.value",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable",
      "path" : "Statistic.modelCharacteristic.variable",
      "short" : "A variable adjusted for in the adjusted analysis",
      "definition" : "A variable adjusted for in the adjusted analysis.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Element"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.id",
      "path" : "Statistic.modelCharacteristic.variable.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUri" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.extension",
      "path" : "Statistic.modelCharacteristic.variable.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "description" : "Extensions are always sliced by (at least) url",
        "rules" : "open"
      },
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.variableDefinition",
      "path" : "Statistic.modelCharacteristic.variable.variableDefinition",
      "short" : "Description of the variable",
      "definition" : "Description of the variable.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable.variableDefinition",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/EvidenceVariable"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.handling",
      "path" : "Statistic.modelCharacteristic.variable.handling",
      "short" : "continuous | dichotomous | ordinal | polychotomous",
      "definition" : "How the variable is classified for use in adjusted analysis.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable.handling",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive)."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "EvidenceVariableHandling"
        }],
        "strength" : "required",
        "valueSet" : "http://hl7.org/fhir/ValueSet/variable-handling|4.5.0"
      }
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueCategory",
      "path" : "Statistic.modelCharacteristic.variable.valueCategory",
      "short" : "Description for grouping of ordinal or polychotomous variables",
      "definition" : "Description for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable.valueCategory",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueQuantity",
      "path" : "Statistic.modelCharacteristic.variable.valueQuantity",
      "short" : "Discrete value for grouping of ordinal or polychotomous variables",
      "definition" : "Discrete value for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable.valueQuantity",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Quantity"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueRange",
      "path" : "Statistic.modelCharacteristic.variable.valueRange",
      "short" : "Range of values for grouping of ordinal or polychotomous variables",
      "definition" : "Range of values for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Statistic.modelCharacteristic.variable.valueRange",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Range"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "Statistic",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode" : "draft"
      }],
      "path" : "Statistic",
      "short" : "Single statistic",
      "definition" : "A fact or piece of data from a  study of a large quantity of numerical data.  A mathematical or quantified characteristic of a group of observations.",
      "min" : 0,
      "max" : "*"
    },
    {
      "id" : "Statistic.description",
      "path" : "Statistic.description",
      "short" : "Description of content",
      "definition" : "A description of the content value of the statistic.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.note",
      "path" : "Statistic.note",
      "short" : "Footnotes and/or explanatory notes",
      "definition" : "Footnotes and/or explanatory notes.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.statisticType",
      "path" : "Statistic.statisticType",
      "short" : "Type of statistic, eg relative risk",
      "definition" : "Type of statistic, eg relative risk.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "The type of a specific statistic."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/statistic-type"
      }
    },
    {
      "id" : "Statistic.category",
      "path" : "Statistic.category",
      "short" : "Associated category for categorical variable\"",
      "definition" : "When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting.",
      "comment" : "Simple strings can be used for descriptive purposes. Exact matching to EvidenceVariable.category.name for the Evidence.variableDefinition[variableRole=measuredVariable].observed=Reference(EvidenceVariable) could facilitate validation within datasets.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.quantity",
      "path" : "Statistic.quantity",
      "short" : "Statistic value",
      "definition" : "Statistic value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.numberOfEvents",
      "path" : "Statistic.numberOfEvents",
      "short" : "The number of events associated with the statistic",
      "definition" : "The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.",
      "comment" : "When the number of events is the statistic, use Statistic.quantity and set Statistic.type.coding.code=C25463 and Statistic.type.coding.display=Count. When the statistic is an Event Rate (where individual participants may have 2 or more events), use Statistic.numberOfEvents to record the total number of events rather than the number of participants with events.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.numberAffected",
      "path" : "Statistic.numberAffected",
      "short" : "The number of participants affected",
      "definition" : "The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.",
      "comment" : "When the number affected is the statistic, use Statistic.quantity and set Statistic.type.coding.code=C25463 and Statistic.type.coding.display=Count. When the statistic is a Proportion, use Statistic.numberAffected and enter an integer as the value. When the statistic is an Event Rate (where individual participants may have 2 or more events), use Statistic.numberAffected to record the number of participants with events rather than the total number of events.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize",
      "path" : "Statistic.sampleSize",
      "short" : "Number of samples in the statistic",
      "definition" : "Number of samples in the statistic.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.description",
      "path" : "Statistic.sampleSize.description",
      "short" : "Textual description of sample size for statistic",
      "definition" : "Human-readable summary of population sample size.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.note",
      "path" : "Statistic.sampleSize.note",
      "short" : "Footnote or explanatory note about the sample size",
      "definition" : "Footnote or explanatory note about the sample size.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.numberOfStudies",
      "path" : "Statistic.sampleSize.numberOfStudies",
      "short" : "Number of contributing studies",
      "definition" : "Number of participants in the population.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.numberOfParticipants",
      "path" : "Statistic.sampleSize.numberOfParticipants",
      "short" : "Cumulative number of participants",
      "definition" : "A human-readable string to clarify or explain concepts about the sample size.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.sampleSize.knownDataCount",
      "path" : "Statistic.sampleSize.knownDataCount",
      "short" : "Number of participants with known results for measured variables",
      "definition" : "Number of participants with known results for measured variables.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate",
      "path" : "Statistic.attributeEstimate",
      "short" : "An attribute of the Statistic",
      "definition" : "A statistical attribute of the statistic such as a measure of heterogeneity.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.description",
      "path" : "Statistic.attributeEstimate.description",
      "short" : "Textual description of the attribute estimate",
      "definition" : "Human-readable summary of the estimate.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.note",
      "path" : "Statistic.attributeEstimate.note",
      "short" : "Footnote or explanatory note about the estimate",
      "definition" : "Footnote or explanatory note about the estimate.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.type",
      "path" : "Statistic.attributeEstimate.type",
      "short" : "The type of attribute estimate, eg confidence interval or p value",
      "definition" : "The type of attribute estimate, eg confidence interval or p value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticAttributeEstimateType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/attribute-estimate-type"
      }
    },
    {
      "id" : "Statistic.attributeEstimate.quantity",
      "path" : "Statistic.attributeEstimate.quantity",
      "short" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure",
      "definition" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.",
      "comment" : "Often the p value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.level",
      "path" : "Statistic.attributeEstimate.level",
      "short" : "Level of confidence interval, eg 0.95 for 95% confidence interval",
      "definition" : "Use 95 for a 95% confidence interval.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.range",
      "path" : "Statistic.attributeEstimate.range",
      "short" : "Lower and upper bound values of the attribute estimate",
      "definition" : "Lower bound of confidence interval.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Range"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate",
      "path" : "Statistic.attributeEstimate.attributeEstimate",
      "short" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate",
      "definition" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate.",
      "comment" : "A nested attribute estimate; which is the attribute estimate of an attribute estimate.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.description",
      "path" : "Statistic.attributeEstimate.attributeEstimate.description",
      "short" : "Textual description of the attribute estimate",
      "definition" : "Human-readable summary of the estimate.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.note",
      "path" : "Statistic.attributeEstimate.attributeEstimate.note",
      "short" : "Footnote or explanatory note about the estimate",
      "definition" : "Footnote or explanatory note about the estimate.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.type",
      "path" : "Statistic.attributeEstimate.attributeEstimate.type",
      "short" : "The type of attribute estimate, eg confidence interval or p value",
      "definition" : "The type of attribute estimate, eg confidence interval or p value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticAttributeEstimateType"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/attribute-estimate-type"
      }
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.quantity",
      "path" : "Statistic.attributeEstimate.attributeEstimate.quantity",
      "short" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure",
      "definition" : "The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.",
      "comment" : "Often the pvalue.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.level",
      "path" : "Statistic.attributeEstimate.attributeEstimate.level",
      "short" : "Level of confidence interval, eg 0.95 for 95% confidence interval",
      "definition" : "Use 95 for a 95% confidence interval.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.attributeEstimate.attributeEstimate.range",
      "path" : "Statistic.attributeEstimate.attributeEstimate.range",
      "short" : "Lower and upper bound values of the attribute estimate",
      "definition" : "Lower bound of confidence interval.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Range"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic",
      "path" : "Statistic.modelCharacteristic",
      "short" : "Model characteristic",
      "definition" : "A component of the method to generate the statistic.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.code",
      "path" : "Statistic.modelCharacteristic.code",
      "short" : "Model specification",
      "definition" : "Description of a component of the method to generate the statistic.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "Statistic Model Code."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StatisticModelCode"
        }],
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/statistic-model-code"
      }
    },
    {
      "id" : "Statistic.modelCharacteristic.value",
      "path" : "Statistic.modelCharacteristic.value",
      "short" : "Numerical value to complete model specification",
      "definition" : "Further specification of the quantified value of the component of the method to generate the statistic.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable",
      "path" : "Statistic.modelCharacteristic.variable",
      "short" : "A variable adjusted for in the adjusted analysis",
      "definition" : "A variable adjusted for in the adjusted analysis.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.variableDefinition",
      "path" : "Statistic.modelCharacteristic.variable.variableDefinition",
      "short" : "Description of the variable",
      "definition" : "Description of the variable.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/EvidenceVariable"]
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.handling",
      "path" : "Statistic.modelCharacteristic.variable.handling",
      "short" : "continuous | dichotomous | ordinal | polychotomous",
      "definition" : "How the variable is classified for use in adjusted analysis.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/build/StructureDefinition/definition",
          "valueString" : "The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive)."
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "EvidenceVariableHandling"
        }],
        "strength" : "required",
        "valueSet" : "http://hl7.org/fhir/ValueSet/variable-handling|4.5.0"
      }
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueCategory",
      "path" : "Statistic.modelCharacteristic.variable.valueCategory",
      "short" : "Description for grouping of ordinal or polychotomous variables",
      "definition" : "Description for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueQuantity",
      "path" : "Statistic.modelCharacteristic.variable.valueQuantity",
      "short" : "Discrete value for grouping of ordinal or polychotomous variables",
      "definition" : "Discrete value for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Quantity"
      }],
      "isSummary" : true
    },
    {
      "id" : "Statistic.modelCharacteristic.variable.valueRange",
      "path" : "Statistic.modelCharacteristic.variable.valueRange",
      "short" : "Range of values for grouping of ordinal or polychotomous variables",
      "definition" : "Range of values for grouping of ordinal or polychotomous variables.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Range"
      }],
      "isSummary" : true
    }]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.