Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example ValueSet/probability-distribution-type (Turtle)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Value SetProbabilityDistributionType

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "probability-distribution-type"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-12-14T07:12:54.019+11:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/ValueSet/probability-distribution-type"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.907" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-snapshot3"];
  fhir:CanonicalResource.name [ fhir:value "ProbabilityDistributionType"];
  fhir:CanonicalResource.title [ fhir:value "ProbabilityDistributionType"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2022-12-14T07:12:54+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "Codes specifying the type of probability distribution."];
  fhir:CanonicalResource.jurisdiction [
     fhir:CodeableConcept.coding [
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
       fhir:Coding.code [ fhir:value "001" ];
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/probability-distribution-type"];
  fhir:ValueSet.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.907" ]
  ];
  fhir:ValueSet.version [ fhir:value "5.0.0-snapshot3"];
  fhir:ValueSet.name [ fhir:value "ProbabilityDistributionType"];
  fhir:ValueSet.title [ fhir:value "ProbabilityDistributionType"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.date [ fhir:value "2022-12-14T07:12:54+11:00"];
  fhir:ValueSet.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:ValueSet.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "Codes specifying the type of probability distribution."];
  fhir:ValueSet.jurisdiction [
     fhir:CodeableConcept.coding [
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
       fhir:Coding.code [ fhir:value "001" ];
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ];
  fhir:ValueSet.compose [
     fhir:ValueSetComposeComponent.include [
       fhir:ConceptSetComponent.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType" ];
       fhir:ConceptSetComponent.concept [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "The beta-distribution is used for data that is bounded on both sides and might or might 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))." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "B" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "beta" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "Used for data that describes extinction. The exponential distribution is a special form of g-distribution where a = 1, hence, the relationship to mean m and variance s2 are m = b and s2 = b2." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "E" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "exponential" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "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))." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "F" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "F" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "The gamma-distribution used for data that is skewed and bounded to the right, i.e. where the maximum of the distribution curve is located near the origin. The g-distribution has a two parameters a and b. The relationship to mean m and variance s2 is m = a b and s2 = a b2." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "G" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "(gamma)" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "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." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "LN" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "log-normal" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "This is the well-known bell-shaped normal distribution. Because of the central limit theorem, the normal distribution is the distribution of choice for an unbounded random variable that is an outcome of a combination of many stochastic processes. Even for values bounded on a single side (i.e. greater than 0) the normal distribution may be accurate enough if the mean is \"far away\" from the bound of the scale measured in terms of standard deviations." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "N" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "normal (Gaussian)" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "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)" ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "T" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "T" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "The uniform distribution assigns a constant probability over the entire interval of possible outcomes, while all outcomes outside this interval are assumed to have zero probability. The width of this interval is 2s sqrt(3). Thus, the uniform distribution assigns the probability densities f(x) = sqrt(2 s sqrt(3)) to values m - s sqrt(3) >= x <= m + s sqrt(3) and f(x) = 0 otherwise." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "U" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "uniform" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" ];
           fhir:Extension.value [ fhir:value "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." ]
         ];
         fhir:ConceptReferenceComponent.code [ fhir:value "X2" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "chi square" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


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.