{
  "resourceType" : "ValueSet",
  "id" : "R4-probability-distribution-type-for-R4B",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet R4-probability-distribution-type-for-R4B</b></p><a name=\"R4-probability-distribution-type-for-R4B\"> </a><a name=\"hcR4-probability-distribution-type-for-R4B\"> </a><p>This value set expansion contains 5 concepts.</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R4-probability-distribution-type-for-R4B-http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType-B\"> </a>\u00a0\u00a0<a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ProbabilityDistributionType.html#v3-ProbabilityDistributionType-B\">B</a></td><td>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</td><td>beta</td><td>The beta-distribution is used for data that is bounded on both sides and may or may not be skewed (e.g., occurs when probabilities are estimated.) Two parameters a and b are available to adjust the curve. The mean m and variance s2 relate as follows: m = a/ (a + b) and s2 = ab/((a + b)2 (a + b + 1)).</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R4-probability-distribution-type-for-R4B-http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType-F\"> </a>\u00a0\u00a0<a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ProbabilityDistributionType.html#v3-ProbabilityDistributionType-F\">F</a></td><td>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</td><td>F</td><td>Used to describe the quotient of two c2 random variables. The F-distribution has two parameters n1 and n2, which are the numbers of degrees of freedom of the numerator and denominator variable respectively. The relationship to mean m and variance s2 are: m = n2 / (n2 - 2) and s2 = (2 n2 (n2 + n1 - 2)) / (n1 (n2 - 2)2 (n2 - 4)).</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R4-probability-distribution-type-for-R4B-http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType-LN\"> </a>\u00a0\u00a0<a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ProbabilityDistributionType.html#v3-ProbabilityDistributionType-LN\">LN</a></td><td>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</td><td>log-normal</td><td>The logarithmic normal distribution is used to transform skewed random variable X into a normally distributed random variable U = log X. The log-normal distribution can be specified with the properties mean m and standard deviation s. Note however that mean m and standard deviation s are the parameters of the raw value distribution, not the transformed parameters of the lognormal distribution that are conventionally referred to by the same letters. Those log-normal parameters mlog and slog relate to the mean m and standard deviation s of the data value through slog2 = log (s2/m2 + 1) and mlog = log m - slog2/2.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R4-probability-distribution-type-for-R4B-http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType-T\"> </a>\u00a0\u00a0<a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ProbabilityDistributionType.html#v3-ProbabilityDistributionType-T\">T</a></td><td>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</td><td>T</td><td>Used to describe the quotient of a normal random variable and the square root of a c2 random variable. The t-distribution has one parameter n, the number of degrees of freedom. The relationship to mean m and variance s2 are: m = 0 and s2 = n / (n - 2)</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R4-probability-distribution-type-for-R4B-http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType-X2\"> </a>\u00a0\u00a0<a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ProbabilityDistributionType.html#v3-ProbabilityDistributionType-X2\">X2</a></td><td>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</td><td>chi square</td><td>Used to describe the sum of squares of random variables which occurs when a variance is estimated (rather than presumed) from the sample. The only parameter of the c2-distribution is n, so called the number of degrees of freedom (which is the number of independent parts in the sum). The c2-distribution is a special type of g-distribution with parameter a = n /2 and b = 2. Hence, m = n and s2 = 2 n.</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r4.r4b"
    },
    {
      "url" : "version",
      "valueString" : "0.0.1-snapshot-2"
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 0,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/4.0/ImplementationGuide/hl7.fhir.uv.xver-r4.r4b"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/4.0/ImplementationGuide/hl7.fhir.uv.xver-r4.r4b"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/4.0/ValueSet/R4-probability-distribution-type-for-R4B",
  "version" : "0.0.1-snapshot-2",
  "name" : "R4_probability_distribution_type_for_R4B",
  "title" : "Cross-version VS for R4.ProbabilityDistributionType for use in FHIR R4B",
  "status" : "active",
  "experimental" : false,
  "date" : "2025-09-01T22:36:16.898926+10:00",
  "publisher" : "FHIR Infrastructure",
  "contact" : [{
    "name" : "FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "This cross-version ValueSet represents concepts from http://hl7.org/fhir/ValueSet/probability-distribution-type|4.0.1 for use in FHIR R4B. Concepts not present here have direct `equivalent` mappings crossing all versions from R4 to R4B.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "compose" : {
    "include" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "concept" : [{
        "code" : "B",
        "display" : "beta"
      },
      {
        "code" : "F",
        "display" : "F"
      },
      {
        "code" : "LN",
        "display" : "log-normal"
      },
      {
        "code" : "T",
        "display" : "T"
      },
      {
        "code" : "X2",
        "display" : "chi square"
      }]
    }]
  },
  "expansion" : {
    "timestamp" : "2025-09-01T22:36:16.898927+10:00",
    "contains" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "code" : "B",
      "display" : "beta"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "code" : "F",
      "display" : "F"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "code" : "LN",
      "display" : "log-normal"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "code" : "T",
      "display" : "T"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType",
      "version" : "2018-08-12",
      "code" : "X2",
      "display" : "chi square"
    }]
  }
}