### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ObservationDefinition.json
### ----------------------------------------------------
### -- Chunk 7 of 7
",
      "short" : "Category of observation",
      "definition" : "A code that classifies the general type of observation.",
      "comment" : "This element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used for one instance of ObservationDefinition. The level of granularity is defined by the category concepts in the value set.",
      "requirements" : "Used for filtering what kinds of observations are retrieved and displayed.",
      "alias" : ["Class of observation"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationCategory"
        }],
        "strength" : "example",
        "description" : "Codes for high level observation categories.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-category"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"DEF\"].code"
      }]
    },
    {
      "id" : "ObservationDefinition.code",
      "path" : "ObservationDefinition.code",
      "short" : "Type of observation (code / type)",
      "definition" : "Describes what will be observed. Sometimes this is called the observation \"name\".",
      "requirements" : "Knowing what kind of observation is being made is essential to understanding the observation.",
      "alias" : ["Name"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationCode"
        }],
        "strength" : "example",
        "description" : "Codes identifying names of simple observations.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-codes"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "OM1-2\nOMC-4"
      },
      {
        "identity" : "rim",
        "map" : "code"
      }]
    },
    {
      "id" : "ObservationDefinition.identifier",
      "path" : "ObservationDefinition.identifier",
      "short" : "Business identifier for this ObservationDefinition instance",
      "definition" : "A unique identifier assigned to this ObservationDefinition artifact.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true
    },
    {
      "id" : "ObservationDefinition.permittedDataType",
      "path" : "ObservationDefinition.permittedDataType",
      "short" : "Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period",
      "definition" : "The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "code"
      }],
      "example" : [{
        "label" : "General",
        "valueCode" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationDataType"
        }],
        "strength" : "required",
        "description" : "Permitted data type for observation value.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/permitted-data-type|4.0.0"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM1-3"
      }]
    },
    {
      "id" : "ObservationDefinition.multipleResultsAllowed",
      "path" : "ObservationDefinition.multipleResultsAllowed",
      "short" : "Multiple results allowed",
      "definition" : "Multiple results allowed for observations conforming to this ObservationDefinition.",
      "comment" : "An example of observation allowing multiple results is \"bacteria identified by culture\". Conversely, the measurement of a potassium level allows a single result.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "example" : [{
        "label" : "General",
        "valueBoolean" : true
      }]
    },
    {
      "id" : "ObservationDefinition.method",
      "path" : "ObservationDefinition.method",
      "short" : "Method used to produce the observation",
      "definition" : "The method or technique used to perform the observation.",
      "comment" : "Only used if not implicit in observation code.",
      "requirements" : "In some cases, method can impact results.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationMethod"
        }],
        "strength" : "example",
        "description" : "Methods for simple observations.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-methods"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM1-14"
      },
      {
        "identity" : "rim",
        "map" : "methodCode"
      }]
    },
    {
      "id" : "ObservationDefinition.preferredReportName",
      "path" : "ObservationDefinition.preferredReportName",
      "short" : "Preferred report name",
      "definition" : "The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM1-9"
      }]
    },
    {
      "id" : "ObservationDefinition.quantitativeDetails",
      "path" : "ObservationDefinition.quantitativeDetails",
      "short" : "Characteristics of quantitative results",
      "definition" : "Characteristics for quantitative results of this observation.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2"
      }]
    },
    {
      "id" : "ObservationDefinition.quantitativeDetails.customaryUnit",
      "path" : "ObservationDefinition.quantitativeDetails.customaryUnit",
      "short" : "Customary unit for quantitative results",
      "definition" : "Customary unit used to report quantitative results of observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationUnit"
        }],
        "strength" : "extensible",
        "description" : "Codes identifying units of measure.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ucum-units"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2-2"
      }]
    },
    {
      "id" : "ObservationDefinition.quantitativeDetails.unit",
      "path" : "ObservationDefinition.quantitativeDetails.unit",
      "short" : "SI unit for quantitative results",
      "definition" : "SI unit used to report quantitative results of observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationUnit"
        }],
        "strength" : "extensible",
        "description" : "Codes identifying units of measure.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ucum-units"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2-4"
      }]
    },
    {
      "id" : "ObservationDefinition.quantitativeDetails.conversionFactor",
      "path" : "ObservationDefinition.quantitativeDetails.conversionFactor",
      "short" : "SI to Customary unit conversion factor",
      "definition" : "Factor for converting value expressed with SI unit to value expressed with customary unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2-5"
      }]
    },
    {
      "id" : "ObservationDefinition.quantitativeDetails.decimalPrecision",
      "path" : "ObservationDefinition.quantitativeDetails.decimalPrecision",
      "short" : "Decimal precision of observation quantitative results",
      "definition" : "Number of digits after decimal separator when the results of such observations are of type Quantity.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2-3"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval",
      "path" : "ObservationDefinition.qualifiedInterval",
      "short" : "Qualified range for continuous and ordinal observation results",
      "definition" : "Multiple  ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM2-6"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.category",
      "path" : "ObservationDefinition.qualifiedInterval.category",
      "short" : "reference | critical | absolute",
      "definition" : "The category of interval of values for continuous or ordinal observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "example" : [{
        "label" : "General",
        "valueCode" : "critical"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationRangeCategory"
        }],
        "strength" : "required",
        "description" : "Codes identifying the category of observation range.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-range-category|4.0.0"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM-2"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.range",
      "path" : "ObservationDefinition.qualifiedInterval.range",
      "short" : "The interval itself, for continuous or ordinal observations",
      "definition" : "The low and high values determining the interval. There may be only one of the two.",
      "requirements" : "The unit may be not relevant for ordinal values. In case it is there, it is the same as quantitativeDetails.unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Range"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM-2"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.context",
      "path" : "ObservationDefinition.qualifiedInterval.context",
      "short" : "Range context qualifier",
      "definition" : "Codes to indicate the health context the range applies to. For example, the normal or therapeutic range.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationRangeMeaning"
        }],
        "strength" : "extensible",
        "description" : "Code identifying the health context of a range.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/referencerange-meaning"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "n.a."
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.appliesTo",
      "path" : "ObservationDefinition.qualifiedInterval.appliesTo",
      "short" : "Targetted population of the range",
      "definition" : "Codes to indicate the target population this reference range applies to.",
      "comment" : "If this element is not present then the global population is assumed.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ObservationRangeAppliesTo"
        }],
        "strength" : "example",
        "description" : "Codes identifying the population the reference range applies to.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RFR.6"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.gender",
      "path" : "ObservationDefinition.qualifiedInterval.gender",
      "short" : "male | female | other | unknown",
      "definition" : "Sex of the population the range applies to.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "example" : [{
        "label" : "General",
        "valueCode" : "female"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdministrativeGender"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The gender of a person used for administrative purposes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.0"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RFR.2"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.age",
      "path" : "ObservationDefinition.qualifiedInterval.age",
      "short" : "Applicable age range, if relevant",
      "definition" : "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
      "comment" : "Some analytes vary greatly over age.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Range"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RFR.3"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.gestationalAge",
      "path" : "ObservationDefinition.qualifiedInterval.gestationalAge",
      "short" : "Applicable gestational age range, if relevant",
      "definition" : "The gestational age to which this reference range is applicable, in the context of pregnancy.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Range"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RFR.4"
      }]
    },
    {
      "id" : "ObservationDefinition.qualifiedInterval.condition",
      "path" : "ObservationDefinition.qualifiedInterval.condition",
      "short" : "Condition associated with the reference range",
      "definition" : "Text based condition for which the reference range is valid.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RFR.7"
      }]
    },
    {
      "id" : "ObservationDefinition.validCodedValueSet",
      "path" : "ObservationDefinition.validCodedValueSet",
      "short" : "Value set of valid coded values for the observations conforming to this ObservationDefinition",
      "definition" : "The set of valid coded results for the observations  conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM3-3"
      }]
    },
    {
      "id" : "ObservationDefinition.normalCodedValueSet",
      "path" : "ObservationDefinition.normalCodedValueSet",
      "short" : "Value set of normal coded values for the observations conforming to this ObservationDefinition",
      "definition" : "The set of normal coded results for the observations conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM3-4"
      }]
    },
    {
      "id" : "ObservationDefinition.abnormalCodedValueSet",
      "path" : "ObservationDefinition.abnormalCodedValueSet",
      "short" : "Value set of abnormal coded values for the observations conforming to this ObservationDefinition",
      "definition" : "The set of abnormal coded results for the observation conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM3-5"
      }]
    },
    {
      "id" : "ObservationDefinition.criticalCodedValueSet",
      "path" : "ObservationDefinition.criticalCodedValueSet",
      "short" : "Value set of critical coded values for the observations conforming to this ObservationDefinition",
      "definition" : "The set of critical coded results for the observation conforming to this ObservationDefinition.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OM3-6"
      }]
    }]
  }
}


