PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.pharm-quality@1.0.0-ballot
    http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/ObservationDefinition-test-method-drug-pq
{
  "description": "TBD",
  "_filename": "StructureDefinition-ObservationDefinition-test-method-drug-pq.json",
  "package_name": "hl7.fhir.uv.pharm-quality",
  "date": "2023-12-18T16:00:45+00:00",
  "derivation": "constraint",
  "publisher": "HL7 International / Biomedical Research and Regulation",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "text": "World",
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "World"
    } ]
  } ],
  "name": "ObservationDefinitionTestMethodPq",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 V2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "ObservationDefinition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "ObservationDefinition - Test Method PQ",
  "package_version": "1.0.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "brr"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "cnl-0",
        "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
        "source": "http://hl7.org/fhir/StructureDefinition/ObservationDefinition",
        "severity": "warning",
        "expression": "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"
      }, {
        "key": "obd-0",
        "human": "If permittedUnit exists, then permittedDataType=Quantity must exist.",
        "source": "http://hl7.org/fhir/StructureDefinition/ObservationDefinition",
        "severity": "error",
        "expression": "permittedUnit.exists() implies (permittedDataType = 'Quantity').exists()"
      } ],
      "path": "ObservationDefinition",
      "min": 0,
      "definition": "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.",
      "isModifier": false,
      "short": "Definition of an observation",
      "mapping": [ {
        "map": "conformance.behavior,clinical.diagnostics",
        "identity": "w5"
      }, {
        "map": "Definition",
        "identity": "workflow"
      }, {
        "map": "OM2\nOM3\nOMC",
        "identity": "v2"
      }, {
        "map": "Observation[classCode=OBS, moodCode=DEF]",
        "identity": "rim"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition",
      "comment": "An instance of this resource informs the consumer of a health-related service (such as a lab diagnostic test or panel) about how the observations used or produced by this service will look like.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition"
      },
      "isSummary": false
    }, {
      "path": "ObservationDefinition.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.id",
      "comment": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "additional": [ {
          "purpose": "starter",
          "valueSet": "http://hl7.org/fhir/ValueSet/languages"
        } ],
        "description": "IETF language tag for a human language"
      },
      "max": "1",
      "id": "ObservationDefinition.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": false,
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "ObservationDefinition.text",
      "condition": [ "dom-6" ],
      "comment": "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "ObservationDefinition.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "mustSupport": false,
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "ObservationDefinition.contained",
      "condition": [ "dom-2", "dom-4", "dom-3", "dom-5" ],
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, 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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "mustSupport": false,
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ObservationDefinition.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.modifierExtension",
      "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](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "mustSupport": false,
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ObservationDefinition.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.url",
      "requirements": "Allows the ObservationDefinition to be referenced by a single globally unique identifier.",
      "min": 0,
      "definition": "An absolute URL that is used to identify this ObservationDefinition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this ObservationDefinition is (or will be) published. The URL SHOULD include the major version of the ObservationDefinition. For more information see Technical and Business Versions.",
      "isModifier": false,
      "short": "Logical canonical URL to reference this ObservationDefinition (globally unique)",
      "mapping": [ {
        "map": "Definition.url",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.url",
      "comment": "Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred. This is the URI that will be used when making canonical references to this resource.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.url"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.identifier",
      "requirements": "Allows identification of the ObservationDefinition as it is known by various participating systems and in a way that remains consistent across servers.",
      "min": 0,
      "definition": "Business identifiers assigned to this ObservationDefinition. by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.",
      "isModifier": false,
      "short": "Business identifier of the ObservationDefinition",
      "mapping": [ {
        "map": "Definition.identifier",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.identifier",
      "comment": "This is a business identifier, not a resource identifier. It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.version",
      "min": 0,
      "definition": "The identifier that is used to identify this version of the ObservationDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the ObservationDefinition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.",
      "isModifier": false,
      "short": "Business version of the ObservationDefinition",
      "mapping": [ {
        "map": "Definition.version",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.version",
      "comment": "There may be multiple different instances of an observationDefinition that have the same identifier but different versions.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.versionAlgorithm[x]",
      "min": 0,
      "definition": "Indicates the mechanism used to compare versions to determine which is more current.",
      "isModifier": false,
      "short": "How to compare versions",
      "type": [ {
        "code": "string"
      }, {
        "code": "Coding"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm"
      },
      "max": "1",
      "id": "ObservationDefinition.versionAlgorithm[x]",
      "comment": "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.versionAlgorithm[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.name",
      "requirements": "Support human navigation and code generation.",
      "min": 0,
      "definition": "A natural language name identifying the ObservationDefinition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
      "isModifier": false,
      "short": "Name for this ObservationDefinition (computer friendly)",
      "mapping": [ {
        "map": "Definition.name",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.name",
      "condition": [ "cnl-0" ],
      "comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.name"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.title",
      "min": 0,
      "definition": "A short, descriptive, user-friendly title for the ObservationDefinition.",
      "isModifier": false,
      "short": "Name for this ObservationDefinition (human friendly)",
      "mapping": [ {
        "map": "Definition.title",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ObservationDefinition.title",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.title"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.status",
      "min": 1,
      "definition": "The current state of the ObservationDefinition.",
      "isModifier": true,
      "short": "draft | active | retired | unknown",
      "mapping": [ {
        "map": "Definition.status",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/publication-status|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PublicationStatus"
        } ],
        "description": "Codes identifying the state of an ObservationDefinition."
      },
      "max": "1",
      "id": "ObservationDefinition.status",
      "comment": "A nominal state-transition diagram can be found in the [Definition pattern](definition.html#statemachine) documentation\nUnknown does not represent \"other\" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ObservationDefinition.status"
      },
      "isModifierReason": "Not known why this is labelled a modifier",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.experimental",
      "min": 0,
      "definition": "A flag to indicate that this ObservationDefinition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.",
      "isModifier": false,
      "short": "If for testing purposes, not real usage",
      "mapping": [ {
        "map": "Definition.experimental",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": false,
      "meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.",
      "max": "1",
      "id": "ObservationDefinition.experimental",
      "comment": "Allows filtering of ObservationDefinition that are appropriate for use vs. not.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.experimental"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.date",
      "min": 0,
      "definition": "The date (and optionally time) when the ObservationDefinition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ObservationDefinition changes.",
      "isModifier": false,
      "short": "Date last changed",
      "mapping": [ {
        "map": "Definition.date",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": false,
      "alias": [ "revision date" ],
      "max": "1",
      "id": "ObservationDefinition.date",
      "comment": "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the ObservationDefinition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.date"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.publisher",
      "requirements": "Usually an organization, but may be an individual. The publisher (or steward) of the ObservationDefinition is the organization or individual primarily responsible for the maintenance and upkeep of the ObservationDefinition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the ObservationDefinition. This item SHOULD be populated unless the information is available from context.",
      "min": 0,
      "definition": "Helps establish the \"authority/credibility\" of the ObservationDefinition. May also allow for contact.",
      "isModifier": false,
      "short": "The name of the individual or organization that published the ObservationDefinition",
      "mapping": [ {
        "map": "Definition.publisher",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ObservationDefinition.publisher",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.publisher"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.contact",
      "min": 0,
      "definition": "Contact details to assist a user in finding and communicating with the publisher.",
      "isModifier": false,
      "short": "Contact details for the publisher",
      "mapping": [ {
        "map": "Definition.contact",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "ContactDetail"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.contact",
      "comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.contact"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.description",
      "min": 0,
      "definition": "A free text natural language description of the ObservationDefinition from the consumer's perspective.",
      "isModifier": false,
      "short": "Natural language description of the ObservationDefinition",
      "mapping": [ {
        "map": "Definition.description",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ObservationDefinition.description",
      "comment": "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.description"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.useContext",
      "requirements": "Assist in searching for appropriate content.",
      "min": 0,
      "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate ObservationDefinition instances.",
      "isModifier": false,
      "short": "Content intends to support these contexts",
      "mapping": [ {
        "map": "Definition.useContext",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "UsageContext"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.useContext",
      "comment": "When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.useContext"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.jurisdiction",
      "min": 0,
      "definition": "A jurisdiction in which the ObservationDefinition is intended to be used.",
      "isModifier": false,
      "short": "Intended jurisdiction for this ObservationDefinition (if applicable)",
      "mapping": [ {
        "map": "Definition.jurisdiction",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Jurisdiction"
        } ],
        "description": "Codes for country, country subdivision and region for indicating where a resource is intended to be used."
      },
      "max": "*",
      "id": "ObservationDefinition.jurisdiction",
      "comment": "It may be possible for the ObservationDefinition to be used in jurisdictions other than those for which it was originally designed or intended.\n\nDEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.jurisdiction"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.purpose",
      "min": 0,
      "definition": "Explains why this ObservationDefinition is needed and why it has been designed as it has.",
      "isModifier": false,
      "short": "Why this ObservationDefinition is defined",
      "mapping": [ {
        "map": "Definition.purpose",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ObservationDefinition.purpose",
      "comment": "This element does not describe the usage of the ObservationDefinition. Rather it is for traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this ObservationDefinition.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.purpose"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.copyright",
      "requirements": "Consumers of the ObservationDefinition must be able to determine any legal restrictions on the use of the artifact and/or its content.",
      "min": 0,
      "definition": "Copyright statement relating to the ObservationDefinition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the ObservationDefinition.",
      "isModifier": false,
      "short": "Use and/or publishing restrictions",
      "mapping": [ {
        "map": "Definition.copyright",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "alias": [ "License", "Restrictions" ],
      "max": "1",
      "id": "ObservationDefinition.copyright",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.copyright"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.copyrightLabel",
      "requirements": "Defines the content expected to be rendered in all representations of the artifact.",
      "min": 0,
      "definition": "A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').",
      "isModifier": false,
      "short": "Copyright holder and year(s)",
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ObservationDefinition.copyrightLabel",
      "comment": "The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.copyrightLabel"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.approvalDate",
      "min": 0,
      "definition": "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
      "isModifier": false,
      "short": "When ObservationDefinition was approved by publisher",
      "mapping": [ {
        "map": "Definition.approvalDate",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.approvalDate",
      "comment": "The date may be more recent than the approval date because of minor changes / editorial corrections.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.approvalDate"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.lastReviewDate",
      "min": 0,
      "definition": "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
      "isModifier": false,
      "short": "Date on which the asset content was last reviewed by the publisher",
      "mapping": [ {
        "map": "Definition.lastReviewDate",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.lastReviewDate",
      "comment": "If specified, this is usually after the approval date.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.lastReviewDate"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.effectivePeriod",
      "min": 0,
      "definition": "The period during which the ObservationDefinition content was or is planned to be effective.",
      "isModifier": false,
      "short": "The effective date range for the ObservationDefinition",
      "mapping": [ {
        "map": "Definition.effectivePeriod",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.effectivePeriod",
      "comment": "The effective period for an ObservationDefinition determines when the content is applicable for usage and is independent of publication and review dates. For example, an observation definition intended to be used for the year 2021 might be published in 2020.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.effectivePeriod"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.derivedFromCanonical",
      "min": 0,
      "definition": "The canonical URL pointing to another FHIR-defined ObservationDefinition that is adhered to in whole or in part by this definition.",
      "isModifier": false,
      "short": "Based on FHIR definition of another observation",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ObservationDefinition" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.derivedFromCanonical",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.derivedFromCanonical"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.derivedFromUri",
      "requirements": "Observation definitions may be refinements of other definitions.",
      "min": 0,
      "definition": "The URL pointing to an externally-defined observation definition, guideline or other definition that is adhered to in whole or in part by this definition.",
      "isModifier": false,
      "short": "Based on external definition",
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.derivedFromUri",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.derivedFromUri"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.subject",
      "min": 0,
      "definition": "A code that describes the intended kind of subject of Observation instances conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "Type of subject for the defined observation",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.subject",
      "comment": "Examples: person, animal, device, air, surface ….",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.subject"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.performerType",
      "min": 0,
      "definition": "The type of individual/organization/device that is expected to act upon instances of this definition.",
      "isModifier": false,
      "short": "Desired kind of performer for such kind of observation",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.performerType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.performerType"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.category",
      "requirements": "Used for filtering what kinds of observations are retrieved and displayed.",
      "min": 0,
      "definition": "A code that classifies the general type of observation.",
      "isModifier": false,
      "short": "General type of observation",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"DEF\"].code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/observation-category",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationCategory"
        } ],
        "description": "Codes for high level observation categories."
      },
      "alias": [ "Class of observation" ],
      "max": "*",
      "id": "ObservationDefinition.category",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.category"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.code",
      "min": 1,
      "definition": "Describes what will be observed. Sometimes this is called the observation \"name\".",
      "isModifier": false,
      "short": "Type of observation",
      "mapping": [ {
        "map": "FiveWs.what[x]",
        "identity": "w5"
      }, {
        "map": "OM1-2\nOMC-4",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/uv/pharm-quality/ValueSet/vs-test-method-local-pq"
      },
      "max": "1",
      "id": "ObservationDefinition.code",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ObservationDefinition.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.permittedDataType",
      "min": 0,
      "definition": "The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period",
      "mapping": [ {
        "map": "OM1-3",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/permitted-data-type|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationDataType"
        } ],
        "description": "Permitted data type for observation value."
      },
      "max": "*",
      "id": "ObservationDefinition.permittedDataType",
      "condition": [ "obd-0" ],
      "example": [ {
        "label": "General",
        "valueCode": "CodeableConcept"
      } ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.permittedDataType"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.multipleResultsAllowed",
      "min": 0,
      "definition": "Multiple results allowed for observations conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "Multiple results allowed for conforming observations",
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.multipleResultsAllowed",
      "comment": "An example of observation allowing multiple results is \"bacteria identified by culture\". Conversely, the measurement of a potassium level allows a single result.",
      "example": [ {
        "label": "General",
        "valueBoolean": true
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.multipleResultsAllowed"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.bodySite",
      "min": 0,
      "definition": "The site on the subject's body where the  observation is to be made.",
      "isModifier": false,
      "short": "Body part to be observed",
      "mapping": [ {
        "map": "targetSiteCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/body-site",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationBodySite"
        } ],
        "description": "SNOMED CT body structures."
      },
      "max": "1",
      "id": "ObservationDefinition.bodySite",
      "comment": "Only used if the defined observation is to be made directly on a body part and if this body part is not implied by code found in ObservationDefinition.code. Not used for in vitro diagnostic observations. \nExample: 14975008 |Forearm structure|.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.bodySite"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.method",
      "requirements": "In some cases, method can impact results.",
      "min": 0,
      "definition": "The method or technique used to perform the observation.",
      "isModifier": false,
      "short": "Method used to produce the observation",
      "mapping": [ {
        "map": "OM1-14",
        "identity": "v2"
      }, {
        "map": "methodCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationMethod"
        } ],
        "description": "Methods for simple observations."
      },
      "max": "1",
      "id": "ObservationDefinition.method",
      "comment": "Only used if not implicit in observation code\nExample: 702659008 |Automated count technique|.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.method"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.specimen",
      "min": 0,
      "definition": "The kind of specimen that this type of observation is produced on.",
      "isModifier": false,
      "short": "Kind of specimen used by this type of observation",
      "mapping": [ {
        "map": "participation[typeCode=SPC].specimen",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/SpecimenDefinition" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "ObservationDefinition.specimen",
      "comment": "Only used for in vitro observations. When multiple occurrences of specimen are present, they are to be combined with a logical AND: all specified specimens  are needed for the observation.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.specimen"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.device",
      "min": 0,
      "definition": "The measurement model of device or actual device used to produce observations of this type.",
      "isModifier": false,
      "short": "Measurement device or model of device",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DeviceDefinition", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "ObservationDefinition.device",
      "comment": "When multiple occurrences of device are present, they are to be combined with a logical OR: at least one of the specified devices is used to produce the observation.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.device"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.preferredReportName",
      "min": 0,
      "definition": "The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "The preferred name to be used when reporting the observation results",
      "mapping": [ {
        "map": "OM1-9",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.preferredReportName",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.preferredReportName"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.permittedUnit",
      "min": 0,
      "definition": "Units allowed for the valueQuantity element in the instance observations conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "Unit for quantitative results",
      "mapping": [ {
        "map": "OM2-4",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationUnit"
        } ],
        "description": "Codes identifying units of measure."
      },
      "max": "*",
      "id": "ObservationDefinition.permittedUnit",
      "condition": [ "obd-0" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.permittedUnit"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue",
      "min": 0,
      "definition": "A set of qualified values associated with a context and a set of conditions -  provides a range for quantitative and ordinal observations and a collection of value sets for qualitative observations.",
      "isModifier": false,
      "short": "Set of qualified values for observation results",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "ObservationDefinition.qualifiedValue",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue"
      },
      "isSummary": false
    }, {
      "path": "ObservationDefinition.qualifiedValue.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.id",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.qualifiedValue.extension",
      "min": 0,
      "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 managable, 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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ObservationDefinition.qualifiedValue.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.qualifiedValue.modifierExtension",
      "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](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
      "min": 0,
      "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 managable, 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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ObservationDefinition.qualifiedValue.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.context",
      "min": 0,
      "definition": "A concept defining the context for this set of qualified values.",
      "isModifier": false,
      "short": "Context qualifier for the set of qualified values",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationRangeMeaning"
        } ]
      },
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.context",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.context"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.appliesTo",
      "min": 0,
      "definition": "The target population this  set of qualified values applies to.",
      "isModifier": false,
      "short": "Targetted population for the set of qualified values",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationRangeAppliesTo"
        } ]
      },
      "max": "*",
      "id": "ObservationDefinition.qualifiedValue.appliesTo",
      "comment": "If this element is not present then the global population is assumed.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.appliesTo"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.gender",
      "min": 0,
      "definition": "The gender this  set of qualified values applies to.",
      "isModifier": false,
      "short": "male | female | other | unknown",
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AdministrativeGender"
        } ]
      },
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.gender",
      "example": [ {
        "label": "General",
        "valueCode": "female"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.gender"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.age",
      "min": 0,
      "definition": "The age range this  set of qualified values applies to.",
      "isModifier": false,
      "short": "Applicable age range for the set of qualified values",
      "type": [ {
        "code": "Range"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.age",
      "comment": "Some analytes vary greatly over age.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.age"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.gestationalAge",
      "min": 0,
      "definition": "The gestational age this  set of qualified values applies to.",
      "isModifier": false,
      "short": "Applicable gestational age range for the set of qualified values",
      "type": [ {
        "code": "Range"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.gestationalAge",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.gestationalAge"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.condition",
      "min": 0,
      "definition": "Text based condition for which the the set of qualified values is valid.",
      "isModifier": false,
      "short": "Condition associated with the set of qualified values",
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.condition",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.condition"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.rangeCategory",
      "min": 0,
      "definition": "The category of range of values for continuous or ordinal observations that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "reference | critical | absolute",
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/observation-range-category|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationRangeCategory"
        } ]
      },
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.rangeCategory",
      "example": [ {
        "label": "General",
        "valueCode": "critical"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.rangeCategory"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.range",
      "requirements": "The unit may be not relevant for ordinal values. In case it is there, it is the same as ObservationDefinition.unit.",
      "min": 0,
      "definition": "The range of values defined for continuous or ordinal observations that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "The range for continuous or ordinal observations",
      "type": [ {
        "code": "Range"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.range",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.range"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.validCodedValueSet",
      "min": 0,
      "definition": "The set of valid coded results for qualitative observations  that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "Value set of valid coded values as part of this set of qualified values",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.validCodedValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.validCodedValueSet"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.normalCodedValueSet",
      "min": 0,
      "definition": "The set of normal coded results for qualitative observations  that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "Value set of normal coded values as part of this set of qualified values",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.normalCodedValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.normalCodedValueSet"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.abnormalCodedValueSet",
      "min": 0,
      "definition": "The set of abnormal coded results for qualitative observations  that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "Value set of abnormal coded values as part of this set of qualified values",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.abnormalCodedValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.abnormalCodedValueSet"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.qualifiedValue.criticalCodedValueSet",
      "min": 0,
      "definition": "The set of critical coded results for qualitative observations  that match the criteria of this set of qualified values.",
      "isModifier": false,
      "short": "Value set of critical coded values as part of this set of qualified values",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "ObservationDefinition.qualifiedValue.criticalCodedValueSet",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ObservationDefinition.qualifiedValue.criticalCodedValueSet"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.hasMember",
      "min": 0,
      "definition": "This ObservationDefinition defines a group  observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.",
      "isModifier": false,
      "short": "Definitions of related resources belonging to this kind of observation group",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ObservationDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "ObservationDefinition.hasMember",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.hasMember"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "obd-1",
        "human": "If permittedUnit exists, then permittedDataType=Quantity must exist.",
        "source": "http://hl7.org/fhir/StructureDefinition/ObservationDefinition",
        "severity": "error",
        "expression": "permittedUnit.exists() implies (permittedDataType = 'Quantity').exists()"
      } ],
      "path": "ObservationDefinition.component",
      "requirements": "Component observations share the same attributes as the primary observation and are always treated as a part of it (they are not separable).",
      "min": 0,
      "definition": "Some observations have multiple component observations, expressed as separate code value pairs.",
      "isModifier": false,
      "short": "Component results",
      "mapping": [ {
        "map": "outBoundRelationship[typeCode=COMP]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.component",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.component"
      },
      "isSummary": false
    }, {
      "path": "ObservationDefinition.component.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ObservationDefinition.component.id",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.component.extension",
      "min": 0,
      "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 managable, 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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ObservationDefinition.component.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ObservationDefinition.component.modifierExtension",
      "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](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
      "min": 0,
      "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 managable, 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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ObservationDefinition.component.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.component.code",
      "min": 1,
      "definition": "Describes what will be observed.",
      "isModifier": false,
      "short": "Type of observation",
      "mapping": [ {
        "map": "code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationCode"
        } ],
        "description": "Codes identifying names of simple observations."
      },
      "max": "1",
      "id": "ObservationDefinition.component.code",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ObservationDefinition.component.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.component.permittedDataType",
      "min": 0,
      "definition": "The data types allowed for the value element of the instance of this component observations.",
      "isModifier": false,
      "short": "Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period",
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/permitted-data-type|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationDataType"
        } ],
        "description": "Permitted data type for observation value."
      },
      "max": "*",
      "id": "ObservationDefinition.component.permittedDataType",
      "condition": [ "obd-1" ],
      "example": [ {
        "label": "General",
        "valueCode": "CodeableConcept"
      } ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.component.permittedDataType"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.component.permittedUnit",
      "min": 0,
      "definition": "Units allowed for the valueQuantity element in the instance observations conforming to this ObservationDefinition.",
      "isModifier": false,
      "short": "Unit for quantitative results",
      "mapping": [ {
        "map": "OM2-4",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationUnit"
        } ],
        "description": "Codes identifying units of measure."
      },
      "max": "*",
      "id": "ObservationDefinition.component.permittedUnit",
      "condition": [ "obd-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.component.permittedUnit"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ObservationDefinition.component.qualifiedValue",
      "min": 0,
      "definition": "A set of qualified values associated with a context and a set of conditions -  provides a range for quantitative and ordinal observations and a collection of value sets for qualitative observations.",
      "isModifier": false,
      "short": "Set of qualified values for observation results",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/ObservationDefinition#ObservationDefinition.qualifiedValue",
      "mustSupport": false,
      "max": "*",
      "id": "ObservationDefinition.component.qualifiedValue",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ObservationDefinition.component.qualifiedValue"
      },
      "isSummary": false
    } ]
  },
  "status": "active",
  "id": "ba46ea5a-287b-48a3-9f37-64da67af6a23",
  "kind": "resource",
  "url": "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/ObservationDefinition-test-method-drug-pq",
  "version": "1.0.0-ballot",
  "differential": {
    "element": [ {
      "id": "ObservationDefinition",
      "path": "ObservationDefinition"
    }, {
      "id": "ObservationDefinition.id",
      "path": "ObservationDefinition.id"
    }, {
      "id": "ObservationDefinition.code",
      "path": "ObservationDefinition.code",
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/uv/pharm-quality/ValueSet/vs-test-method-local-pq"
      },
      "mustSupport": true
    }, {
      "id": "ObservationDefinition.method",
      "path": "ObservationDefinition.method",
      "mustSupport": true
    }, {
      "id": "ObservationDefinition.specimen",
      "path": "ObservationDefinition.specimen",
      "mustSupport": true
    }, {
      "id": "ObservationDefinition.device",
      "path": "ObservationDefinition.device",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DeviceDefinition", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "mustSupport": true
    }, {
      "id": "ObservationDefinition.qualifiedValue",
      "path": "ObservationDefinition.qualifiedValue",
      "mustSupport": true
    }, {
      "id": "ObservationDefinition.hasMember",
      "path": "ObservationDefinition.hasMember",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "HL7 International - Biomedical Research and Regulation",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/rcrim",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ObservationDefinition"
}