@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v3-ProbabilityDistributionType"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v3-ProbabilityDistributionType</b></p><a name=\"v3-ProbabilityDistributionType\"> </a><a name=\"hcv3-ProbabilityDistributionType\"> </a><a name=\"v3-ProbabilityDistributionType-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p></div><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Specializes</td><td>Specializes</td><td/><td>Coding</td><td>The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric.</td></tr><tr><td>Generalizes</td><td>Generalizes</td><td/><td>Coding</td><td>Inverse of Specializes.  Only included as a derived relationship.</td></tr><tr><td>internalId</td><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>code</td><td>The internal identifier for the concept in the HL7 Access database repository.</td></tr><tr><td>Status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>Designation of a concept's state. Normally is not populated unless the state is retired.</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>internalId</b></td><td><b>Status</b></td></tr><tr><td style=\"white-space:nowrap\">B<a name=\"v3-ProbabilityDistributionType-B\"> </a></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><td>10756</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">E<a name=\"v3-ProbabilityDistributionType-E\"> </a></td><td>exponential</td><td>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.</td><td>10752</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">F<a name=\"v3-ProbabilityDistributionType-F\"> </a></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><td>10755</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">G<a name=\"v3-ProbabilityDistributionType-G\"> </a></td><td>(gamma)</td><td>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.</td><td>10751</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">LN<a name=\"v3-ProbabilityDistributionType-LN\"> </a></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><td>10750</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">N<a name=\"v3-ProbabilityDistributionType-N\"> </a></td><td>normal (Gaussian)</td><td>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 &quot;far away&quot; from the bound of the scale measured in terms of standard deviations.</td><td>10749</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">T<a name=\"v3-ProbabilityDistributionType-T\"> </a></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><td>10754</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">U<a name=\"v3-ProbabilityDistributionType-U\"> </a></td><td>uniform</td><td>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) &gt;= x &lt;= m + s sqrt(3) and f(x) = 0 otherwise.</td><td>10748</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">X2<a name=\"v3-ProbabilityDistributionType-X2\"> </a></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><td>10753</td><td>active</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.5.1020" ]
  ] ) ; # 
  fhir:version [ fhir:v "3.0.0"] ; # 
  fhir:name [ fhir:v "ProbabilityDistributionType"] ; # 
  fhir:title [ fhir:v "ProbabilityDistributionType"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-03-20"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "**** MISSING DESCRIPTION ****"] ; # 
  fhir:copyright [ fhir:v "This material derives from the HL7 Terminology THO. THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.html"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "antisymmetric"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "transitive"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "irreflexive"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v "true"^^xsd:boolean
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "Specializes"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Generalizes"
       ]
     ] ) ;
     fhir:code [ fhir:v "Specializes" ] ;
     fhir:description [ fhir:v "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "antisymmetric"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "transitive"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "irreflexive"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v "true"^^xsd:boolean
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "Generalizes"
       ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Specializes"
       ]
     ] ) ;
     fhir:code [ fhir:v "Generalizes" ] ;
     fhir:description [ fhir:v "Inverse of Specializes.  Only included as a derived relationship." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "internalId" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "The internal identifier for the concept in the HL7 Access database repository." ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Designation of a concept's state. Normally is not populated unless the state is retired." ] ;
     fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "B" ] ;
     fhir:display [ fhir:v "beta" ] ;
     fhir:definition [ fhir:v "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))." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10756"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "E" ] ;
     fhir:display [ fhir:v "exponential" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10752"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "F" ] ;
     fhir:display [ fhir:v "F" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10755"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "G" ] ;
     fhir:display [ fhir:v "(gamma)" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10751"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "LN" ] ;
     fhir:display [ fhir:v "log-normal" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10750"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "N" ] ;
     fhir:display [ fhir:v "normal (Gaussian)" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10749"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "T" ] ;
     fhir:display [ fhir:v "T" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10754"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "U" ] ;
     fhir:display [ fhir:v "uniform" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10748"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "X2" ] ;
     fhir:display [ fhir:v "chi square" ] ;
     fhir:definition [ fhir:v "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:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "active"
       ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "10753"
       ]
     ] )
  ] ) . # 

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

