{
  "resourceType": "Bundle",
  "id": "profiles-others",
  "meta": {
    "lastUpdated": "2026-05-20T15:02:53.575+00:00",
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  },
  "type": "collection",
  "entry": [
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "familymemberhistory-genetic",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 2
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "cg"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1229"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "FamilyMemberHistoryForGeneticsAnalysis",
        "title": "Family member history for genetics analysis",
        "status": "draft",
        "experimental": false,
        "date": "2019-05-29",
        "publisher": "HL7 International / Clinical Genomics",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/clingenomics"
              }
            ]
          }
        ],
        "description": "Adds additional information to a family member history supporting both the capture of mother/father relationships as well as additional observations necessary to enable genetics-based risk analysis for patients",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "FamilyMemberHistory",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "FamilyMemberHistory",
              "path": "FamilyMemberHistory",
              "short": "Information about patient\u0027s relatives, relevant for patient",
              "definition": "Significant health conditions for a person related to the patient relevant in the context of care for the patient.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "fhs-1",
                  "severity": "error",
                  "human": "Can have age[x] or born[x], but not both",
                  "expression": "age.empty() or born.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"
                },
                {
                  "key": "fhs-3",
                  "severity": "error",
                  "human": "Can have age[x] or deceased[x], but not both",
                  "expression": "age.empty() or deceased.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.general"
                },
                {
                  "identity": "v2",
                  "map": "Not in scope for v2"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.id",
              "path": "FamilyMemberHistory.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "FamilyMemberHistory.meta",
              "path": "FamilyMemberHistory.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "FamilyMemberHistory.implicitRules",
              "path": "FamilyMemberHistory.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "FamilyMemberHistory.language",
              "path": "FamilyMemberHistory.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "FamilyMemberHistory.text",
              "path": "FamilyMemberHistory.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.contained",
              "path": "FamilyMemberHistory.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.extension",
              "path": "FamilyMemberHistory.extension",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "url"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Extension",
              "definition": "An Extension",
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.extension:parent",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "parent",
              "short": "Mother(s) \u0026 Father(s) - genetic \u0026 other",
              "definition": "Identifies a parent of the relative.",
              "comment": "Some individuals may have more than two parents (e.g. genetic vs. adoptive parents).  Even non-genetic relationships can be relevant in terms of genetic exposure.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "ext-1",
                  "severity": "error",
                  "human": "Must have either extensions or value[x], not both",
                  "expression": "extension.exists() !\u003d value.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Extension"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "player[classCode\u003cLIV, determinerCode\u003dINSTANCE].scopesRole"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.extension:sibling",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "sibling",
              "short": "natural brother(s) \u0026 natural sister(s) - genetic \u0026 other",
              "definition": "Identifies a sibling of the relative.",
              "comment": "Some cases may have complex inner-pedigree-tree relationship. For instance, double cousin relationship need two extra link with In pedigree tree itself. This can\u0027t be revealed by relationship to subject.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "ext-1",
                  "severity": "error",
                  "human": "Must have either extensions or value[x], not both",
                  "expression": "extension.exists() !\u003d value.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Extension"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.extension:observations",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "observations",
              "short": "Genetic markers, ethnicity, etc.",
              "definition": "Allows capturing risk-relevant observations about the relative that aren\u0027t themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.",
              "comment": "This may be extended with additional genomics-specific resources when they are ready.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "ext-1",
                  "severity": "error",
                  "human": "Must have either extensions or value[x], not both",
                  "expression": "extension.exists() !\u003d value.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Extension"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dSUBJ].source"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.modifierExtension",
              "path": "FamilyMemberHistory.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.identifier",
              "path": "FamilyMemberHistory.identifier",
              "short": "External Id(s) for this record",
              "definition": "Business identifiers assigned to this family member history by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
              "comment": "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  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.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
              "requirements": "Allows identification of the family member history as it is known by various participating systems and in a way that remains consistent across servers.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.status",
              "path": "FamilyMemberHistory.status",
              "short": "partial | completed | entered-in-error | health-unknown",
              "definition": "A code specifying the status of the record of the family history of a specific family member.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "FamilyHistoryStatus"
                  }
                ],
                "strength": "required",
                "description": "A code that identifies the status of the family history record.",
                "valueSet": "http://hl7.org/fhir/ValueSet/history-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.dataAbsentReason",
              "path": "FamilyMemberHistory.dataAbsentReason",
              "short": "subject-unknown | withheld | unable-to-obtain | deferred",
              "definition": "Describes why the family member\u0027s history is not available.",
              "requirements": "This is a separate element to allow it to have a distinct binding from reasonCode.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "FamilyHistoryAbsentReason"
                  }
                ],
                "strength": "example",
                "description": "Codes describing the reason why a family member\u0027s history is not available.",
                "valueSet": "http://hl7.org/fhir/ValueSet/history-absent-reason"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".reasonCode"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.patient",
              "path": "FamilyMemberHistory.patient",
              "short": "Patient history is about",
              "definition": "The person who this history concerns.",
              "comment": "This is not the family member.",
              "alias": [
                "Proband"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.patient",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ].role"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.date",
              "path": "FamilyMemberHistory.date",
              "short": "When history was recorded or last updated",
              "definition": "The date (and possibly time) when the family member history was recorded or last updated.",
              "comment": "This should be captured even if the same as the date on the List aggregating the full family history.",
              "requirements": "Allows determination of how current the summary is.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.date",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.recorder",
              "path": "FamilyMemberHistory.recorder",
              "short": "Who recorded the family member history",
              "definition": "Individual who recorded the record and takes responsibility for its content.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.recorder",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.author"
                },
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003dAUT].role"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.asserter",
              "path": "FamilyMemberHistory.asserter",
              "short": "Person or device that asserts this family member history",
              "definition": "Individual or device that is making the family member history statement.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.asserter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.source"
                },
                {
                  "identity": "v2",
                  "map": "REL-7.1 identifier + REL-7.12 type code"
                },
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003dINF].role"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.name",
              "path": "FamilyMemberHistory.name",
              "short": "The family member described",
              "definition": "This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\".",
              "requirements": "Allows greater ease in ensuring the same person is being talked about.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.name",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "name"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.relationship",
              "path": "FamilyMemberHistory.relationship",
              "short": "Relationship to the subject",
              "definition": "The type of relationship this person has to the patient (father, mother, brother etc.).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.relationship",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "FamilialRelationship"
                  }
                ],
                "strength": "example",
                "description": "The nature of the relationship between the patient and the related person being described in the family member history.",
                "valueSet": "http://terminology.hl7.org/ValueSet/v3-FamilyMember"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.sex",
              "path": "FamilyMemberHistory.sex",
              "short": "male | female | other | unknown",
              "definition": "The birth sex of the family member.",
              "comment": "This element should ideally reflect whether the individual is genetically male or female.  However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported sex might not be totally accurate.  E.g. \u0027Aunt Sue\u0027 might be XY rather than XX.  Questions soliciting this information should be phrased to encourage capture of genetic sex where known.  However, systems performing analysis should also allow for the possibility of imprecision with this element.",
              "requirements": "Not all relationship codes imply sex and the relative\u0027s sex can be relevant for risk assessments.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.sex",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Sex"
                  }
                ],
                "strength": "extensible",
                "description": "Codes describing the sex assigned at birth as documented on the birth registration.",
                "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            },
            {
              "id": "FamilyMemberHistory.born[x]",
              "path": "FamilyMemberHistory.born[x]",
              "short": "(approximate) date of birth",
              "definition": "The actual or approximate date of birth of the relative.",
              "requirements": "Allows calculation of the relative\u0027s age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.born[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Period"
                },
                {
                  "code": "date"
                },
                {
                  "code": "string"
                }
              ],
              "condition": [
                "fhs-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "player[classCode\u003dLIV, determinerCode\u003dINSTANCE]. birthDate (could be URG)"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.age[x]",
              "path": "FamilyMemberHistory.age[x]",
              "short": "(approximate) age",
              "definition": "The age of the relative at the time the family member history is recorded.",
              "requirements": "While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.age[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Age"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "string"
                }
              ],
              "condition": [
                "fhs-1",
                "fhs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ].act[classCode\u003dOBS,moodCode\u003dEVN, code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.deceased[x]",
              "path": "FamilyMemberHistory.deceased[x]",
              "short": "Dead? How old/when?",
              "definition": "Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.deceased[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                },
                {
                  "code": "Age"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "date"
                },
                {
                  "code": "string"
                }
              ],
              "condition": [
                "fhs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "player[classCode\u003dLIV, determinerCode\u003dINSTANCE].deceasedInd, deceasedDate (could be URG)  For age, you\u0027d hang an observation off the role"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.reason",
              "path": "FamilyMemberHistory.reason",
              "short": "Why was family member history performed?",
              "definition": "Describes why the family member history occurred in coded or textual form, or Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event.",
              "comment": "Textual reasons can be captured using reasonCode.text.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.reason",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Condition",
                    "http://hl7.org/fhir/StructureDefinition/Observation",
                    "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
                    "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
                    "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "FamilyHistoryReason"
                  }
                ],
                "strength": "example",
                "description": "Codes indicating why the family member history was done.",
                "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.reason"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.why[x]"
                },
                {
                  "identity": "rim",
                  "map": ".reasonCode"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.note",
              "path": "FamilyMemberHistory.note",
              "short": "General note about related person",
              "definition": "This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dSUBJ].source[classCode\u003dOBS, moodCode\u003dEVN, code\u003dActCode#ANNGEN].value"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition",
              "path": "FamilyMemberHistory.condition",
              "short": "Condition that the related person had",
              "definition": "The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.condition",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dSUBJ].source[classCode\u003dOBS, moodCode\u003dEVN, code\u003dActCode#ASSERTION, value\u003cDiagnosis]"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.id",
              "path": "FamilyMemberHistory.condition.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.extension",
              "path": "FamilyMemberHistory.condition.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.modifierExtension",
              "path": "FamilyMemberHistory.condition.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.code",
              "path": "FamilyMemberHistory.condition.code",
              "short": "Condition, allergy, or intolerance suffered by relation",
              "definition": "The actual condition, allergy, or intolerance specified. Could be a coded condition (like MI or Diabetes) or a less specific string like \u0027cancer\u0027 depending on how much is known about the condition and the capabilities of the creating system.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.condition.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ConditionCode"
                  }
                ],
                "strength": "example",
                "description": "Identification of the Condition or diagnosis.",
                "valueSet": "http://hl7.org/fhir/ValueSet/condition-code"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".value"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.outcome",
              "path": "FamilyMemberHistory.condition.outcome",
              "short": "deceased | permanent disability | etc",
              "definition": "Indicates what happened following the condition.  If the condition resulted in death, deceased date is captured on the relation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.condition.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ConditionOutcome"
                  }
                ],
                "strength": "example",
                "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.",
                "valueSet": "http://hl7.org/fhir/ValueSet/condition-outcome"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dOUTC)].target[classCode\u003dOBS, moodCode\u003dEVN, code\u003dActCode#ASSERTION].value"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.contributedToDeath",
              "path": "FamilyMemberHistory.condition.contributedToDeath",
              "short": "Whether the condition contributed to the cause of death",
              "definition": "This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.condition.contributedToDeath",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.condition.onset[x]",
              "path": "FamilyMemberHistory.condition.onset[x]",
              "short": "When condition first manifested",
              "definition": "Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence.",
              "requirements": "Age of onset of a condition in relatives is predictive of risk for the patient.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.condition.onset[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Age"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dSUBJ].source[classCode\u003dOBS, moodCode\u003dEVN, code\u003d\"Subject Age at measurement\", value\u003cDiagnosis].value[@xsi:typeCode\u003d\u0027TS\u0027 or \u0027IVL_TS\u0027]  Use originalText for string"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.condition.note",
              "path": "FamilyMemberHistory.condition.note",
              "short": "Extra information about condition",
              "definition": "An area where general notes can be placed about this specific condition.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.condition.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dSUBJ].source[classCode\u003dOBS, moodCode\u003dEVN, code\u003dActCode#ANNGEN].value"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.procedure",
              "path": "FamilyMemberHistory.procedure",
              "short": "Procedures that the related person had",
              "definition": "The significant Procedures (or procedure) that the family member had. This is a repeating section to allow a system to represent more than one procedure per resource, though there is nothing stopping multiple resources - one per procedure.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.procedure",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.procedure.id",
              "path": "FamilyMemberHistory.procedure.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.procedure.extension",
              "path": "FamilyMemberHistory.procedure.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.procedure.modifierExtension",
              "path": "FamilyMemberHistory.procedure.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "FamilyMemberHistory.procedure.code",
              "path": "FamilyMemberHistory.procedure.code",
              "short": "Procedures performed on the related person",
              "definition": "The actual procedure specified. Could be a coded procedure or a less specific string depending on how much is known about the procedure and the capabilities of the creating system.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.procedure.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProcedureCode"
                  }
                ],
                "strength": "example",
                "description": "A code to identify a specific procedure.",
                "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code"
              }
            },
            {
              "id": "FamilyMemberHistory.procedure.outcome",
              "path": "FamilyMemberHistory.procedure.outcome",
              "short": "What happened following the procedure",
              "definition": "Indicates what happened following the procedure. If the procedure resulted in death, deceased date is captured on the relation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.procedure.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProcedureOutcome"
                  }
                ],
                "strength": "example",
                "description": "The result of the procedure; e.g. death, permanent disability, temporary disability, etc.",
                "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
              }
            },
            {
              "id": "FamilyMemberHistory.procedure.contributedToDeath",
              "path": "FamilyMemberHistory.procedure.contributedToDeath",
              "short": "Whether the procedure contributed to the cause of death",
              "definition": "This procedure contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.procedure.contributedToDeath",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.procedure.performed[x]",
              "path": "FamilyMemberHistory.procedure.performed[x]",
              "short": "When the procedure was performed",
              "definition": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "FamilyMemberHistory.procedure.performed[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Age"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "string"
                },
                {
                  "code": "dateTime"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "FamilyMemberHistory.procedure.note",
              "path": "FamilyMemberHistory.procedure.note",
              "short": "Extra information about the procedure",
              "definition": "An area where general notes can be placed about this specific procedure.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "FamilyMemberHistory.procedure.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "FamilyMemberHistory",
              "path": "FamilyMemberHistory",
              "min": 0,
              "max": "*"
            },
            {
              "id": "FamilyMemberHistory.extension:parent",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "parent",
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"
                  ]
                }
              ],
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.extension:sibling",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "sibling",
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"
                  ]
                }
              ],
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.extension:observations",
              "path": "FamilyMemberHistory.extension",
              "sliceName": "observations",
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"
                  ]
                }
              ],
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.relationship",
              "path": "FamilyMemberHistory.relationship",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.sex",
              "path": "FamilyMemberHistory.sex",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.born[x]",
              "path": "FamilyMemberHistory.born[x]",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.age[x]",
              "path": "FamilyMemberHistory.age[x]",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.deceased[x]",
              "path": "FamilyMemberHistory.deceased[x]",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.condition",
              "path": "FamilyMemberHistory.condition",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.condition.code",
              "path": "FamilyMemberHistory.condition.code",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.condition.outcome",
              "path": "FamilyMemberHistory.condition.outcome",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.condition.onset[x]",
              "path": "FamilyMemberHistory.condition.onset[x]",
              "mustSupport": true
            },
            {
              "id": "FamilyMemberHistory.condition.note",
              "path": "FamilyMemberHistory.condition.note"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "provenance-relevant-history",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 6
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "informative"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1318"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "ProvenanceRelevantHistory",
        "title": "Provenance  Relevant  History",
        "status": "active",
        "experimental": false,
        "date": "2025-11-01",
        "publisher": "Health Level Seven International",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/Committees/fhir-i"
              }
            ]
          }
        ],
        "description": "This profile is provided for guidance purposes only.  There is no expectation that implementers must adhere to this profile.  It is included in the specification to help implementers understand how they might use Provenance to satisfy the typical needs envisioned by the \u0027relevantHistory\u0027 elements found in various Event and Request resources.\r\n\r\nThis profile identifies the data elements most likely to be relevant to implementers who are using Provenance to convey the `relevant history` of a resource, as discussed in the [request pattern](request.html#history).  For the purposes of this profile, mustSupport should be interpreted as \u0027SHOULD be considered for population and SHOULD be understood by consumers.\u0027  Implementers are not obligated to handle all of these element and are not prohibited from also making use of additional data elements",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w3c.prov",
            "uri": "http://www.w3.org/ns/prov",
            "name": "W3C PROV"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "fhirauditevent",
            "uri": "http://hl7.org/fhir/auditevent",
            "name": "FHIR AuditEvent Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Provenance",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Provenance",
              "path": "Provenance",
              "short": "Who, What, When for a set of resources",
              "definition": "Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which MAY impact security, privacy, and trust policies.",
              "comment": "Some parties MAY be duplicated between the target resource and its provenance.  For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.",
              "alias": [
                "History",
                "Event",
                "Activity"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.information"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity"
                }
              ]
            },
            {
              "id": "Provenance.id",
              "path": "Provenance.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Provenance.meta",
              "path": "Provenance.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Provenance.implicitRules",
              "path": "Provenance.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Provenance.language",
              "path": "Provenance.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Provenance.text",
              "path": "Provenance.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Provenance.contained",
              "path": "Provenance.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.extension",
              "path": "Provenance.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.modifierExtension",
              "path": "Provenance.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.target",
              "path": "Provenance.target",
              "short": "Resource version",
              "definition": "This points to the version of the resource that was created as a result of this historical record action.  Typically only a single resource will be referenced, but if the same action is performed to multiple resources in the context of a transaction, some systems MAY link multiple resource instances.",
              "comment": "The reference SHALL be version-specific.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Provenance.target",
                "min": 1,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "rim",
                  "map": "./outboundRelationship[isNormalActRelationship() and typeCode\u003dSUBJ]/target  OR  ./participation[isNormalParticipation() and typeCode\u003dSBJ]/role  OR  ./participation[isNormalParticipation() and typeCode\u003dSBJ]/role[isNormalRole()]/player"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.entity.reference"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Entity Created/Updated"
                }
              ]
            },
            {
              "id": "Provenance.occurred[x]",
              "path": "Provenance.occurred[x]",
              "short": "When the activity occurred",
              "definition": "This indicates the time the resource action (creation, revision, deletion, etc.) occurred.",
              "comment": "Both low and high will be set to the time the record event occurred.  (In a future version, this element will likely be a choice with dateTime so that multiple values aren\u0027t needed.).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.occurred[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "rim",
                  "map": "./effectiveTime[type\u003dIVL_TS]"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.startTime \u0026 Activity.endTime"
                }
              ]
            },
            {
              "id": "Provenance.recorded",
              "path": "Provenance.recorded",
              "short": "When the activity was recorded / updated",
              "definition": "The date and time at which the provenance information was recorded / updated, whether in the FHIR Provenance resource or in some other form that is later communicated in the FHIR Provenance.",
              "comment": "This can be a little different from the lastUpdated on the Provenance resource if there is a delay between recording the event and updating the provenance and target resource.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.recorded",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "rim",
                  "map": "unique(./participation[isNormalParticipation() and typeCode\u003dAUT]/time[type\u003dTS])"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.recorded"
                }
              ]
            },
            {
              "id": "Provenance.policy",
              "path": "Provenance.policy",
              "short": "Policy or plan the activity was defined by",
              "definition": "Policy or plan the activity was defined by. Typically, a single activity MAY have multiple applicable policy documents, such as patient consent, guarantor funding, etc.",
              "comment": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.policy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./inboundRelationship[isNormalActRelationship() and typeCode\u003d\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode\u003dEVN]/text[typeCode\u003d\u0027ED\u0027/tel"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.policy"
                }
              ]
            },
            {
              "id": "Provenance.location",
              "path": "Provenance.location",
              "short": "Where the activity occurred",
              "definition": "Where the activity occurred.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Location"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.location"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.where[x]"
                },
                {
                  "identity": "rim",
                  "map": "unique(./participation[isNormalParticipation() and typeCode\u003dLOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode\u003d\"LOC\" and determinerCode\u003d\"INST\"]"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.location"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.location"
                }
              ]
            },
            {
              "id": "Provenance.authorization",
              "path": "Provenance.authorization",
              "short": "Authorization (purposeOfUse) related to the event",
              "definition": "The authorization (e.g., PurposeOfUse) that was used during the event being recorded.",
              "requirements": "Record of any relevant security context, not restricted to purposeOfUse valueSet. May include security compartments, refrain, obligation, or other security tags.",
              "alias": [
                "PurposeOfEvent"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.authorization",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceReason"
                  }
                ],
                "strength": "example",
                "description": "The authorized purposeOfUse for the activity.",
                "valueSet": "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.reason"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.why[x]"
                },
                {
                  "identity": "rim",
                  "map": "unique(./reasonCode)"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.purposeOfEvent"
                }
              ]
            },
            {
              "id": "Provenance.why",
              "path": "Provenance.why",
              "short": "Why was the event performed?",
              "definition": "Describes why the event recorded in this provenenace occurred in textual form.",
              "comment": "Plain/Markdown text reasons the action occurred.",
              "alias": [
                "reason"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.why",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.reason"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.why[x]"
                },
                {
                  "identity": "rim",
                  "map": "unique(./reasonCode)"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.Activity"
                }
              ]
            },
            {
              "id": "Provenance.activity",
              "path": "Provenance.activity",
              "short": "Record activity",
              "definition": "Indicates what action occurred to the referenced resource.",
              "comment": "This SHOULD be captured at a sufficiently useful level of granularity.  For example \"suspended\" is more useful than \"updated\".  Domains will need to map the listed codes to their own state transitions and MAY wish to define additional domain-specific fine-grained codes.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.activity",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceHistoryRecordActivity"
                  }
                ],
                "strength": "extensible",
                "description": "Types of activities that are relevant for tracking event history using Provenance.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-history-record-activity"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.why[x]"
                },
                {
                  "identity": "rim",
                  "map": "Act.code"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.code"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.Activity"
                }
              ]
            },
            {
              "id": "Provenance.basedOn",
              "path": "Provenance.basedOn",
              "short": "Workflow authorization within which this event occurred",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this provenance.",
              "requirements": "Allows tracing of authorization for the provenance and tracking whether proposals/recommendations were acted upon.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.why[x]"
                },
                {
                  "identity": "rim",
                  "map": "Act.code"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.Activity"
                }
              ]
            },
            {
              "id": "Provenance.patient",
              "path": "Provenance.patient",
              "short": "The patient is the subject of the data created/updated (.target) by the activity",
              "definition": "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.",
              "requirements": "When the .patient is populated it SHALL be accurate to the subject of the target data. The .patient SHALL NOT be populated when the target data created/updated (.target) by the activity does not involve a subject. Note that when the patient is an agent, they will be recorded as an agent. When the Patient resource is Created, Updated, or Deleted it will be recorded as an entity.  May also affect access control.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.patient",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Entity.Identity"
                }
              ]
            },
            {
              "id": "Provenance.encounter",
              "path": "Provenance.encounter",
              "short": "Encounter within which this event occurred or which the event is tightly associated",
              "definition": "This will typically be the encounter the event occurred, but some events MAY be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).",
              "comment": "This will typically be the encounter the provenance was created during, but some provenances MAY be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).",
              "requirements": "Links the provenance to the Encounter context.  May also affect access control.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "rim",
                  "map": "Act.code"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Activity.Activity"
                }
              ]
            },
            {
              "id": "Provenance.agent",
              "path": "Provenance.agent",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "type"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Who was involved with change",
              "definition": "Who was involved with change.",
              "comment": "Generally the author will be specified.  Others are optional.",
              "requirements": "An agent can be a person, an organization, software, device, or other entities that MAY be ascribed responsibility.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Provenance.agent",
                "min": 1,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "prov-1",
                  "severity": "error",
                  "human": "Who and onBehalfOf cannot be the same",
                  "expression": "who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-2",
                  "severity": "error",
                  "human": "If who is a PractitionerRole, onBehalfOf can\u0027t reference the same Practitioner",
                  "expression": "who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() !\u003d onBehalfOf.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-3",
                  "severity": "error",
                  "human": "If who is an organization, onBehalfOf can\u0027t be a PractitionerRole within that organization",
                  "expression": "who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve().organization.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-4",
                  "severity": "error",
                  "human": "If who is an organization, onBehalfOf can\u0027t be a healthcare service within that organization",
                  "expression": "who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.who"
                },
                {
                  "identity": "rim",
                  "map": "./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode\u003d\u0027DRIV\u0027]"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Agent"
                }
              ]
            },
            {
              "id": "Provenance.agent.id",
              "path": "Provenance.agent.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.agent.extension",
              "path": "Provenance.agent.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.agent.modifierExtension",
              "path": "Provenance.agent.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.agent.type",
              "path": "Provenance.agent.type",
              "short": "How the agent participated",
              "definition": "The Functional Role of the agent with respect to the activity.",
              "comment": "For example: assembler, author, prescriber, signer, investigator, etc.",
              "requirements": "Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. This element will hold the functional role that the agent played in the activity that is the focus of this Provenance. Where an agent played multiple functional roles, they will be listed as multiple .agent elements representing each functional participation. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.agent.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceHistoryAgentType"
                  }
                ],
                "strength": "extensible",
                "description": "Types of roles that agents can play when tracking event history using Provenance.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-history-agent-type"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.function"
                },
                {
                  "identity": "rim",
                  "map": ".role"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.type"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Agent.Attribution"
                }
              ]
            },
            {
              "id": "Provenance.agent.role",
              "path": "Provenance.agent.role",
              "short": "What the agents role was",
              "definition": "The structural roles of the agent indicating the agent\u0027s competency. The security role enabling the agent with respect to the activity.",
              "comment": "For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc.",
              "requirements": "Structural roles reflect the structural aspects of relationships between entities. Structural roles describe prerequisites, feasibilities, or competences for acts. Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models..",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.agent.role",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceAgentRole"
                  }
                ],
                "strength": "example",
                "description": "The role that a provenance agent played with respect to the activity.",
                "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type-example"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".typecode"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.role"
                }
              ]
            },
            {
              "id": "Provenance.agent.who",
              "path": "Provenance.agent.who",
              "short": "The agent that participated in the event",
              "definition": "Indicates who or what performed in the event.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.agent.who",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Group",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                  ]
                }
              ],
              "condition": [
                "prov-1",
                "prov-2",
                "prov-3",
                "prov-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "rim",
                  "map": ".id"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.who"
                }
              ]
            },
            {
              "id": "Provenance.agent.onBehalfOf",
              "path": "Provenance.agent.onBehalfOf",
              "short": "The agent that delegated",
              "definition": "The agent that delegated authority to perform the activity performed by the agent.who element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.agent.onBehalfOf",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/Group",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                  ]
                }
              ],
              "condition": [
                "prov-1",
                "prov-2",
                "prov-3",
                "prov-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Person, Practitioner, Organization, Device :* .role [classCode \u003d RoleClassMutualRelationship; role.code and * .scopes[Role](classCode\u003dIDENT) and *.plays [Role.Code]"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author",
              "path": "Provenance.agent",
              "sliceName": "Author",
              "short": "Author",
              "definition": "Author.",
              "comment": "Several agents MAY be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.",
              "requirements": "An agent can be a person, an organization, software, device, or other entities that MAY be ascribed responsibility.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.agent",
                "min": 1,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "prov-1",
                  "severity": "error",
                  "human": "Who and onBehalfOf cannot be the same",
                  "expression": "who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-2",
                  "severity": "error",
                  "human": "If who is a PractitionerRole, onBehalfOf can\u0027t reference the same Practitioner",
                  "expression": "who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() !\u003d onBehalfOf.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-3",
                  "severity": "error",
                  "human": "If who is an organization, onBehalfOf can\u0027t be a PractitionerRole within that organization",
                  "expression": "who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve().organization.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                },
                {
                  "key": "prov-4",
                  "severity": "error",
                  "human": "If who is an organization, onBehalfOf can\u0027t be a healthcare service within that organization",
                  "expression": "who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve().exists() implies who.resolve() !\u003d onBehalfOf.resolve().ofType(HealthcareService).providedBy.resolve()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Provenance"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.who"
                },
                {
                  "identity": "rim",
                  "map": "./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode\u003d\u0027DRIV\u0027]"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Agent"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.id",
              "path": "Provenance.agent.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.extension",
              "path": "Provenance.agent.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.modifierExtension",
              "path": "Provenance.agent.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.type",
              "path": "Provenance.agent.type",
              "short": "How the agent participated",
              "definition": "The Functional Role of the agent with respect to the activity.",
              "comment": "For example: assembler, author, prescriber, signer, investigator, etc.",
              "requirements": "Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. This element will hold the functional role that the agent played in the activity that is the focus of this Provenance. Where an agent played multiple functional roles, they will be listed as multiple .agent elements representing each functional participation. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.agent.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "AUT"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceHistoryAgentType"
                  }
                ],
                "strength": "extensible",
                "description": "Types of roles that agents can play when tracking event history using Provenance.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-history-agent-type"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.function"
                },
                {
                  "identity": "rim",
                  "map": ".role"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.type"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Agent.Attribution"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.role",
              "path": "Provenance.agent.role",
              "short": "What the agents role was",
              "definition": "The structural roles of the agent indicating the agent\u0027s competency. The security role enabling the agent with respect to the activity.",
              "comment": "For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc.",
              "requirements": "Structural roles reflect the structural aspects of relationships between entities. Structural roles describe prerequisites, feasibilities, or competences for acts. Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models..",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.agent.role",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceAgentRole"
                  }
                ],
                "strength": "example",
                "description": "The role that a provenance agent played with respect to the activity.",
                "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type-example"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".typecode"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.agent.role"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.who",
              "path": "Provenance.agent.who",
              "short": "Author Reference",
              "definition": "Author Reference.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.agent.who",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Group",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                  ]
                }
              ],
              "condition": [
                "prov-1",
                "prov-2",
                "prov-3",
                "prov-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "rim",
                  "map": ".id"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.who"
                }
              ]
            },
            {
              "id": "Provenance.agent:Author.onBehalfOf",
              "path": "Provenance.agent.onBehalfOf",
              "short": "The agent that delegated",
              "definition": "The agent that delegated authority to perform the activity performed by the agent.who element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Provenance.agent.onBehalfOf",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/Group",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                  ]
                }
              ],
              "condition": [
                "prov-1",
                "prov-2",
                "prov-3",
                "prov-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Person, Practitioner, Organization, Device :* .role [classCode \u003d RoleClassMutualRelationship; role.code and * .scopes[Role](classCode\u003dIDENT) and *.plays [Role.Code]"
                }
              ]
            },
            {
              "id": "Provenance.entity",
              "path": "Provenance.entity",
              "short": "An entity used in this activity",
              "definition": "An entity used in this activity.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.entity",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./subjectOf"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.entity"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Entity"
                }
              ]
            },
            {
              "id": "Provenance.entity.id",
              "path": "Provenance.entity.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.entity.extension",
              "path": "Provenance.entity.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Provenance.entity.modifierExtension",
              "path": "Provenance.entity.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Provenance.entity.role",
              "path": "Provenance.entity.role",
              "short": "revision | quotation | source | instantiates | removal | other",
              "definition": "How the entity was used during the activity.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.entity.role",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "meaningWhenMissing": "No role declared or available.",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceEntityRole"
                  }
                ],
                "strength": "required",
                "description": "How an entity was used in an activity.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-entity-role|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./typeCode"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.entity.role"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Entity.role"
                }
              ]
            },
            {
              "id": "Provenance.entity.what",
              "path": "Provenance.entity.what",
              "short": "Identity of entity",
              "definition": "Identity of the  Entity used. May be a logical or physical uri and maybe absolute or relative.",
              "comment": "The what.identifier SHOULD be used for entities that are not a Resource type.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Provenance.entity.what",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./text/reference"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.entity.reference"
                },
                {
                  "identity": "w3c.prov",
                  "map": "Entity.Identity"
                }
              ]
            },
            {
              "id": "Provenance.entity.agent",
              "path": "Provenance.entity.agent",
              "short": "Entity is attributed to this agent",
              "definition": "The entity is attributed to an agent to express the agent\u0027s responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which used the entity.",
              "comment": "A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it.  This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 V2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity\u0027s use in the context of this Provenance activity.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.entity.agent",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./author/role"
                },
                {
                  "identity": "fhirauditevent",
                  "map": "AuditEvent.entity.agent"
                }
              ]
            },
            {
              "id": "Provenance.signature",
              "path": "Provenance.signature",
              "short": "Signature on target",
              "definition": "A digital signature on the target Reference(s). The signer SHOULD match a Provenance.agent. The purpose of the signature is indicated.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Provenance.signature",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./signatureText"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Provenance",
              "path": "Provenance",
              "min": 0,
              "max": "*"
            },
            {
              "id": "Provenance.target",
              "path": "Provenance.target",
              "short": "Resource version",
              "definition": "This points to the version of the resource that was created as a result of this historical record action.  Typically only a single resource will be referenced, but if the same action is performed to multiple resources in the context of a transaction, some systems MAY link multiple resource instances.",
              "comment": "The reference SHALL be version-specific.",
              "mustSupport": true
            },
            {
              "id": "Provenance.occurred[x]",
              "path": "Provenance.occurred[x]",
              "definition": "This indicates the time the resource action (creation, revision, deletion, etc.) occurred.",
              "comment": "Both low and high will be set to the time the record event occurred.  (In a future version, this element will likely be a choice with dateTime so that multiple values aren\u0027t needed.).",
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "mustSupport": true
            },
            {
              "id": "Provenance.why",
              "path": "Provenance.why",
              "comment": "Plain/Markdown text reasons the action occurred.",
              "mustSupport": true
            },
            {
              "id": "Provenance.activity",
              "path": "Provenance.activity",
              "short": "Record activity",
              "definition": "Indicates what action occurred to the referenced resource.",
              "comment": "This SHOULD be captured at a sufficiently useful level of granularity.  For example \"suspended\" is more useful than \"updated\".  Domains will need to map the listed codes to their own state transitions and MAY wish to define additional domain-specific fine-grained codes.",
              "min": 1,
              "max": "1",
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceHistoryRecordActivity"
                  }
                ],
                "strength": "extensible",
                "description": "Types of activities that are relevant for tracking event history using Provenance.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-history-record-activity"
              }
            },
            {
              "id": "Provenance.agent",
              "path": "Provenance.agent",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "type"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Who was involved with change",
              "definition": "Who was involved with change.",
              "comment": "Generally the author will be specified.  Others are optional.",
              "mustSupport": true
            },
            {
              "id": "Provenance.agent.type",
              "path": "Provenance.agent.type",
              "min": 1,
              "max": "1",
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ProvenanceHistoryAgentType"
                  }
                ],
                "strength": "extensible",
                "description": "Types of roles that agents can play when tracking event history using Provenance.",
                "valueSet": "http://hl7.org/fhir/ValueSet/provenance-history-agent-type"
              }
            },
            {
              "id": "Provenance.agent:Author",
              "path": "Provenance.agent",
              "sliceName": "Author",
              "short": "Author",
              "definition": "Author.",
              "min": 0,
              "max": "1",
              "mustSupport": true
            },
            {
              "id": "Provenance.agent:Author.type",
              "path": "Provenance.agent.type",
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "AUT"
                  }
                ]
              },
              "mustSupport": true
            },
            {
              "id": "Provenance.agent:Author.who",
              "path": "Provenance.agent.who",
              "short": "Author Reference",
              "definition": "Author Reference.",
              "min": 1,
              "max": "1",
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "vitalsigns",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\n\n1.  One status in `Observation.status` which has a [required](terminologies.html#extensible) binding to:\n    -    [ObservationStatus] value set.\n1.  A category in `Observation.category` which must have:\n    -   a fixed `Observation.category.coding.system`\u003d**\u0027http://terminology.hl7.org/CodeSystem/observation-category\u0027**\u0027\n    -   a fixed `Observation.category.coding.code`\u003d **\u0027vital-signs\u0027**\u0027\n\n1.  A code in `Observation.code`\n    -   a fixed `Observation.code.coding.system`\u003d **\u0027http://loinc.org\u0027**\n    -   a LOINC code in `Observation.code.coding.code` which has an [extensible](terminologies.html#extensible) binding to:\n         -   [Vital Signs] value set.\n                \n1.  One patient in `Observation.subject`\n1.  A date and time in `effectiveDateTime`\n1.  Either one `Observation.value[x]` or a populated component (with `component.code` and either `component.value[x]` or `component.dataAbsentReason`) or hasMember relationship.  If there are none of those, then one code in `Observation.DataAbsentReason`\n    -   if a vital sign measure then:\n        -  One numeric value in Observation.valueQuantity.value\n        - a fixed Observation.valueQuantity.system\u003d**\u0027http://unitsofmeasure.org\u0027**\u0027\n        - a UCUM unit code in Observation.valueQuantity.code which has a required binding to the [Vital Signs Units] value set.\n    -   Observation.DataAbsentReason is bound to [Observation Value\n        Absent Reason] value set.\n\n1.  When using a panel code to group component observations (Note: See\n    the comments regarding blood pressure in the table above), one or\n    more `Observation.component.code` each of which must have:\n    -   a fixed\n        `Observation.component.code.coding.system` \u003d**\u0027http://loinc.org\u0027**\u0027\n         -   a LOINC code in `Observation.code.coding.code` which has an [extensible] binding to:\n             -   [Vital Signs Units] value set.\n\n1.  Either one `Observation.component.valueQuantity` or, if there is\n    no value, one code in `Observation.component.DataAbsentReason`\n    -   Observation.component.DataAbsentReason is bound to [Observation\n        Value Absent Reason] value set.\n\n1.  When using a panel code to group observations, one or more reference\n    to Vitals Signs Observations in `Observation.related.target`\n    -   a fixed `Observation.related.type`\u003d **\u0027has-member\u0027**\n\n [Vital Signs]: valueset-observation-vitalsign-measurement.html\n  [Vital Signs Units]: valueset-ucum-vitals-common.html\n  [extensible]: terminologies.html#extensible\n  [ObservationStatus]: valueset-observation-status.html\n [Observation Value Absent Reason]: valueset-data-absent-reason.html\n[required]: terminologies.html#required\""
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\n\n1.  One status in `Observation.status` which has a [required](terminologies.html#extensible) binding to:\n    -    [ObservationStatus] value set.\n1.  A category in `Observation.category` which must have:\n    -   a fixed `Observation.category.coding.system`\u003d**\u0027http://terminology.hl7.org/CodeSystem/observation-category\u0027**\u0027\n    -   a fixed `Observation.category.coding.code`\u003d **\u0027vital-signs\u0027**\u0027\n\n1.  A code in `Observation.code`\n    -   a fixed `Observation.code.coding.system`\u003d **\u0027http://loinc.org\u0027**\u0027\n    -   a LOINC code in `Observation.code.coding.code` which has an [extensible](terminologies.html#extensible) binding to:\n         -   [Vital Signs] value set.\n                \n1.  One patient in `Observation.subject`\n1.  A date and time in `effectiveDateTime`\n1.  Either one `Observation.value[x]` or, if there is no value, one code in `Observation.DataAbsentReason`\n    -   if a vital sign measure then:\n        -  One numeric value in Observation.valueQuantity.value\n        - a fixed Observation.valueQuantity.system\u003d**\u0027http://unitsofmeasure.org\u0027**\u0027\n        - a UCUM unit code in Observation.valueQuantity.code which has a required binding to the [Vital Signs Units] value set.\n    -   Observation.DataAbsentReason is bound to [Observation Value\n        Absent Reason] value set.\n\n1.  When using a panel code to group component observations (Note: See\n    the comments regarding blood pressure in the table above), one or\n    more `Observation.component.code` each of which must have:\n    -   a fixed\n        `Observation.component.code.coding.system` \u003d**\u0027http://loinc.org\u0027**\u0027\n         -   a LOINC code in `Observation.code.coding.code` which has an [extensible] binding to:\n             -   [Vital Signs Units] value set.\n\n1.  Either one `Observation.component.valueQuantity` or, if there is\n    no value, one code in `Observation.component.DataAbsentReason`\n    -   Observation.component.DataAbsentReason is bound to [Observation\n        Value Absent Reason] value set.\n\n1.  When using a panel code to group observations, one or more reference\n    to Vitals Signs Observations in `Observation.related.target`\n    -   a fixed `Observation.related.type`\u003d **\u0027has-member\u0027**\n\n [Vital Signs]: valueset-observation-vitalsign-measurement.html\n  [Vital Signs Units]: valueset-ucum-vitals-common.html\n  [extensible]: terminologies.html#extensible\n  [ObservationStatus]: valueset-observation-status.html\n [Observation Value Absent Reason]: valueset-data-absent-reason.html\n[required]: terminologies.html#required\""
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1461"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationvitalsignsbase",
        "title": "Vital Signs Base Profile",
        "status": "draft",
        "experimental": false,
        "date": "2016-03-25",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Vital Signs Base Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Vital Signs Base Profile",
              "definition": "The FHIR Vitals Signs base profile sets minimum expectations for the Observation resource to record, search and fetch the vital signs associated with a patient.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Vital Sign Measurement",
              "definition": "Vital Sign Measurement",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "This identifies the vital sign or panel measurement."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSigns"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the vital sign measurement.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-measurement"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for recording Vital Signs."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Vital Signs Base Profile",
              "definition": "The FHIR Vitals Signs base profile sets minimum expectations for the Observation resource to record, search and fetch the vital signs associated with a patient.",
              "alias": [
                "Vital Signs",
                "Measurement",
                "Results",
                "Tests"
              ],
              "constraint": [
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                }
              ]
            },
            {
              "id": "Observation.status",
              "path": "Observation.status",
              "mustSupport": true
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "min": 1,
              "mustSupport": true
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "min": 1,
              "max": "1",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "mustSupport": true
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Vital Sign Measurement",
              "definition": "Vital Sign Measurement",
              "min": 1,
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "This identifies the vital sign or panel measurement."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSigns"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the vital sign measurement.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-measurement"
              }
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "min": 1,
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "mustSupport": true
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "min": 1,
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "mustSupport": true
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "vsp-2"
              ],
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for recording Vital Signs."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-2"
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component"
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component."
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed."
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              }
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/vitalspanel",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "vitalspanel",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002785353-1\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1.  No value in `Observation.value[x]`\r1.  At Least one Vitals Sign Observation reference in `Observation.hasMember`"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 3
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002785353-1\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1.  No value in `Observation.value[x]`\r1.  At Least one Vitals Sign Observation reference in `Observation.hasMember`"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/vitalspanel",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1458"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationvitalspanel",
        "title": "Observation Vital Signs Panel Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Vital Signs Panel Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Vital Signs Panel Profile",
              "definition": "This profile defines the top-level grouping structure for a set of vital signs. It has no value in Observation.valueQuantity ; instead, it just includes related links (with type\u003dhas-member) to the Observations in this set (e.g. respiratory rate, heart rate, BP - with a minimum of 2 members of the set/panel required).",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Vital Signs Panel",
              "definition": "Vital Signs Panel",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name",
                "Panel Name",
                "Panel Code"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "85353-1"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsPanel"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing a panel of vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-panel"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 2,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Vital Signs Panel Profile",
              "definition": "This profile defines the top-level grouping structure for a set of vital signs. It has no value in Observation.valueQuantity ; instead, it just includes related links (with type\u003dhas-member) to the Observations in this set (e.g. respiratory rate, heart rate, BP - with a minimum of 2 members of the set/panel required)."
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Vital Signs Panel",
              "definition": "Vital Signs Panel",
              "alias": [
                "Panel Name",
                "Panel Code"
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "85353-1"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsPanel"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing a panel of vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-panel"
              }
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "max": "0"
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "min": 2,
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/resprate",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "resprate",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00279279-1\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027/min\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00279279-1\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027/min\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/resprate",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1466"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationresprate",
        "title": "Observation Respiratory Rate Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Respiratory Rate Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Respiratory Rate Profile",
              "definition": "This profile defines  how to represent Respiratory Rate observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Respiratory Rate",
              "definition": "Respiratory Rate",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "9279-1"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRespRate"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing respiratory rate vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-resprate"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM rate units for vital signs including heart and respiratory rate."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRateUnits"
                  }
                ],
                "strength": "required",
                "description": "/min",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Respiratory Rate Profile",
              "definition": "This profile defines  how to represent Respiratory Rate observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Respiratory Rate",
              "definition": "Respiratory Rate",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "9279-1"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRespRate"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing respiratory rate vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-resprate"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM rate units for vital signs including heart and respiratory rate."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRateUnits"
                  }
                ],
                "strength": "required",
                "description": "/min",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/oxygensat",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "oxygensat",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "\"#### Complete Summary of the Mandatory Requirements\n\n1.  One code in `Observation.code` which must have\n    -   a fixed `Observation.code.coding.system`\u003d**\u0027http ://loinc.org\u0027**\n    -   a fixed  `Observation.category.coding.code`\u003d **\u00272708-6\u0027**\n    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\n        SHALL have a system value\n1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\n   - Each Observation.valueQuantity must have:\n     - One numeric value in Observation.valueQuantity.value\n     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\n     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027%\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "\"#### Complete Summary of the Mandatory Requirements\n\n1.  One code in `Observation.code` which must have\n    -   a fixed `Observation.code.coding.system`\u003d**\u0027http ://loinc.org\u0027**\n    -   a fixed  `Observation.category.coding.code`\u003d **\u00272708-6\u0027**\n    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\n        SHALL have a system value\n1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\n   - Each Observation.valueQuantity must have:\n     - One numeric value in Observation.valueQuantity.value\n     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\n     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027%\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/oxygensat",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1457"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationoxygensat",
        "title": "Observation Oxygen Saturation Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-10-23",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Oxygen Saturation Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Oxygen Saturation Profile",
              "definition": "This profile defines  how to represent Oxygen Saturation observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Oxygen Saturation",
              "definition": "Oxygen Saturation",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "2708-6"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsOxygenSat"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing arterial oxygen saturation vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-oxygensat"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for oxygen saturation."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "OxygenSaturationUnits"
                  }
                ],
                "strength": "required",
                "description": "%",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-oxygensat"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Oxygen Saturation Profile",
              "definition": "This profile defines  how to represent Oxygen Saturation observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Oxygen Saturation",
              "definition": "Oxygen Saturation",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "2708-6"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsOxygenSat"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing arterial oxygen saturation vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-oxygensat"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for oxygen saturation."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "OxygenSaturationUnits"
                  }
                ],
                "strength": "required",
                "description": "%",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-oxygensat"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/heartrate",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "heartrate",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278867-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027/min\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278867-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027/min\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/heartrate",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1454"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationheartrate",
        "title": "Observation Heart Rate Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Heart Rate Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Heart Rate Profile",
              "definition": "This profile defines how to represent heart rate observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Heart Rate",
              "definition": "Heart Rate",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8867-4"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsHeartRate"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing heart rate vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-heartrate"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM rate units for vital signs including heart and respiratory rate."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRateUnits"
                  }
                ],
                "strength": "required",
                "description": "/min",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Heart Rate Profile",
              "definition": "This profile defines how to represent heart rate observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Heart Rate",
              "definition": "Heart Rate",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8867-4"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsHeartRate"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing heart rate vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-heartrate"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM rate units for vital signs including heart and respiratory rate."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsRateUnits"
                  }
                ],
                "strength": "required",
                "description": "/min",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitalsignsrate"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/headcircum",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "headcircum",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00279843-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027cm\u0027, or \u0027[in_i]\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00279843-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027cm\u0027, or \u0027[in_i]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/headcircum",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1467"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationheadcircum",
        "title": "Observation Head Circumference Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Head Circumference Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Head Circumference Profile",
              "definition": "This profile defines  how to represent Head Circumference observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Head Circumference",
              "definition": "Head Circumference",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "9843-4"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsHeadCircum"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing head circumference vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-headcircum"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for body length measures such as Body Height and Head Circumference."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyLengthUnits"
                  }
                ],
                "strength": "required",
                "description": "cm | [in_i]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Head Circumference Profile",
              "definition": "This profile defines  how to represent Head Circumference observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Head Circumference",
              "definition": "Head Circumference",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "9843-4"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsHeadCircum"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing head circumference vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-headcircum"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for body length measures such as Body Height and Head Circumference."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyLengthUnits"
                  }
                ],
                "strength": "required",
                "description": "cm | [in_i]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/bp",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "bp",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.code.coding.code`\u003d **85354-9\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r2.  One  `Observation.component.code`  which must have\r    -   a fixed `Observation.component.code.coding.system`\u003d**\u0027http://loinc.org\u0027**\r    -   fixed  `Observation.component.code.coding.code`\u003d **\u00278480-6\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r3.  One  `Observation.component.code` which must have \r    -   a fixed `Observation.component.code.coding.system`\u003d**\u0027http://loinc.org\u0027**\r    -   fixed  `Observation.component.code.coding.code`\u003d **\u00278462-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027mm[Hg]\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.code.coding.code`\u003d **85354-9\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r2.  One  `Observation.component.code`  which must have\r    -   a fixed `Observation.component.code.coding.system`\u003d**\u0027http://loinc.org\u0027**\r    -   fixed  `Observation.component.code.coding.code`\u003d **\u00278480-6\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r3.  One  `Observation.component.code` which must have \r    -   a fixed `Observation.component.code.coding.system`\u003d**\u0027http://loinc.org\u0027**\r    -   fixed  `Observation.component.code.coding.code`\u003d **\u00278462-4\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027mm[Hg]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/bp",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1459"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationbp",
        "title": "Observation Blood Pressure Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Blood Pressure Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Blood Pressure Profile",
              "definition": "This profile defines  how to represent Blood Pressure observations in FHIR using a standard LOINC code and UCUM units of measure.  This is a grouping structure. It has no value in Observation.valueQuantity but contains at least one component (systolic and/or diastolic).",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Blood Pressure",
              "definition": "Blood Pressure",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "85354-9"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignBPPanel"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial systolic and diastolic BP panel of vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bppanel"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "code"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Used when reporting systolic and diastolic blood pressure.",
              "definition": "Used when reporting systolic and diastolic blood pressure.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 2,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP",
              "path": "Observation.component",
              "sliceName": "SystolicBP",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "vsp-3-sbp",
                  "severity": "error",
                  "human": "If the systolic BP component exists and there is no component value a component data absent reason must be present.",
                  "expression": "value.exists() or dataAbsentReason.exists()"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.code",
              "path": "Observation.component.code",
              "short": "Systolic Blood Pressure",
              "definition": "Systolic Blood Pressure",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8480-6"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignSystolicBP"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial systolic BP vital sign measurement in Observation.component.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-systolicbp"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]",
              "definition": "Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg].",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10",
                "vsp-3-sbp"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Blood Pressure."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BloodPressureUnits"
                  }
                ],
                "strength": "required",
                "description": "mm[Hg]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bp"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10",
                "vsp-3-sbp"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP",
              "path": "Observation.component",
              "sliceName": "DiastolicBP",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "vsp-3-dbp",
                  "severity": "error",
                  "human": "If the diastolic BP component exists and there is no component value a component data absent reason must be present.",
                  "expression": "value.exists() or dataAbsentReason.exists()"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.code",
              "path": "Observation.component.code",
              "short": "Diastolic Blood Pressure",
              "definition": "Diastolic Blood Pressure",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8462-4"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignDiastolicBP"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial diastolic BP vital sign measurement in Observation.component.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-diastolicbp"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]",
              "definition": "Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg].",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10",
                "vsp-3-dbp"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Blood Pressure."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BloodPressureUnits"
                  }
                ],
                "strength": "required",
                "description": "mm[Hg]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bp"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10",
                "vsp-3-dbp"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Blood Pressure Profile",
              "definition": "This profile defines  how to represent Blood Pressure observations in FHIR using a standard LOINC code and UCUM units of measure.  This is a grouping structure. It has no value in Observation.valueQuantity but contains at least one component (systolic and/or diastolic)."
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Blood Pressure",
              "definition": "Blood Pressure",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "85354-9"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignBPPanel"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial systolic and diastolic BP panel of vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bppanel"
              }
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "max": "0"
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "code"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Used when reporting systolic and diastolic blood pressure.",
              "definition": "Used when reporting systolic and diastolic blood pressure.",
              "min": 2,
              "max": "*",
              "mustSupport": true
            },
            {
              "id": "Observation.component:SystolicBP",
              "path": "Observation.component",
              "sliceName": "SystolicBP",
              "min": 1,
              "max": "1",
              "constraint": [
                {
                  "key": "vsp-3-sbp",
                  "severity": "error",
                  "human": "If the systolic BP component exists and there is no component value a component data absent reason must be present.",
                  "expression": "value.exists() or dataAbsentReason.exists()"
                }
              ],
              "mustSupport": true
            },
            {
              "id": "Observation.component:SystolicBP.code",
              "path": "Observation.component.code",
              "short": "Systolic Blood Pressure",
              "definition": "Systolic Blood Pressure",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8480-6"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignSystolicBP"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial systolic BP vital sign measurement in Observation.component.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-systolicbp"
              }
            },
            {
              "id": "Observation.component:SystolicBP.value[x]",
              "path": "Observation.component.value[x]",
              "type": [
                {
                  "code": "Quantity"
                }
              ]
            },
            {
              "id": "Observation.component:SystolicBP.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]",
              "definition": "Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg].",
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "vsp-3-sbp"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Blood Pressure."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BloodPressureUnits"
                  }
                ],
                "strength": "required",
                "description": "mm[Hg]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bp"
              }
            },
            {
              "id": "Observation.component:SystolicBP.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "condition": [
                "vsp-3-sbp"
              ],
              "mustSupport": true
            },
            {
              "id": "Observation.component:DiastolicBP",
              "path": "Observation.component",
              "sliceName": "DiastolicBP",
              "min": 1,
              "max": "1",
              "constraint": [
                {
                  "key": "vsp-3-dbp",
                  "severity": "error",
                  "human": "If the diastolic BP component exists and there is no component value a component data absent reason must be present.",
                  "expression": "value.exists() or dataAbsentReason.exists()"
                }
              ],
              "mustSupport": true
            },
            {
              "id": "Observation.component:DiastolicBP.code",
              "path": "Observation.component.code",
              "short": "Diastolic Blood Pressure",
              "definition": "Diastolic Blood Pressure",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8462-4"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignDiastolicBP"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing an arterial diastolic BP vital sign measurement in Observation.component.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-diastolicbp"
              }
            },
            {
              "id": "Observation.component:DiastolicBP.value[x]",
              "path": "Observation.component.value[x]",
              "type": [
                {
                  "code": "Quantity"
                }
              ]
            },
            {
              "id": "Observation.component:DiastolicBP.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]",
              "definition": "Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg].",
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "vsp-3-dbp"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Blood Pressure."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BloodPressureUnits"
                  }
                ],
                "strength": "required",
                "description": "mm[Hg]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bp"
              }
            },
            {
              "id": "Observation.component:DiastolicBP.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "condition": [
                "vsp-3-dbp"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/bodyweight",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "bodyweight",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002729463-7\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027kg\u0027, \u0027g\u0027, \u0027[lb_av]\u0027 or \u0027[oz_av]\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002729463-7\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027kg\u0027, \u0027g\u0027, \u0027[lb_av]\u0027 or \u0027[oz_av]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/bodyweight",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1465"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationbodyweight",
        "title": "Observation Body Weight Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Body Weight Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Weight Profile",
              "definition": "This profile defines  how to represent body weight observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Weight",
              "definition": "Body Weight",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "29463-7"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyWeight"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body weight vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyweight"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Body Weight."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyWeightUnits"
                  }
                ],
                "strength": "required",
                "description": "g | kg  | [lb_av] | [oz_av]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Weight Profile",
              "definition": "This profile defines  how to represent body weight observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Weight",
              "definition": "Body Weight",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "29463-7"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyWeight"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body weight vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyweight"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Body Weight."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyWeightUnits"
                  }
                ],
                "strength": "required",
                "description": "g | kg  | [lb_av] | [oz_av]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/bodytemp",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "bodytemp",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278310-5\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027Cel\u0027, or \u0027[degF]\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278310-5\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027Cel\u0027, or \u0027[degF]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/bodytemp",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1455"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationbodytemp",
        "title": "Observation Body Temperature Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Body Temperature Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Temperature Profile",
              "definition": "This profile defines  how to represent Body Temperature observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Temperature",
              "definition": "Body Temperature",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8310-5"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyTemp"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body temperature vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodytemp"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Body Temperature."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyTempUnits"
                  }
                ],
                "strength": "required",
                "description": "Cel | [degF]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Temperature Profile",
              "definition": "This profile defines  how to represent Body Temperature observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Temperature",
              "definition": "Body Temperature",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8310-5"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyTemp"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body temperature vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodytemp"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for Body Temperature."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyTempUnits"
                  }
                ],
                "strength": "required",
                "description": "Cel | [degF]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/bodyheight",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "bodyheight",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278302-2\u0027**\r    -   8306-3 -Body height - lying (i.e., body length - typically used for infants) MAY be included as an additional observation code  - The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027cm\u0027, or \u0027[in_i]\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u00278302-2\u0027**\r    -   8306-3 -Body height - lying (i.e., body length - typically used for infants) MAY be included as an additional observation code  - The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027cm\u0027, or \u0027[in_i]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/bodyheight",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1463"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationbodyheight",
        "title": "Observation Body Height Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Body Height Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Height Profile",
              "definition": "This profile defines  how to represent Body Height observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Height",
              "definition": "Body Height",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8302-2"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyHeight"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body height (including body length) vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyheight"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for body length measures such as Body Height and Head Circumference."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyLengthUnits"
                  }
                ],
                "strength": "required",
                "description": "cm | [in_i]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Height Profile",
              "definition": "This profile defines  how to represent Body Height observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Height",
              "definition": "Body Height",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "8302-2"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBodyHeight"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body height (including body length) vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bodyheight"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for body length measures such as Body Height and Head Circumference."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyLengthUnits"
                  }
                ],
                "strength": "required",
                "description": "cm | [in_i]",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/bmi",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "bmi",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
            "valueMarkdown": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002739156-5\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027kg/m2\u0027**"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 4
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "oo"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/profile-summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.category` which must have\r    -   a fixed `Observation.category.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.category.coding.code`\u003d **\u002739156-5\u0027**\r    -   The code (or codes) for the measurement obtained  in `Observation.code`. All codes\r        SHALL have a system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027kg/m2\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/bmi",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1464"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "Observationbmi",
        "title": "Observation Body Mass Index Profile",
        "status": "draft",
        "experimental": false,
        "date": "2018-08-11",
        "publisher": "HL7 International / Orders and Observations",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
              }
            ]
          }
        ],
        "description": "FHIR Body Mass Index (BMI) Profile",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "sct-concept",
            "uri": "http://snomed.info/conceptdomain",
            "name": "SNOMED CT Concept Domain Binding"
          },
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 V2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          },
          {
            "identity": "sct-attr",
            "uri": "http://snomed.org/attributebinding",
            "name": "SNOMED CT Attribute Binding"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Observation",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Mass Index (BMI) Profile",
              "definition": "This profile defines  how to represent Body Mass Index (BMI) observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
              "alias": [
                "Vital Sign",
                "Measurement",
                "Result",
                "Test Performed",
                "Observable",
                "Vital Signs",
                "Results",
                "Tests"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "obs-6",
                  "severity": "error",
                  "human": "Observation.dataAbsentReason SHALL only be present if Observation.value[x] is not present",
                  "expression": "dataAbsentReason.empty() or value.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-7",
                  "severity": "error",
                  "human": "If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value).",
                  "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-10",
                  "severity": "error",
                  "human": "Observation.component.dataAbsentReason SHALL only be present if Observation.component.value[x] is not present",
                  "expression": "component.empty() or component.where(dataAbsentReason.exists()).all(value.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-11",
                  "severity": "error",
                  "human": "if organizer exists and organizer \u003d true, then value[x], dataAbsentReason and component SHALL NOT be present",
                  "expression": "(organizer.exists() and organizer.allTrue()) implies (value.empty() and dataAbsentReason.empty() and component.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "obs-12",
                  "severity": "warning",
                  "human": "All observations SHOULD have a performer",
                  "expression": "performer.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                },
                {
                  "key": "vsp-1",
                  "severity": "error",
                  "human": "if Observation.effective[x] (as dateTime) has a value then that value shall be precise at least to the day",
                  "expression": "(effective as dateTime).toString().length() \u003e\u003d 8",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vsp-2",
                  "severity": "error",
                  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.",
                  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                },
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Observation[classCode\u003dOBS, moodCode\u003dEVN]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "clinical.diagnostics"
                },
                {
                  "identity": "v2",
                  "map": "OBX"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity|"
                }
              ]
            },
            {
              "id": "Observation.id",
              "path": "Observation.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.meta",
              "path": "Observation.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.implicitRules",
              "path": "Observation.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Observation.language",
              "path": "Observation.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Observation.text",
              "path": "Observation.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Observation.contained",
              "path": "Observation.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.extension",
              "path": "Observation.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.modifierExtension",
              "path": "Observation.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.identifier",
              "path": "Observation.identifier",
              "short": "Business Identifier for observation",
              "definition": "A unique identifier assigned to this observation.",
              "requirements": "Allows observations to be distinguished and referenced.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "v2",
                  "map": "OBX-21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."
                },
                {
                  "identity": "rim",
                  "map": "id"
                }
              ]
            },
            {
              "id": "Observation.basedOn",
              "path": "Observation.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "Fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy",
              "path": "Observation.triggeredBy",
              "short": "Triggering observation(s)",
              "definition": "Identifies the observation(s) that triggered the performance of this observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.triggeredBy",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "ORC"
                },
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dCOMP].source[moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.id",
              "path": "Observation.triggeredBy.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.extension",
              "path": "Observation.triggeredBy.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.modifierExtension",
              "path": "Observation.triggeredBy.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.observation",
              "path": "Observation.triggeredBy.observation",
              "short": "Triggering observation",
              "definition": "Reference to the triggering observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.observation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.type",
              "path": "Observation.triggeredBy.type",
              "short": "reflex | repeat | re-run",
              "definition": "The type of trigger.\nReflex | Repeat | Re-run.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "TriggeredByType"
                  }
                ],
                "strength": "required",
                "description": "The type of TriggeredBy Observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-triggeredbytype|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "code"
                }
              ]
            },
            {
              "id": "Observation.triggeredBy.reason",
              "path": "Observation.triggeredBy.reason",
              "short": "Reason that the observation was triggered",
              "definition": "Provides the reason why this observation was performed as a result of the observation(s) referenced.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.triggeredBy.reason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "annotation"
                }
              ]
            },
            {
              "id": "Observation.partOf",
              "path": "Observation.partOf",
              "short": "Part of referenced event",
              "definition": "A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure.",
              "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.",
              "alias": [
                "Container"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.partOf",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
                    "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
                    "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
                    "http://hl7.org/fhir/StructureDefinition/Procedure",
                    "http://hl7.org/fhir/StructureDefinition/Immunization",
                    "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.partOf"
                },
                {
                  "identity": "v2",
                  "map": "Varies by domain"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                }
              ]
            },
            {
              "id": "Observation.status",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                  "valueString": "default: final"
                }
              ],
              "path": "Observation.status",
              "short": "registered | specimen-in-process | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | unknown | cannot-be-obtained",
              "definition": "The status of the result value.",
              "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationStatus"
                  }
                ],
                "strength": "required",
                "description": "Codes providing the status of an observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "v2",
                  "map": "OBX-11 Map FHIR Observation.status to OBX-11. If FHIR carries Observation.dataAbsentReason \u003d ‘not-asked’, set OBX-11 to the v2 as  ‘N’. If there is alternate-code extension on Observation.status with code ‘X’, set OBX-11 as ‘X’."
                },
                {
                  "identity": "rim",
                  "map": "status  Amended \u0026 Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 445584004 |Report by finality status|"
                }
              ]
            },
            {
              "id": "Observation.category",
              "path": "Observation.category",
              "slicing": {
                "discriminator": [
                  {
                    "type": "pattern",
                    "path": "$this"
                  }
                ],
                "rules": "open"
              },
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made.",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.category:VSCat",
              "path": "Observation.category",
              "sliceName": "VSCat",
              "short": "Classification of  type of observation",
              "definition": "A code that classifies the general type of observation being made as a vital sign related observation, whether a point-in-time or calculated vital sign observation. ",
              "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.",
              "requirements": "Used for filtering what observations are retrieved and displayed.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs"
                  }
                ]
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCategory"
                  }
                ],
                "strength": "preferred",
                "description": "Codes for high level observation categories.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.category"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "v2",
                  "map": "OBX-29"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Mass Index (BMI)",
              "definition": "Body Mass Index (BMI)",
              "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. All codings in Observation.code are expected to be sufficiently precise to allow a user with the code and value to be able to understand the value - though not all codes will necessarily convey the same level of detail. Codings in Observation.category SHOULD be concepts that are too broad to be able to understand the meaning of the Observation.value without also having an Observation.code.\n\nSee [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "alias": [
                "Name"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "39156-5"
                  }
                ]
              },
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBMI"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body mass index (BMI) vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bmi"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.subject",
              "path": "Observation.subject",
              "short": "Who and/or what the observation is about",
              "definition": "The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
              "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated. The subject of an Observation may in some cases be a procedure.  This supports the regulatory inspection use case where observations are captured during inspections of a procedure that is being performed (independent of any particular patient or whether patient related at all).",
              "requirements": "Observations have no value if you don\u0027t know who or what they\u0027re about.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.subject",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "PID-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dRTGT]"
                }
              ]
            },
            {
              "id": "Observation.focus",
              "path": "Observation.focus",
              "short": "What the observation is about, when it is not about the subject of record",
              "definition": "The actual focus of an observation when it is not the subject of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother\u0027s record.  The focus of an observation could also be an existing condition,  an intervention, the subject\u0027s diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   An example use case would be using the Observation resource to capture whether the mother is trained to change her child\u0027s tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. As another use case,\r\ra caregiver (RelatedPerson) has back strain and is unable to provide ADL support to a patient (Subject).",
              "comment": "Examples demonstrating the use of subject and focus in an Observation:\r\r- A parent is trained to change their child\u0027s tracheostomy tube. The child is the subject, and the parent is the focus.\r\r- A fetal heart rate recorded in a mother\u0027s record. The mother is the subject, and the fetus is the focus.\r\r- Features of a body structure, such as a tumor. The patient is the subject, and the specific body structure is the focus.\r\r- Metrics captured from a medical device. The patient-attached device is the subject, the specific device metric is the focus, and the observing device itself is referenced in .device.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.focus",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labeled as a modifier because it changes who is the target of the observation. See the use cases in the definition.",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSBJ]"
                }
              ]
            },
            {
              "id": "Observation.organizer",
              "path": "Observation.organizer",
              "short": "This observation organizes/groups a set of sub-observations",
              "definition": "This observation serves as an organizer or grouper for a set of (one or more) sub-observations.",
              "comment": "An observation that is an organizer/grouper does not have a value (or dataAbsentReason) of its own - all values are included in the sub-observations.  The sub-observations are linked using hasMember element references (in some instances there may be no hasMember references, as it is possible that the organizer/grouper observation may be created first, and the sub-observations are not created until a later time).  An organizer/grouper observation also does not contain any components.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.organizer",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "boolean"
                }
              ],
              "condition": [
                "obs-11"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Observation.encounter",
              "path": "Observation.encounter",
              "short": "Healthcare event during which this observation is made. If you need to place the observation within one or more episodes of care, use the workflow-episodeOfCare extension",
              "definition": "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made.",
              "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).",
              "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.",
              "alias": [
                "Context"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "v2",
                  "map": "PV1"
                },
                {
                  "identity": "rim",
                  "map": "inboundRelationship[typeCode\u003dCOMP].source[classCode\u003dENC, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.effective[x]",
              "path": "Observation.effective[x]",
              "short": "Vital Signs are point in time measurements and are recorded using the dateTime data type",
              "definition": "Vital Signs are point in time measurements and are recorded using the dateTime data type.",
              "comment": "At least a date should be present unless this observation is a historical report.  For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.",
              "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.",
              "alias": [
                "Occurrence"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.effective[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "condition": [
                "vsp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-14 (If Observation carries the AnalysisDateTime extension, then map the extension to OBX-19)"
                },
                {
                  "identity": "rim",
                  "map": "effectiveTime"
                }
              ]
            },
            {
              "id": "Observation.issued",
              "path": "Observation.issued",
              "short": "Date/Time this version was made available",
              "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
              "comment": "For Observations that don\u0027t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn\u0027t require the new version to be reviewed and verified again.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.issued",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.recorded"
                },
                {
                  "identity": "v2",
                  "map": "OBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dAUT].time"
                }
              ]
            },
            {
              "id": "Observation.performer",
              "path": "Observation.performer",
              "short": "Who is responsible for the observation",
              "definition": "Who was responsible for asserting the observed value as \"true\".",
              "comment": "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.",
              "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.performer",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/HealthcareService",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer.actor"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.actor"
                },
                {
                  "identity": "v2",
                  "map": "OBX-15, OBX-16, OBX-23, OBX-24, OBX-25. Person/role → OBX-16 (Responsible Observer). If conveying performing org and medical director: use OBX-25 (XCN) for the director with role code “MDIR” (system v2-0912), and OBX-23/24 for org name/address; if there is no director, OBX-23/24 carry the org. OBX-15 is available for producer id (identifier for the producer)."
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dPRF]"
                }
              ]
            },
            {
              "id": "Observation.value[x]",
              "path": "Observation.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "closed"
              },
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsUnits"
                  }
                ],
                "strength": "preferred",
                "description": "Commonly encountered UCUM units for recording Vital Signs.",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.value[x]:valueQuantity",
              "path": "Observation.value[x]",
              "sliceName": "valueQuantity",
              "short": "The quantity for the vital sign being observed.",
              "definition": "The quantity for the vital sign being observed.",
              "comment": "- An observation may have:\n  1.  a single value here\n  1.  both a value and a set of related or component values\n  1.  only a set of related or component values.\n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below. \n- See [Interoperability Issues using code value pairs in FHIR](observation.html#code-interop) for additional information.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-7",
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for BMI."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BMIUnits"
                  }
                ],
                "strength": "required",
                "description": "kg/m2",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bmi"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "short": "Why the result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.",
              "comment": "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-6",
                "obs-11",
                "vsp-2",
                "vsp-4"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": true,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-32, OBX-11. Map Observation.dataAbsentReason to OBX-32 (Observation Value Absent Reason). Additionally, when dataAbsentReason.code \u003d \u0027not-asked\u0027, also set OBX-11 \u003d \u0027N\u0027."
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.interpretation",
              "path": "Observation.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.interpretationContext",
              "path": "Observation.interpretationContext",
              "short": "Context for understanding the observation",
              "definition": "Other preceding or concurrent information that is critical to understand the context and significance of the observation.",
              "comment": "This element provides essential contextual information that affects how the observation should be interpreted. For example, knowing that a patient is diabetic, fasting, or paraplegic may be critical to properly understanding lab results or other observations.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.interpretationContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretationContext"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying contextual factors that affect interpretation of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation-context"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dPERT].target"
                }
              ]
            },
            {
              "id": "Observation.note",
              "path": "Observation.note",
              "short": "Comments about the observation",
              "definition": "Comments about the observation or the results.",
              "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.",
              "requirements": "Need to be able to provide free text additional information.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.note"
                },
                {
                  "identity": "v2",
                  "map": "NTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)"
                },
                {
                  "identity": "rim",
                  "map": "subjectOf.observationEvent[code\u003d\"annotation\"].value"
                }
              ]
            },
            {
              "id": "Observation.bodySite",
              "path": "Observation.bodySite",
              "short": "DEPRECATED: Observed body part",
              "definition": "DEPRECATED: This element is deprecated. Use bodyStructure instead. Indicates the site on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "DEPRECATED: Use bodyStructure instead. Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodySite",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-20"
                },
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "718497002 |Inherent location|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123037004 |Body structure|"
                }
              ]
            },
            {
              "id": "Observation.bodyStructure",
              "path": "Observation.bodyStructure",
              "short": "Observed body structure",
              "definition": "Indicates the body structure on the subject\u0027s body where the observation was made (i.e. the target site).",
              "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. Use this element instead of the deprecated bodySite element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.bodyStructure",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/BodyStructure"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BodyStructure"
                  }
                ],
                "strength": "example",
                "description": "SNOMED CT Body Structures",
                "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "targetSiteCode"
                }
              ]
            },
            {
              "id": "Observation.method",
              "path": "Observation.method",
              "short": "How it was done",
              "definition": "Indicates the mechanism used to perform the observation.",
              "comment": "Only used if not implicit in code for Observation.code.",
              "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.method",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationMethod"
                  }
                ],
                "strength": "example",
                "description": "Methods for simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-17"
                },
                {
                  "identity": "rim",
                  "map": "methodCode"
                }
              ]
            },
            {
              "id": "Observation.specimen",
              "path": "Observation.specimen",
              "short": "Specimen used for this observation",
              "definition": "The specimen that was used when this observation was made.",
              "comment": "SHOULD be used when the observation is performed on a specimen. The type of specimen SHOULD be consistent with anything implied in the `Observation.code` value.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.specimen",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Specimen",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-9",
                  "severity": "error",
                  "human": "If Observation.specimen is a reference to Group, the group can only have specimens",
                  "expression": "(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "SPM segment (OBX-33 for Specimen.identifier mapping)"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dSPC].specimen"
                },
                {
                  "identity": "sct-attr",
                  "map": "704319004 |Inherent in|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 123038009 |Specimen|"
                }
              ]
            },
            {
              "id": "Observation.device",
              "path": "Observation.device",
              "short": "A reference to the device that generates the measurements or the device settings for the device",
              "definition": "A reference to the device that generates the measurements or the device settings for the device.",
              "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.device",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-18 / PRT -10"
                },
                {
                  "identity": "rim",
                  "map": "participation[typeCode\u003dDEV]"
                },
                {
                  "identity": "sct-attr",
                  "map": "424226004 |Using device|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 49062001 |Device|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange",
              "path": "Observation.referenceRange",
              "short": "Provides guide for interpretation",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an \"OR\".   In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only        supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age,        gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference        range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-3",
                  "severity": "error",
                  "human": "Must have at least a low or a high or text",
                  "expression": "low.exists() or high.exists() or text.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.id",
              "path": "Observation.referenceRange.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.extension",
              "path": "Observation.referenceRange.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.modifierExtension",
              "path": "Observation.referenceRange.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.low",
              "path": "Observation.referenceRange.low",
              "short": "Low Range, if relevant",
              "definition": "The value of the low bound of the reference range.",
              "comment": "When low.comparator is not populated (the low.comparator element was not available prior to        FHIR R6), the low bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating low.comparator \u003d \u0027\u003e\u003d\u0027.         When the low bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with low.comparator \u003d \u0027\u003e\u0027.  If the low bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003c\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.low",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-13",
                  "severity": "error",
                  "human": "If low.comparator exists, it must be \u0027\u003e\u003d\u0027 or \u0027\u003e\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003e\u003d\u0027 or comparator \u003d \u0027\u003e\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.low"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.high",
              "path": "Observation.referenceRange.high",
              "short": "High Range, if relevant",
              "definition": "The value of the high bound of the reference range.",
              "comment": "When high.comparator is not populated (the high.comparator element was not available prior to        FHIR R6), the high bound of the reference range endpoint is inclusive of the value (e.g., reference range is        \u0027\u003e\u003d5\u0027 - \u0027\u003c\u003d9\u0027).  Alternatively, this can be specified explicitly by populating high.comparator \u003d \u0027\u003c\u003d\u0027.         When the high bound of the reference range endpoint is intended to be exclusive of the value (e.g., reference range        is \u0027\u003e5\u0027 - \u0027\u003c9\u0027), this is specified with high.comparator \u003d \u0027\u003c\u0027.  If the high bound is omitted,  it is        assumed to be meaningless (e.g., reference range is \u0027\u003e\u003d2.3\u0027).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.high",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "obs-14",
                  "severity": "error",
                  "human": "If high.comparator exists, it must be \u0027\u003c\u003d\u0027 or \u0027\u003c\u0027.",
                  "expression": "comparator.exists() implies (comparator \u003d \u0027\u003c\u003d\u0027 or comparator \u003d \u0027\u003c\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Observation"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.high"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.normalValue",
              "path": "Observation.referenceRange.normalValue",
              "short": "Normal value, if relevant",
              "definition": "The value of the normal value of the reference range.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.normalValue",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationReferenceRangeNormalValue"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the normal value of the observation.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:IVL_PQ.normal"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.type",
              "path": "Observation.referenceRange.type",
              "short": "Reference range qualifier",
              "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.",
              "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc.,  - for proper interpretation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeMeaning"
                  }
                ],
                "strength": "preferred",
                "description": "Code for the meaning of a reference range.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.appliesTo",
              "path": "Observation.referenceRange.appliesTo",
              "short": "Reference range population",
              "definition": "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an \"AND\" of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
              "comment": "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.",
              "requirements": "Need to be able to identify the target population for proper interpretation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.referenceRange.appliesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationRangeType"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying the population the reference range applies to.",
                "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-10"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values| OR  \r\u003c 365860008 |General clinical state finding| \rOR \r\u003c 250171008 |Clinical history or observation findings| OR  \r\u003c 415229000 |Racial group| OR \r\u003c 365400002 |Finding of puberty stage| OR\r\u003c 443938003 |Procedure carried out on subject|"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.age",
              "path": "Observation.referenceRange.age",
              "short": "Applicable age range, if relevant",
              "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
              "requirements": "Some analytes vary greatly over age.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.age",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Range"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dPRCN].targetObservationCriterion[code\u003d\"age\"].value"
                }
              ]
            },
            {
              "id": "Observation.referenceRange.text",
              "path": "Observation.referenceRange.text",
              "short": "Text based reference range in an observation",
              "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.referenceRange.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "markdown"
                }
              ],
              "condition": [
                "obs-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "value:ST"
                }
              ]
            },
            {
              "id": "Observation.hasMember",
              "path": "Observation.hasMember",
              "short": "Used when reporting observations included in a vital signs panel",
              "definition": "Used when reporting observations included in a vital signs panel.",
              "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.hasMember",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship"
                }
              ]
            },
            {
              "id": "Observation.derivedFrom",
              "path": "Observation.derivedFrom",
              "short": "Related resource from which the observation is made",
              "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
              "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.derivedFrom",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/DocumentReference",
                    "http://hl7.org/fhir/StructureDefinition/Observation"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "Relationships established by OBX-4 usage"
                },
                {
                  "identity": "rim",
                  "map": ".targetObservation"
                }
              ]
            },
            {
              "id": "Observation.component",
              "path": "Observation.component",
              "short": "Component results",
              "definition": "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
              "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.",
              "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, reference range, dataAbsentReason, and interpretation can differ between the components and are not inherited; these should be provided if appropriate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "obs-7",
                "obs-11",
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "containment by OBX-4?"
                },
                {
                  "identity": "rim",
                  "map": "outBoundRelationship[typeCode\u003dCOMP]"
                }
              ]
            },
            {
              "id": "Observation.component.id",
              "path": "Observation.component.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.extension",
              "path": "Observation.component.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Observation.component.modifierExtension",
              "path": "Observation.component.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Observation.component.code",
              "path": "Observation.component.code",
              "short": "Vital Sign measurement or component",
              "definition": "Vital Sign measurement or component.",
              "comment": "*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.",
              "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Observation.component.code",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-7"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationCode"
                  }
                ],
                "strength": "example",
                "description": "Codes identifying names of simple observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes-observationorboth"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.what[x]"
                },
                {
                  "identity": "v2",
                  "map": "OBX-3"
                },
                {
                  "identity": "rim",
                  "map": "code"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 363787002 |Observable entity| OR \r\u003c 386053000 |Evaluation procedure|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]",
              "path": "Observation.component.value[x]",
              "slicing": {
                "discriminator": [
                  {
                    "type": "type",
                    "path": "$this"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "The value for the vital sign component being observed.",
              "definition": "The value for the vital sign component being observed.",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                },
                {
                  "code": "CodeableConcept"
                },
                {
                  "code": "string"
                },
                {
                  "code": "boolean"
                },
                {
                  "code": "integer"
                },
                {
                  "code": "Range"
                },
                {
                  "code": "Ratio"
                },
                {
                  "code": "SampledData"
                },
                {
                  "code": "time"
                },
                {
                  "code": "dateTime"
                },
                {
                  "code": "Period"
                },
                {
                  "code": "Attachment"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.value[x]:valueQuantity",
              "path": "Observation.component.value[x]",
              "sliceName": "valueQuantity",
              "short": "Vital Sign component value recorded as a component with UCUM (preferred)",
              "definition": "Vital Sign component value recorded as a component with UCUM (preferred).",
              "comment": "Used when observation has a set of component observations:\n-  An observation may have both a value (e.g. an  Apgar score) and component observations (the observations from which the Apgar score was derived). \n-  If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- If a value is present, the datatype for this element should be determined by the `code`.\n-  *CodeableConcept* with just a text would be used instead of a string if the field was usually coded, or if the type associated with the `code` defines a coded value.\n-  *Attachment* is used if the observation result value is a binary file such as an image.  If the observation result value is derived from the binary file (for example \u0027X\u0027 detected and here is the the proof in this image), the binary file may be directly represented using *DocumentReference* and referenced by `derivedFrom`.\n- For additional guidance, see the [Notes section](observation.html#notes) below.",
              "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.value[x]",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Quantity"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "UCUM units"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "UCUMunits"
                  }
                ],
                "strength": "preferred",
                "description": "UCUM units - for recording Vital Signs and components.",
                "valueSet": "http://unitsofmeasure.org/vs"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-2, OBX-5, OBX-6"
                },
                {
                  "identity": "rim",
                  "map": "value"
                },
                {
                  "identity": "sct-attr",
                  "map": "363714003 |Interprets|"
                },
                {
                  "identity": "sct-concept",
                  "map": "363714003 |Interprets| \u003c 441742003 |Evaluation finding|"
                }
              ]
            },
            {
              "id": "Observation.component.dataAbsentReason",
              "path": "Observation.component.dataAbsentReason",
              "short": "Why the component result value is missing",
              "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
              "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.",
              "requirements": "For many results it is necessary to handle exceptional values in measurements.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Observation.component.dataAbsentReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "obs-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationValueAbsentReason"
                  }
                ],
                "strength": "extensible",
                "description": "Codes specifying why the result (`Observation.value[x]`) is missing.",
                "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "value.nullFlavor"
                }
              ]
            },
            {
              "id": "Observation.component.interpretation",
              "path": "Observation.component.interpretation",
              "short": "High, low, normal, etc",
              "definition": "A categorical assessment of an observation value.  For example, high, low, normal.",
              "comment": "Historically used for laboratory results (known as \u0027abnormal flag\u0027 ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.",
              "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
              "alias": [
                "Abnormal Flag"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.interpretation",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ObservationInterpretation"
                  }
                ],
                "strength": "extensible",
                "description": "Codes identifying interpretations of observations.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-8"
                },
                {
                  "identity": "rim",
                  "map": "interpretationCode"
                },
                {
                  "identity": "sct-attr",
                  "map": "363713009 |Has interpretation|"
                },
                {
                  "identity": "sct-concept",
                  "map": "\u003c 260245000 |Findings values|"
                }
              ]
            },
            {
              "id": "Observation.component.referenceRange",
              "path": "Observation.component.referenceRange",
              "short": "Provides guide for interpretation of component result value",
              "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.",
              "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient\u0027s age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.",
              "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Observation.component.referenceRange",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "OBX-7"
                },
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003dREFV]/target[classCode\u003dOBS, moodCode\u003dEVN]"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Observation",
              "path": "Observation",
              "short": "FHIR Body Mass Index (BMI) Profile",
              "definition": "This profile defines  how to represent Body Mass Index (BMI) observations in FHIR using a standard LOINC code and UCUM units of measure.",
              "constraint": [
                {
                  "key": "vs-4",
                  "severity": "error",
                  "human": "For single vital signs observations (that do not require use of components or hasMember), then either a value[x] or a data absent reason must be present.",
                  "expression": "dataAbsentReason.exists() or value.exists()"
                }
              ]
            },
            {
              "id": "Observation.code",
              "path": "Observation.code",
              "short": "Body Mass Index (BMI)",
              "definition": "Body Mass Index (BMI)",
              "patternCodeableConcept": {
                "coding": [
                  {
                    "system": "http://loinc.org",
                    "code": "39156-5"
                  }
                ]
              },
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "VitalSignsBMI"
                  }
                ],
                "strength": "preferred",
                "description": "This identifies the set of LOINC codes that are appropriate for representing body mass index (BMI) vital sign measurements in Observation.code.",
                "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsign-bmi"
              }
            },
            {
              "id": "Observation.valueQuantity",
              "path": "Observation.valueQuantity",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
                    "valueString": "Common UCUM units for BMI."
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BMIUnits"
                  }
                ],
                "strength": "required",
                "description": "kg/m2",
                "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bmi"
              }
            },
            {
              "id": "Observation.dataAbsentReason",
              "path": "Observation.dataAbsentReason",
              "condition": [
                "vsp-4"
              ],
              "mustSupport": true
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/catalog",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "catalog",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eto do\u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 2
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "sd"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/catalog",
        "identifier": [
          {
            "system": "urn:ietf:rfc:3986",
            "value": "urn:oid:2.16.840.1.113883.4.642.5.1175"
          }
        ],
        "version": "6.0.0-ballot4",
        "name": "ProfileForCatalog",
        "title": "Profile for  Catalog",
        "status": "draft",
        "experimental": false,
        "date": "2014-01-31",
        "publisher": "Health Level Seven, Inc. - Clinical Quality Information WG",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/cqi/index.cfm"
              }
            ]
          }
        ],
        "description": "A set of resources composed into a single coherent clinical statement with clinical attestation",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "fhirdocumentreference",
            "uri": "http://hl7.org/fhir/documentreference",
            "name": "FHIR DocumentReference"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Composition",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Composition",
              "path": "Composition",
              "short": "A set of resources composed into a single coherent clinical statement with clinical attestation",
              "definition": "A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.",
              "comment": "While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "dom-2",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                  "expression": "contained.contained.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-3",
                  "severity": "error",
                  "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                  "expression": "contained.where(((\u0027#\u0027+id.trace(\u0027id\u0027) in %resource.descendants().select(reference | as(uri))) or descendants().where(reference\u003d\u0027#\u0027 | as(uri)\u003d\u0027#\u0027).exists()).not()).trace(\u0027unmatched\u0027, id).empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-4",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                  "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "key": "dom-5",
                  "severity": "error",
                  "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
                  "expression": "contained.meta.security.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                      "valueBoolean": true
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                      "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                    }
                  ],
                  "key": "dom-6",
                  "severity": "warning",
                  "human": "A resource should have narrative for robust management",
                  "expression": "text.`div`.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity, Role, or Act,Document[classCode\u003d\"DOC\" and moodCode\u003d\"EVN\" and isNormalAct()]"
                },
                {
                  "identity": "workflow",
                  "map": "Event"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.documents"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "when described by DocumentReference"
                }
              ]
            },
            {
              "id": "Composition.id",
              "path": "Composition.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Composition.meta",
              "path": "Composition.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Composition.implicitRules",
              "path": "Composition.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Composition.language",
              "path": "Composition.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Composition.text",
              "path": "Composition.text",
              "short": "Text summary of the resource, for human interpretation",
              "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.",
              "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\u003d1 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.",
              "alias": [
                "narrative",
                "html",
                "xhtml",
                "display"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "DomainResource.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "dom-6"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Act.text?"
                }
              ]
            },
            {
              "id": "Composition.contained",
              "path": "Composition.contained",
              "short": "Contained, inline Resources",
              "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.",
              "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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](resource.html#additional).",
              "alias": [
                "inline resources",
                "anonymous resources",
                "contained resources"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.contained",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "dom-2",
                "dom-4",
                "dom-3",
                "dom-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.extension",
              "path": "Composition.extension",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "url"
                  }
                ],
                "ordered": false,
                "rules": "open"
              },
              "short": "Extension",
              "definition": "An Extension",
              "min": 1,
              "max": "*",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.extension:ValidityPeriod",
              "path": "Composition.extension",
              "sliceName": "ValidityPeriod",
              "short": "The validity of the catalog",
              "definition": "The validity of the catalog.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "DomainResource.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                },
                {
                  "key": "ext-1",
                  "severity": "error",
                  "human": "Must have either extensions or value[x], not both",
                  "expression": "extension.exists() !\u003d value.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Extension"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.modifierExtension",
              "path": "Composition.modifierExtension",
              "short": "Extensions that cannot be ignored",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "DomainResource.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.url",
              "path": "Composition.url",
              "short": "Canonical identifier for this Composition, represented as a URI (globally unique)",
              "definition": "An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.",
              "comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.",
              "requirements": "Allows the Composition to be referenced by a single globally unique identifier.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.url",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                }
              ]
            },
            {
              "id": "Composition.identifier",
              "path": "Composition.identifier",
              "short": "Version-independent identifier for the Composition",
              "definition": "A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.",
              "comment": "Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.identifier",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.identifier"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "rim",
                  "map": "Document.id / Document.setId"
                },
                {
                  "identity": "cda",
                  "map": ".setId"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.identifier"
                }
              ]
            },
            {
              "id": "Composition.version",
              "path": "Composition.version",
              "short": "An explicitly assigned identifier of a variation of the content in the Composition",
              "definition": "An explicitly assigned identifier of a variation of the content in the Composition.",
              "comment": "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the Composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.version",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.version"
                },
                {
                  "identity": "cda",
                  "map": ".versionNumber"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.version"
                }
              ]
            },
            {
              "id": "Composition.consent",
              "path": "Composition.consent",
              "short": "Represents informed consents and medico-legal transactions",
              "definition": "References the consents associated with this document. Examples include a consent to perform the clinical service being documented (.event) or a consent for the information contained in the document to be released to a third party.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.consent",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Consent"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "cda",
                  "map": ".authorization.consent"
                }
              ]
            },
            {
              "id": "Composition.basedOn",
              "path": "Composition.basedOn",
              "short": "Fulfills plan, proposal or order",
              "definition": "A plan, proposal or order that is fulfilled in whole or in part by this composition.",
              "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
              "alias": [
                "fulfills"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.basedOn",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Appointment",
                    "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
                    "http://hl7.org/fhir/StructureDefinition/CarePlan",
                    "http://hl7.org/fhir/StructureDefinition/Claim",
                    "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest",
                    "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
                    "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest",
                    "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
                    "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
                    "http://hl7.org/fhir/StructureDefinition/RequestOrchestration",
                    "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
                    "http://hl7.org/fhir/StructureDefinition/Task",
                    "http://hl7.org/fhir/StructureDefinition/VisionPrescription"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.basedOn"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dFLFS].target"
                },
                {
                  "identity": "cda",
                  "map": ".inFulfillmentOf"
                }
              ]
            },
            {
              "id": "Composition.status",
              "path": "Composition.status",
              "short": "registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown",
              "definition": "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.",
              "comment": "If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag \"entered-in-error\" is why this element is labeled as a modifier of other elements.   \n\nSome reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.",
              "requirements": "Need to be able to mark interim, amended, or withdrawn compositions or documents.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "CompositionStatus"
                  }
                ],
                "strength": "required",
                "description": "The workflow status of the composition.",
                "valueSet": "http://hl7.org/fhir/ValueSet/composition-status|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.status"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.status"
                },
                {
                  "identity": "rim",
                  "map": "interim: .completionCode\u003d\"IN\" \u0026 ./statusCode[isNormalDatatype()]\u003d\"active\";  final: .completionCode\u003d\"AU\" \u0026\u0026  ./statusCode[isNormalDatatype()]\u003d\"complete\" and not(./inboundRelationship[typeCode\u003d\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode\u003d\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct()]);  amended: .completionCode\u003d\"AU\" \u0026\u0026  ./statusCode[isNormalDatatype()]\u003d\"complete\" and ./inboundRelationship[typeCode\u003d\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode\u003d\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct() and statusCode\u003d\"completed\"];  withdrawn : .completionCode\u003dNI \u0026\u0026  ./statusCode[isNormalDatatype()]\u003d\"obsolete\""
                },
                {
                  "identity": "cda",
                  "map": "n/a"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.docStatus"
                }
              ]
            },
            {
              "id": "Composition.type",
              "path": "Composition.type",
              "short": "The type of document - a Catalog",
              "definition": "The type of document - a Catalog.",
              "comment": "For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.",
              "requirements": "Key metadata element describing the composition, used in searching/filtering.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "fixedCodeableConcept": {
                "text": "Catalog"
              },
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "DocumentType"
                  }
                ],
                "strength": "preferred",
                "description": "Type of a composition.",
                "valueSet": "http://hl7.org/fhir/ValueSet/doc-typecodes"
              },
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.code"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "rim",
                  "map": "./code"
                },
                {
                  "identity": "cda",
                  "map": ".code"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.type"
                }
              ]
            },
            {
              "id": "Composition.category",
              "path": "Composition.category",
              "short": "The Content of the section",
              "definition": "The content (narrative and data) associated with the section.",
              "requirements": "Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.category",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "CatalogType"
                  }
                ],
                "strength": "example",
                "description": "The type of catalog.",
                "valueSet": "http://hl7.org/fhir/ValueSet/catalog-type"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                },
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"COMP].target[classCode\u003d\"LIST\", moodCode\u003d\"EVN\"].code"
                },
                {
                  "identity": "cda",
                  "map": "n/a"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumenttReference.category"
                }
              ]
            },
            {
              "id": "Composition.subject",
              "path": "Composition.subject",
              "short": "Who and/or what the composition is about",
              "definition": "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).",
              "comment": "For clinical documents, this is usually the patient.",
              "requirements": "Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Composition.subject",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.subject"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.subject"
                },
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003d\"SBJ\"].role[typeCode\u003d\"PAT\"]"
                },
                {
                  "identity": "cda",
                  "map": ".recordTarget"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.subject"
                }
              ]
            },
            {
              "id": "Composition.encounter",
              "path": "Composition.encounter",
              "short": "Context of the Composition",
              "definition": "Describes the clinical encounter or type of care this documentation is associated with.",
              "requirements": "Provides context for the composition and supports searching.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.encounter",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Encounter"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.encounter"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.context"
                },
                {
                  "identity": "rim",
                  "map": "unique(highest(./outboundRelationship[typeCode\u003d\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode\u003d\"EVN\" and classCode\u003d(\"ENC\", \"PCPR\") and isNormalAct])"
                },
                {
                  "identity": "cda",
                  "map": ".componentOf.encompassingEncounter"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.context"
                }
              ]
            },
            {
              "id": "Composition.date",
              "path": "Composition.date",
              "short": "When the Catalog was created",
              "definition": "When the Catalog was created.",
              "comment": "The Last Modified Date on the composition may be after the date of the document was attested without being changed. This means that the date on an amended document is the date of the amendment, not the date of original authorship.",
              "requirements": "dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring this version of the Composition. When packaged in a document, [Bundle.timestamp](bundle-definitions.html#Bundle.timestamp) is the date of packaging.",
              "alias": [
                "IssueDate"
              ],
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.date",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.occurrence[x]"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.done[x]"
                },
                {
                  "identity": "rim",
                  "map": ".effectiveTime[type\u003d\"TS\"]"
                },
                {
                  "identity": "cda",
                  "map": ".effectiveTime"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.content.attachment.date, DocumentReference.date"
                }
              ]
            },
            {
              "id": "Composition.useContext",
              "path": "Composition.useContext",
              "short": "The context that the content is intended to support",
              "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 Composition instances.",
              "comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
              "requirements": "Assist in searching for appropriate content.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.useContext",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "UsageContext"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Composition.author",
              "path": "Composition.author",
              "short": "Who and/or what authored the composition",
              "definition": "Identifies who is responsible for the information in the composition, not necessarily who typed it in.",
              "comment": "When the Composition is software-generated, a Device can be referenced. When a software-generated Composition is verified by a human (but not authored by that human), use the attester element to identify the human(s) who performed the verification.",
              "requirements": "Identifies who is responsible for the content.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.author",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Organization"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "workflow",
                  "map": "Event.performer"
                },
                {
                  "identity": "w5",
                  "map": "FiveWs.author"
                },
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003d\"AUT\"].role[classCode\u003d\"ASSIGNED\"]"
                },
                {
                  "identity": "cda",
                  "map": ".author.assignedAuthor"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.author"
                }
              ]
            },
            {
              "id": "Composition.participant",
              "path": "Composition.participant",
              "short": "Identifies supporting entities, including parents, relatives, caregivers, insurance policyholders, guarantors, and others related in some way to the patient",
              "definition": "Identifies supporting entities, including parents, relatives, caregivers, insurance policyholders, guarantors, and others related in some way to the patient. A supporting person or organization is an individual or an organization with a relationship to the patient. A supporting person who is playing multiple roles would be recorded in multiple participants (e.g., emergency contact and next-of-kin).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.participant",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.participant.id",
              "path": "Composition.participant.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.participant.extension",
              "path": "Composition.participant.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.participant.modifierExtension",
              "path": "Composition.participant.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.participant.type",
              "path": "Composition.participant.type",
              "short": "Meaning and purpose of participation, in creation of the clinical document",
              "definition": "Meaning and purpose of participation, in creation of the clinical document. The list includes: data entry person, informant, primary information recipient, and tracker. Other types are allowed.",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Composition.participant.type",
                "min": 1,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "FHIRClinicalDocParticipantVs"
                  }
                ],
                "strength": "preferred",
                "description": "FHIR Clinical Document Participant Types. Author, Authenticator, Custodian, Legal Authenticator, Record Target and Subject are found in distinct, named fields in FHIR. Thus, these types are excluded.",
                "valueSet": "http://terminology.hl7.org/ValueSet/fhir-clinical-doc-participant"
              }
            },
            {
              "id": "Composition.participant.function",
              "path": "Composition.participant.function",
              "definition": "Exact function of the participant in the creation of the clinical document. This is more granular than type.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.participant.function",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ParticipationFunction"
                  }
                ],
                "strength": "preferred",
                "description": "To specify the exact function an actor had in a service in all necessary detail.",
                "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationFunction"
              }
            },
            {
              "id": "Composition.participant.time",
              "path": "Composition.participant.time",
              "short": "Time period of participation",
              "definition": "Time period of participation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.participant.time",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Period"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.participant.party",
              "path": "Composition.participant.party",
              "short": "Who the participant is",
              "definition": "Who the participant is.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.participant.party",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/Organization"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.name",
              "path": "Composition.name",
              "short": "Name for this Composition (computer friendly)",
              "definition": "A natural language name identifying the {{title}}. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
              "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.",
              "requirements": "Support human navigation and code generation.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.name",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Composition.title",
              "path": "Composition.title",
              "short": "Human Readable name/title",
              "definition": "Official human-readable label for the composition.",
              "comment": "For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a \"consultation\" or \"progress note\"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.title",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./title"
                },
                {
                  "identity": "cda",
                  "map": ".title"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.description, DocumentReference.content.attachment.title"
                }
              ]
            },
            {
              "id": "Composition.note",
              "path": "Composition.note",
              "short": "For any additional notes",
              "definition": "For any additional notes.",
              "comment": "A comment, general note or annotation not coded elsewhere.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.attester",
              "path": "Composition.attester",
              "short": "Attests to accuracy of composition",
              "definition": "A participant who has attested to the accuracy of the composition/document.",
              "comment": "Only list each attester once.",
              "requirements": "Identifies responsibility for the accuracy of the composition content.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.attester",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "cmp-3"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003d\"AUTHEN\"].role[classCode\u003d\"ASSIGNED\"]"
                },
                {
                  "identity": "cda",
                  "map": ".authenticator/.legalAuthenticator"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.attester"
                }
              ]
            },
            {
              "id": "Composition.attester.id",
              "path": "Composition.attester.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.attester.extension",
              "path": "Composition.attester.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.attester.modifierExtension",
              "path": "Composition.attester.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.attester.mode",
              "path": "Composition.attester.mode",
              "short": "personal | professional | legal | official",
              "definition": "The type of attestation the authenticator offers.",
              "requirements": "Indicates the level of authority of the attestation.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.attester.mode",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "CompositionAttestationMode"
                  }
                ],
                "strength": "preferred",
                "description": "The way in which a person authenticated a composition.",
                "valueSet": "http://hl7.org/fhir/ValueSet/composition-attestation-mode"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "unique(./modeCode)"
                },
                {
                  "identity": "cda",
                  "map": "implied by .authenticator/.legalAuthenticator"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.attester.mode"
                }
              ]
            },
            {
              "id": "Composition.attester.time",
              "path": "Composition.attester.time",
              "short": "When the composition was attested",
              "definition": "When the composition was attested by the party.",
              "requirements": "Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.attester.time",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "dateTime"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./time[type\u003d\"TS\" and isNormalDatatype()]"
                },
                {
                  "identity": "cda",
                  "map": ".authenticator.time"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.attester.time"
                }
              ]
            },
            {
              "id": "Composition.attester.party",
              "path": "Composition.attester.party",
              "short": "Who attested the composition",
              "definition": "Who attested the composition in the specified way.",
              "requirements": "Identifies who has taken on the responsibility for accuracy of the composition content.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.attester.party",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.witness"
                },
                {
                  "identity": "rim",
                  "map": "./role[classCode\u003d\"ASSIGNED\" and isNormalRole]/player[determinerCode\u003d\"INST\" and classCode\u003d(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode\u003d\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode\u003d\"INST\" and classCode\u003d\"ORG\" and isNormalEntity()]"
                },
                {
                  "identity": "cda",
                  "map": ".authenticator.assignedEnttty"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.attester.party"
                }
              ]
            },
            {
              "id": "Composition.custodian",
              "path": "Composition.custodian",
              "short": "Organization which maintains the composition",
              "definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.",
              "comment": "This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.",
              "requirements": "Identifies where to go to find the current version, where to report issues, etc.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.custodian",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Organization",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/Group"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003d\"RCV\"].role[classCode\u003d\"CUST\"].scoper[classCode\u003d\"ORG\" and determinerCode\u003d\"INST\"]"
                },
                {
                  "identity": "cda",
                  "map": ".custodian.assignedCustodian"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.custodian"
                }
              ]
            },
            {
              "id": "Composition.relatesTo",
              "path": "Composition.relatesTo",
              "short": "Relationships to other compositions/documents",
              "definition": "Relationships that this composition has with other compositions or documents (FHIR or non-FHIR resources) that already exist.",
              "comment": "To reference (using relatesTo) a Bundle of type \"document\" or another Composition where you only have the identifier, use a targetReference with an identifier.\\\nWhen a Composition is an alternate representation of another type of document e.g. CDA, the other document could be referenced in a DocumentReference resource.  \nHere is an example of using relatesTo to reference another Bundle of type \"document\" or Composition where you only have the identifier:\n```\n\"relatesTo\": [{\n  \"type\": \"replaces\",\n  \"targetReference\": {\n    \"identifier\": { \n      \"system\": \"...\", \n      \"value\": \"...\"\n    }\n  } \n}]\n```",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.relatesTo",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship"
                },
                {
                  "identity": "cda",
                  "map": ".relatedDocument"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.relatesTo"
                }
              ]
            },
            {
              "id": "Composition.relatesTo.id",
              "path": "Composition.relatesTo.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.relatesTo.extension",
              "path": "Composition.relatesTo.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.relatesTo.modifierExtension",
              "path": "Composition.relatesTo.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.relatesTo.type",
              "path": "Composition.relatesTo.type",
              "short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as | reprint | reprint-of | summarizes",
              "definition": "The type of relationship to the related artifact.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.relatesTo.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "ArtifactRelationshipType"
                  }
                ],
                "strength": "extensible",
                "description": "The type of relationship to the related artifact.",
                "valueSet": "http://terminology.hl7.org/ValueSet/artifact-relationship-type"
              }
            },
            {
              "id": "Composition.relatesTo.target[x]",
              "path": "Composition.relatesTo.target[x]",
              "short": "The artifact that is related to this Composition",
              "definition": "The artifact that is related to this Composition Resource.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Composition.relatesTo.target[x]",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                },
                {
                  "code": "Attachment"
                },
                {
                  "code": "canonical",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                },
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                },
                {
                  "code": "markdown"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.event",
              "path": "Composition.event",
              "short": "The clinical service(s) being documented",
              "definition": "The clinical service, such as a colonoscopy or an appendectomy, being documented.",
              "comment": "The event needs to be consistent with the type element, though can provide further information if desired.",
              "requirements": "Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.event",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "outboundRelationship[typeCode\u003d\"SUBJ\"].target[classCode\u003c\u0027ACT\u0027]"
                },
                {
                  "identity": "cda",
                  "map": ".documentationOf.serviceEvent"
                }
              ]
            },
            {
              "id": "Composition.event.id",
              "path": "Composition.event.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.event.extension",
              "path": "Composition.event.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.event.modifierExtension",
              "path": "Composition.event.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.event.period",
              "path": "Composition.event.period",
              "short": "The period covered by the documentation",
              "definition": "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.event.period",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Period"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".effectiveTime"
                },
                {
                  "identity": "cda",
                  "map": ".effectiveTime"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.period"
                }
              ]
            },
            {
              "id": "Composition.event.detail",
              "path": "Composition.event.detail",
              "short": "The event(s) being documented, as code(s), reference(s), or both",
              "definition": "Represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which case the procedure being documented is necessarily a \"History and Physical\" act. The events may be included as a code or as a reference to an other resource.",
              "comment": "An event can further specialize the act inherent in Composition.type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more events are included, they SHALL NOT conflict with the values inherent in Composition.type as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.event.detail",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "CodeableReference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "DocumentEventType"
                  }
                ],
                "strength": "example",
                "description": "This list of codes represents the main clinical acts being documented.",
                "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003d\"SUBJ\"].target"
                },
                {
                  "identity": "cda",
                  "map": "n/a"
                },
                {
                  "identity": "fhirdocumentreference",
                  "map": "DocumentReference.event"
                }
              ]
            },
            {
              "id": "Composition.section",
              "path": "Composition.section",
              "short": "Composition is broken into sections",
              "definition": "The root of the sections that make up the composition.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.section",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "cmp-3"
              ],
              "constraint": [
                {
                  "key": "cmp-1",
                  "severity": "error",
                  "human": "A section must contain at least one of text, entries, or sub-sections",
                  "expression": "text.exists() or entry.exists() or section.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Composition"
                },
                {
                  "key": "cmp-2",
                  "severity": "error",
                  "human": "A section can only have an emptyReason if no entries are included",
                  "expression": "emptyReason.empty() or entry.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Composition"
                },
                {
                  "key": "cmp-3",
                  "severity": "warning",
                  "human": "If attester exists then the Composition either needs a text or a section",
                  "expression": "%resource.attester.exists() implies(text.exists() or section.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Composition"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./outboundRelationship[typeCode\u003d\"COMP\" and isNormalActRelationship()]/target[moodCode\u003d\"EVN\" and classCode\u003d\"DOCSECT\" and isNormalAct]"
                },
                {
                  "identity": "cda",
                  "map": ".component.structuredBody.component.section"
                }
              ]
            },
            {
              "id": "Composition.section.id",
              "path": "Composition.section.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.section.extension",
              "path": "Composition.section.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.section.modifierExtension",
              "path": "Composition.section.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Composition.section.title",
              "path": "Composition.section.title",
              "short": "Label for section (e.g. for ToC)",
              "definition": "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
              "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
              "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
              "alias": [
                "header",
                "label",
                "caption"
              ],
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.title",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./title"
                },
                {
                  "identity": "cda",
                  "map": ".title"
                }
              ]
            },
            {
              "id": "Composition.section.code",
              "path": "Composition.section.code",
              "short": "Classification of section (recommended)",
              "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
              "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
              "requirements": "Provides computable standardized labels to topics within the document.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.code",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "CompositionSectionType"
                  }
                ],
                "strength": "example",
                "description": "Classification of a section of a composition/document.",
                "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./code"
                },
                {
                  "identity": "cda",
                  "map": ".code"
                }
              ]
            },
            {
              "id": "Composition.section.author",
              "path": "Composition.section.author",
              "short": "Who and/or what authored the section, when the section is authored by someone other than the composition.author",
              "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.   \n\nThe actual author of the section when it is not the author of the composition. If author is not specified, the author is assumed to be the author of the parent section or the author of the composition.",
              "requirements": "Identifies who is responsible for the content.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.section.author",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Practitioner",
                    "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                    "http://hl7.org/fhir/StructureDefinition/CareTeam",
                    "http://hl7.org/fhir/StructureDefinition/Device",
                    "http://hl7.org/fhir/StructureDefinition/Patient",
                    "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                    "http://hl7.org/fhir/StructureDefinition/Organization"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.author"
                },
                {
                  "identity": "rim",
                  "map": ".participation[typeCode\u003d\"AUT\"].role[classCode\u003d\"ASSIGNED\"]"
                },
                {
                  "identity": "cda",
                  "map": ".author.assignedAuthor"
                }
              ]
            },
            {
              "id": "Composition.section.focus",
              "path": "Composition.section.focus",
              "short": "Who/what the section is about, when it is not about the subject of composition",
              "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
              "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.focus",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "cda",
                  "map": ".subject? (CDA did not differentiate between subject and focus)"
                }
              ]
            },
            {
              "id": "Composition.section.text",
              "path": "Composition.section.text",
              "short": "Text summary of the section, for human interpretation",
              "definition": "A human-readable narrative that contains the attested content of the section, 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.",
              "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.text",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Narrative"
                }
              ],
              "condition": [
                "cmp-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".text"
                },
                {
                  "identity": "cda",
                  "map": ".text"
                }
              ]
            },
            {
              "id": "Composition.section.note",
              "path": "Composition.section.note",
              "short": "Information about the section contents that is not represented by any of the section entries",
              "definition": "Information about the section contents that is not represented by any of the section entries.",
              "comment": "A comment, general note or annotation not coded elsewhere in the section.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.section.note",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Annotation"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false
            },
            {
              "id": "Composition.section.orderedBy",
              "path": "Composition.section.orderedBy",
              "short": "Order of section entries",
              "definition": "Specifies the order applied to the items in the section entries.",
              "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
              "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.orderedBy",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SectionEntryOrder"
                  }
                ],
                "strength": "preferred",
                "description": "What order applies to the items in the entry.",
                "valueSet": "http://terminology.hl7.org/ValueSet/list-order"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dCOMP].sequenceNumber \u003e 1"
                },
                {
                  "identity": "cda",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.section.entry",
              "path": "Composition.section.entry",
              "short": "A reference to data that supports this section",
              "definition": "A reference to the actual resource from which the narrative in the section is derived.",
              "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.section.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ],
              "condition": [
                "cmp-1",
                "cmp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".outboundRelationship[typeCode\u003dCOMP] or  .participation[typeCode\u003dSBJ]"
                },
                {
                  "identity": "cda",
                  "map": ".entry"
                }
              ]
            },
            {
              "id": "Composition.section.emptyReason",
              "path": "Composition.section.emptyReason",
              "short": "Why the section is empty",
              "definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
              "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
              "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Composition.section.emptyReason",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "condition": [
                "cmp-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SectionEmptyReason"
                  }
                ],
                "strength": "preferred",
                "description": "If a section is empty, why it is empty.",
                "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason"
              },
              "mapping": [
                {
                  "identity": "rim",
                  "map": ".inboundRelationship[typeCode\u003dSUBJ,code\u003cListEmptyReason].value[type\u003dCD]"
                },
                {
                  "identity": "cda",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Composition.section.section",
              "path": "Composition.section.section",
              "short": "Nested Section",
              "definition": "A nested sub-section within this section.",
              "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Composition.section.section",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "./outboundRelationship[typeCode\u003d\"COMP\" and isNormalActRelationship()]/target[moodCode\u003d\"EVN\" and classCode\u003d\"DOCSECT\" and isNormalAct]"
                },
                {
                  "identity": "cda",
                  "map": ".component.section"
                }
              ]
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Composition",
              "path": "Composition",
              "short": "A set of resources composed into a single coherent clinical statement with clinical attestation",
              "definition": "A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.",
              "min": 0,
              "max": "*"
            },
            {
              "id": "Composition.extension:ValidityPeriod",
              "path": "Composition.extension",
              "sliceName": "ValidityPeriod",
              "short": "The validity of the catalog",
              "definition": "The validity of the catalog.",
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "Extension",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"
                  ]
                }
              ]
            },
            {
              "id": "Composition.type",
              "path": "Composition.type",
              "short": "The type of document - a Catalog",
              "definition": "The type of document - a Catalog.",
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "fixedCodeableConcept": {
                "text": "Catalog"
              }
            },
            {
              "id": "Composition.category",
              "path": "Composition.category",
              "short": "The Content of the section",
              "definition": "The content (narrative and data) associated with the section.",
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "CatalogType"
                  }
                ],
                "strength": "example",
                "description": "The type of catalog.",
                "valueSet": "http://hl7.org/fhir/ValueSet/catalog-type"
              }
            },
            {
              "id": "Composition.subject",
              "path": "Composition.subject",
              "short": "Who and/or what the composition is about",
              "definition": "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).",
              "min": 0,
              "max": "0",
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Resource"
                  ]
                }
              ]
            },
            {
              "id": "Composition.date",
              "path": "Composition.date",
              "short": "When the Catalog was created",
              "definition": "When the Catalog was created.",
              "alias": [
                "IssueDate"
              ],
              "min": 1,
              "max": "1",
              "type": [
                {
                  "code": "dateTime"
                }
              ]
            },
            {
              "id": "Composition.section",
              "path": "Composition.section",
              "min": 0,
              "max": "*"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/history-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "history-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
            "valueInteger": 1
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/summary",
            "valueString": "#### Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.code` which must have\r    -   a fixed `Observation.code.coding.system`\u003d**\u0027http ://loinc.org\u0027**\r    -   a fixed  `Observation.code.coding.code`\u003d **\u002729463-7\u0027**\r    -   Other additional Codings are allowed in `Observation.code`- e.g. more specific LOINC\r        Codes, SNOMED CT concepts, system specific codes. All codes\r        SHALL have an system value\r1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.DataAbsentReason\r   - Each Observation.valueQuantity must have:\r     - One numeric value in Observation.valueQuantity.value\r     - a fixed Observation.valueQuantity.system\u003d\"http://unitsofmeasure.org\"\r     - a UCUM unit code in Observation.valueQuantity.code \u003d **\u0027kg\u0027, \u0027g\u0027, or \u0027[lb_av]\u0027**"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/history-bundle",
        "version": "6.0.0-ballot4",
        "name": "HistoryBundle",
        "title": "History bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "description": "This profile holds all the requirements and constraints related to a FHIR history bundle.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "history",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              },
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "PUT",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "POST",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "GET",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "DELETE",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "history"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              }
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put"
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "PUT"
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "min": 1
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "POST"
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "min": 1
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get"
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "GET"
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete"
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "DELETE"
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch",
              "max": "0"
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/search-set-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "search-set-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/search-set-bundle",
        "version": "6.0.0-ballot4",
        "name": "SearchSetBundle",
        "title": "Search Set Bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR search bundle.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "searchset",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "search.mode"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              },
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome",
              "path": "Bundle.entry",
              "sliceName": "operationOutcome",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "OperationOutcome"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "outcome",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:operationOutcome.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:operationOutcome.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:operationOutcome.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other",
              "path": "Bundle.entry",
              "sliceName": "other",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:other.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:other.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "searchset"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "search.mode"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              }
            },
            {
              "id": "Bundle.entry:operationOutcome",
              "path": "Bundle.entry",
              "sliceName": "operationOutcome",
              "max": "1"
            },
            {
              "id": "Bundle.entry:operationOutcome.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:operationOutcome.resource",
              "path": "Bundle.entry.resource",
              "min": 1,
              "type": [
                {
                  "code": "OperationOutcome"
                }
              ]
            },
            {
              "id": "Bundle.entry:operationOutcome.search.mode",
              "path": "Bundle.entry.search.mode",
              "min": 1,
              "patternCode": "outcome"
            },
            {
              "id": "Bundle.entry:operationOutcome.request",
              "path": "Bundle.entry.request",
              "max": "0"
            },
            {
              "id": "Bundle.entry:operationOutcome.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:other",
              "path": "Bundle.entry",
              "sliceName": "other"
            },
            {
              "id": "Bundle.entry:other.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:other.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:other.request",
              "path": "Bundle.entry.request",
              "max": "0"
            },
            {
              "id": "Bundle.entry:other.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "subscription-notification-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle",
        "version": "6.0.0-ballot4",
        "name": "SubscriptionNotificationBundle",
        "title": "Subscription Notification bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a Subscription Notification Bundle.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "subscription-notification",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "exists",
                    "path": "$this"
                  }
                ],
                "description": "Slice to enforce first entry is NessageHeader.",
                "ordered": true,
                "rules": "openAtEnd"
              },
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first",
              "path": "Bundle.entry",
              "sliceName": "first",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "SubscriptionStatus"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:first.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:first.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:first.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other",
              "path": "Bundle.entry",
              "sliceName": "other",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:other.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:other.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:other.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:other.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "subscription-notification"
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "exists",
                    "path": "$this"
                  }
                ],
                "description": "Slice to enforce first entry is NessageHeader.",
                "ordered": true,
                "rules": "openAtEnd"
              },
              "min": 1
            },
            {
              "id": "Bundle.entry:first",
              "path": "Bundle.entry",
              "sliceName": "first",
              "min": 1,
              "max": "1"
            },
            {
              "id": "Bundle.entry:first.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:first.resource",
              "path": "Bundle.entry.resource",
              "min": 1,
              "type": [
                {
                  "code": "SubscriptionStatus"
                }
              ]
            },
            {
              "id": "Bundle.entry:first.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:first.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:other",
              "path": "Bundle.entry",
              "sliceName": "other"
            },
            {
              "id": "Bundle.entry:other.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:other.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:other.response",
              "path": "Bundle.entry.response",
              "max": "0"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/batch-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "batch-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/batch-bundle",
        "version": "6.0.0-ballot4",
        "name": "BatchBundle",
        "title": "Batch bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR batch bundle.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "bundle",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              },
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "PUT",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "POST",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "GET",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "DELETE",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "PATCH",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head",
              "path": "Bundle.entry",
              "sliceName": "head",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:head.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "HEAD",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:head.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "bundle"
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              }
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put"
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "PUT"
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post"
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "POST"
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get"
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "GET"
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete"
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "DELETE"
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch"
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:patch.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "PATCH"
            },
            {
              "id": "Bundle.entry:patch.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head",
              "path": "Bundle.entry",
              "sliceName": "head"
            },
            {
              "id": "Bundle.entry:head.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:head.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:head.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "HEAD"
            },
            {
              "id": "Bundle.entry:head.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/batch-response-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "batch-response-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/batch-response-bundle",
        "version": "6.0.0-ballot4",
        "name": "BatchResponseBundle",
        "title": "Batch response bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR batch response.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "batch-response",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "batch-response"
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/transaction-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "transaction-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/transaction-bundle",
        "version": "6.0.0-ballot4",
        "name": "TransactionBundle",
        "title": "Transaction bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR transaction.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "transaction",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              },
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "PUT",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:put.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:put.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:put.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "POST",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:post.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:post.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:post.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "GET",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:get.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:get.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:get.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "DELETE",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:delete.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:delete.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:delete.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "PATCH",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:patch.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:patch.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:patch.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head",
              "path": "Bundle.entry",
              "sliceName": "head",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:head.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "HEAD",
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry:head.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry:head.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry:head.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "transaction"
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "request.method"
                  }
                ],
                "description": "Slice defining each method",
                "ordered": false,
                "rules": "closed"
              }
            },
            {
              "id": "Bundle.entry:put",
              "path": "Bundle.entry",
              "sliceName": "put"
            },
            {
              "id": "Bundle.entry:put.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:put.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:put.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "PUT"
            },
            {
              "id": "Bundle.entry:put.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post",
              "path": "Bundle.entry",
              "sliceName": "post"
            },
            {
              "id": "Bundle.entry:post.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:post.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:post.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "POST"
            },
            {
              "id": "Bundle.entry:post.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get",
              "path": "Bundle.entry",
              "sliceName": "get"
            },
            {
              "id": "Bundle.entry:get.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:get.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:get.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "GET"
            },
            {
              "id": "Bundle.entry:get.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete",
              "path": "Bundle.entry",
              "sliceName": "delete"
            },
            {
              "id": "Bundle.entry:delete.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:delete.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:delete.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "DELETE"
            },
            {
              "id": "Bundle.entry:delete.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:patch",
              "path": "Bundle.entry",
              "sliceName": "patch"
            },
            {
              "id": "Bundle.entry:patch.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:patch.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:patch.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "PATCH"
            },
            {
              "id": "Bundle.entry:patch.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head",
              "path": "Bundle.entry",
              "sliceName": "head"
            },
            {
              "id": "Bundle.entry:head.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry:head.resource",
              "path": "Bundle.entry.resource",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry:head.request",
              "path": "Bundle.entry.request",
              "min": 1
            },
            {
              "id": "Bundle.entry:head.request.method",
              "path": "Bundle.entry.request.method",
              "patternCode": "HEAD"
            },
            {
              "id": "Bundle.entry:head.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/transaction-response-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "transaction-response-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/transaction-response-bundle",
        "version": "6.0.0-ballot4",
        "name": "TransactionResponseBundle",
        "title": "Transaction response bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR transaction response.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Contains a collection of resources",
              "definition": "A container for a collection of resources.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "patternCode": "transaction-response",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "patternCode": "transaction-response"
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "http://hl7.org/fhir/StructureDefinition/document-bundle",
      "resource": {
        "resourceType": "StructureDefinition",
        "id": "document-bundle",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
            "valueString": "Foundation.Other"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
            "valueCode": "not-classified"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "fhir"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/document-bundle",
        "version": "6.0.0-ballot4",
        "name": "DocumentBundle",
        "title": "Document bundle",
        "status": "active",
        "experimental": false,
        "date": "2026-05-20T15:02:53+00:00",
        "publisher": "HL7 International / FHIR Infrastructure",
        "contact": [
          {
            "telecom": [
              {
                "system": "url",
                "value": "http://www.hl7.org/Special/committees/fiwg"
              }
            ]
          }
        ],
        "description": "This profile holds all the requirements and constraints related to a FHIR document.",
        "fhirVersion": "6.0.0-ballot4",
        "mapping": [
          {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
          },
          {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
          },
          {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
          },
          {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
          }
        ],
        "kind": "resource",
        "abstract": false,
        "type": "Bundle",
        "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "derivation": "constraint",
        "snapshot": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
              "valueString": "6.0.0-ballot4"
            }
          ],
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Represents a FHIR document",
              "definition": "A container the resources of a FHIR document.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle",
                "min": 0,
                "max": "*"
              },
              "constraint": [
                {
                  "key": "bdl-1",
                  "requirements": "There are only two Bundle types where paging is supported and there\u0027s a need to know the size of the result set beyond what\u0027s in the current instance.",
                  "severity": "error",
                  "human": "total only when a search or history",
                  "expression": "total.empty() or (type \u003d \u0027searchset\u0027) or (type \u003d \u0027history\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-2",
                  "severity": "error",
                  "human": "entry.search only when a search",
                  "expression": "(type \u003d \u0027searchset\u0027) or entry.search.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-7",
                  "severity": "error",
                  "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)",
                  "expression": "(type \u003d \u0027history\u0027) or entry.where(fullUrl.exists()).select(fullUrl\u0026iif(resource.meta.versionId.exists(), resource.meta.versionId, \u0027\u0027)).isDistinct()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-9",
                  "severity": "error",
                  "human": "A document must have an identifier with a system and a value",
                  "expression": "type \u003d \u0027document\u0027 implies (identifier.system.exists() and identifier.value.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-10",
                  "severity": "error",
                  "human": "A document must have a date",
                  "expression": "type \u003d \u0027document\u0027 implies (timestamp.hasValue())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-11",
                  "severity": "error",
                  "human": "A document must have a Composition as the first resource",
                  "expression": "type \u003d \u0027document\u0027 implies entry.first().resource.is(Composition)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-12",
                  "severity": "error",
                  "human": "A message must have a MessageHeader as the first resource",
                  "expression": "type \u003d \u0027message\u0027 implies entry.first().resource.is(MessageHeader)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-13",
                  "severity": "error",
                  "human": "A subscription-notification must have a SubscriptionStatus as the first resource",
                  "expression": "type \u003d \u0027subscription-notification\u0027 implies entry.first().resource.is(SubscriptionStatus)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-14",
                  "severity": "error",
                  "human": "entry.request.method PATCH not allowed for history",
                  "expression": "type \u003d \u0027history\u0027 implies entry.request.method !\u003d \u0027PATCH\u0027",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-15",
                  "severity": "error",
                  "human": "Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated",
                  "expression": "type\u003d\u0027transaction\u0027 or type\u003d\u0027transaction-response\u0027 or type\u003d\u0027batch\u0027 or type\u003d\u0027batch-response\u0027 or entry.all(fullUrl.exists() or request.method\u003d\u0027POST\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-16",
                  "severity": "error",
                  "human": "Issue.severity for all issues within the OperationOutcome must be either \u0027information\u0027 or \u0027warning\u0027.",
                  "expression": "issues.exists() implies (issues.issue.severity \u003d \u0027information\u0027 or issues.issue.severity \u003d \u0027warning\u0027)",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-17",
                  "severity": "error",
                  "human": "Use and meaning of issues for documents has not been validated because the content will not be rendered in the document.",
                  "expression": "type \u003d \u0027document\u0027 implies issues.empty()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-18",
                  "severity": "error",
                  "human": "Self link is required for searchsets.",
                  "expression": "type \u003d \u0027searchset\u0027 implies link.where(relation \u003d \u0027self\u0027 and url.exists()).exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3a",
                  "severity": "error",
                  "human": "For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements",
                  "expression": "type in (\u0027document\u0027 | \u0027message\u0027 | \u0027searchset\u0027 | \u0027collection\u0027) implies entry.all(resource.exists() and request.empty() and response.empty())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3b",
                  "severity": "error",
                  "human": "For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type \u003d \u0027history\u0027 implies entry.all(request.exists() and response.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3c",
                  "severity": "error",
                  "human": "For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH",
                  "expression": "type in (\u0027transaction\u0027 | \u0027batch\u0027) implies entry.all(request.method.exists() and ((request.method in (\u0027POST\u0027 | \u0027PATCH\u0027 | \u0027PUT\u0027)) \u003d resource.exists()))",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-3d",
                  "severity": "error",
                  "human": "For collections of type transaction-response or batch-response, all entries must contain response elements",
                  "expression": "type in (\u0027transaction-response\u0027 | \u0027batch-response\u0027) implies entry.all(response.exists())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "Entity. Role, or Act,N/A"
                },
                {
                  "identity": "w5",
                  "map": "infrastructure.structure"
                },
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument, if bundle.type \u003d document"
                }
              ]
            },
            {
              "id": "Bundle.id",
              "path": "Bundle.id",
              "short": "Logical id of this artifact",
              "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "id"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.meta",
              "path": "Bundle.meta",
              "short": "Metadata about the resource",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.meta",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Meta"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.implicitRules",
              "path": "Bundle.implicitRules",
              "short": "A set of rules under which this content was created",
              "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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.",
              "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.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.implicitRules",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": true,
              "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
            },
            {
              "id": "Bundle.language",
              "path": "Bundle.language",
              "short": "Language of the resource content",
              "definition": "The base language in which the resource is written.",
              "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).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Resource.language",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": false,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "Language"
                  }
                ],
                "strength": "required",
                "description": "IETF language tag for a human language",
                "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot4",
                "additional": [
                  {
                    "purpose": "starter",
                    "valueSet": "http://hl7.org/fhir/ValueSet/languages"
                  }
                ]
              }
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "short": "Persistent identifier for the bundle",
              "definition": "A persistent identifier for the bundle that won\u0027t change as a bundle is copied from server to server.",
              "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
              "requirements": "bdl-9 - A document must have an identifier with a system and a value",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.identifier",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Identifier"
                }
              ],
              "condition": [
                "bdl-9"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.identifier"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.id"
                }
              ]
            },
            {
              "id": "Bundle.identifier.id",
              "path": "Bundle.identifier.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.identifier.extension",
              "path": "Bundle.identifier.extension",
              "slicing": {
                "discriminator": [
                  {
                    "type": "value",
                    "path": "url"
                  }
                ],
                "description": "Extensions are always sliced by (at least) url",
                "rules": "open"
              },
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.identifier.use",
              "path": "Bundle.identifier.use",
              "short": "usual | official | temp | secondary | old (If known)",
              "definition": "The purpose of this identifier.",
              "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
              "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Identifier.use",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "IdentifierUse"
                  }
                ],
                "strength": "required",
                "description": "Identifies the purpose for this identifier, if known .",
                "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "N/A"
                },
                {
                  "identity": "rim",
                  "map": "Role.code or implied by context"
                }
              ]
            },
            {
              "id": "Bundle.identifier.type",
              "path": "Bundle.identifier.type",
              "short": "Description of identifier",
              "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
              "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
              "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Identifier.type",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "CodeableConcept"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "IdentifierType"
                  }
                ],
                "strength": "extensible",
                "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
                "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type"
              },
              "mapping": [
                {
                  "identity": "v2",
                  "map": "CX.5"
                },
                {
                  "identity": "rim",
                  "map": "Role.code or implied by context"
                }
              ]
            },
            {
              "id": "Bundle.identifier.system",
              "path": "Bundle.identifier.system",
              "short": "The namespace for the identifier value",
              "definition": "Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.",
              "comment": "Identifier.system is always case sensitive. The FHIR specification, terminology.hl7.org and HL7 affiliates (for identifiers specific to their jurisdiction) define identifier systems that SHALL be used for certain types of identifiers.  Specific rules can be found [here](identifier-registry.html).",
              "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we\u0027re dealing with. The system identifies a particular set of unique identifiers.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Identifier.system",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "example": [
                {
                  "label": "General",
                  "valueUri": "http://www.acme.com/identifiers/patient"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "CX.4 / EI-2-4"
                },
                {
                  "identity": "rim",
                  "map": "II.root or Role.id.root"
                },
                {
                  "identity": "servd",
                  "map": "./IdentifierType"
                }
              ]
            },
            {
              "id": "Bundle.identifier.value",
              "path": "Bundle.identifier.value",
              "short": "The value that is unique",
              "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
              "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value\u0027s primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [http://hl7.org/fhir/StructureDefinition/rendered-value](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Identifier.value",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "example": [
                {
                  "label": "General",
                  "valueString": "123456"
                }
              ],
              "condition": [
                "ident-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "CX.1 / EI.1"
                },
                {
                  "identity": "rim",
                  "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
                },
                {
                  "identity": "servd",
                  "map": "./Value"
                }
              ]
            },
            {
              "id": "Bundle.identifier.period",
              "path": "Bundle.identifier.period",
              "short": "Time period when id is/was valid for use",
              "definition": "Time period during which identifier is/was valid for use.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Identifier.period",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Period"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "CX.7 + CX.8"
                },
                {
                  "identity": "rim",
                  "map": "Role.effectiveTime or implied by context"
                },
                {
                  "identity": "servd",
                  "map": "./StartDate and ./EndDate"
                }
              ]
            },
            {
              "id": "Bundle.identifier.assigner",
              "path": "Bundle.identifier.assigner",
              "short": "Organization that issued id (may be just text)",
              "definition": "Organization that issued/manages the identifier.",
              "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Identifier.assigner",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Reference",
                  "targetProfile": [
                    "http://hl7.org/fhir/StructureDefinition/Organization"
                  ]
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "v2",
                  "map": "CX.4 / (CX.4,CX.9,CX.10)"
                },
                {
                  "identity": "rim",
                  "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
                },
                {
                  "identity": "servd",
                  "map": "./IdentifierIssuingAuthority"
                }
              ]
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "short": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification",
              "definition": "Indicates the purpose of this bundle - how it is intended to be used.",
              "comment": "It\u0027s possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
              "requirements": "Set type to document.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.type",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "fixedCode": "document",
              "condition": [
                "bdl-1",
                "bdl-2",
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-3d",
                "bdl-7",
                "bdl-9",
                "bdl-10",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-17",
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "BundleType"
                  }
                ],
                "strength": "required",
                "description": "Indicates the purpose of a bundle - how it is intended to be used.",
                "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot4"
              },
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.class"
                }
              ]
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "short": "When the bundle was assembled",
              "definition": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.",
              "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
              "requirements": "bdl-10 - A document must have a date",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.timestamp",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "condition": [
                "bdl-10"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "mapping": [
                {
                  "identity": "w5",
                  "map": "FiveWs.init"
                },
                {
                  "identity": "cda",
                  "map": "ClinicalDocument.effectiveTime"
                }
              ]
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "short": "Total matches across all pages",
              "definition": "If a set of search matches or a history, this is the (potentially estimated) total number of entries of type \u0027match\u0027 across all pages in the search.  It does not include search.mode \u003d \u0027include\u0027 or \u0027outcome\u0027 entries and it does not provide a count of the number of entries in the Bundle.",
              "comment": "Only used if the bundle is a search or history result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.total",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "unsignedInt"
                }
              ],
              "condition": [
                "bdl-1"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link",
              "path": "Bundle.link",
              "short": "Links related to this Bundle",
              "definition": "A series of links that provide context to this bundle.",
              "comment": "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.  The behavior of navigation link types (next/prev/first/last) are well defined for searchset and history Bundles but are not currently defined for other types. Implementers who choose to use such link relationships for other bundle types will need to negotiate behavior with their interoperability partners.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.link",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.link.id",
              "path": "Bundle.link.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.extension",
              "path": "Bundle.link.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.link.modifierExtension",
              "path": "Bundle.link.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.link.relation",
              "path": "Bundle.link.relation",
              "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
              "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.relation",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "strength": "required",
                "valueSet": "http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.link.url",
              "path": "Bundle.link.url",
              "short": "Reference details for the link",
              "definition": "The reference details for the link.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.link.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-18"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "short": "Entry in the bundle - will have a resource or information",
              "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
              "min": 1,
              "max": "*",
              "base": {
                "path": "Bundle.entry",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "orderMeaning": "For bundles of type \u0027document\u0027 and \u0027message\u0027, the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type",
              "condition": [
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-14",
                "bdl-15",
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "bdl-5",
                  "severity": "error",
                  "human": "must be a resource unless there\u0027s a request or response",
                  "expression": "resource.exists() or request.exists() or response.exists()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "bdl-8",
                  "severity": "error",
                  "human": "fullUrl cannot be a version specific reference",
                  "expression": "fullUrl.exists() implies fullUrl.contains(\u0027/_history/\u0027).not()",
                  "source": "http://hl7.org/fhir/StructureDefinition/Bundle"
                },
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.id",
              "path": "Bundle.entry.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.extension",
              "path": "Bundle.entry.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.modifierExtension",
              "path": "Bundle.entry.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.link",
              "path": "Bundle.entry.link",
              "short": "Links related to this entry",
              "definition": "A series of links that provide context to this entry.",
              "min": 0,
              "max": "*",
              "base": {
                "path": "Bundle.entry.link",
                "min": 0,
                "max": "*"
              },
              "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "short": "URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)",
              "definition": "The Absolute URL for the resource. Except for transactions and batches, each entry in a Bundle must have a fullUrl. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. Even when not required, fullUrl MAY be set to a urn:uuid to allow referencing entries in a transaction. The fullUrl can be an arbitrary URI and is not limited to urn:uuid, urn:oid, http, and https. The fullUrl element SHALL have a value unless:\n* the Bundle is a batch or transaction request or response AND\n* the entry is\n    * invoking a create\n  * invoking or responding to an operation where the body is not a single identified resource\n  * invoking or returning the results of a search or history operation.",
              "comment": "fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the portion of the URL that, by FHIR syntax, corresponds to the resource type and id within the fullUrl SHALL match the resource type and id of the resource.\n\nNote that the fullUrl is not the same as the canonical URL - it\u0027s an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL).",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.fullUrl",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "condition": [
                "bdl-7",
                "bdl-15",
                "bdl-8"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "short": "A resource in the bundle",
              "definition": "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type. This is allowed to be a Parameters resource if and only if it is referenced by something else within the Bundle that provides context/meaning.",
              "comment": "This may be a resource defined in the FHIR specification, or an [additional resource](resource.html#additional)",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.resource",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3c",
                "bdl-7",
                "bdl-11",
                "bdl-12",
                "bdl-13",
                "bdl-5"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "short": "Search related information",
              "definition": "Information about the search process that lead to the creation of this entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.search",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-2"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.search.id",
              "path": "Bundle.entry.search.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.extension",
              "path": "Bundle.entry.search.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.modifierExtension",
              "path": "Bundle.entry.search.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.search.mode",
              "path": "Bundle.entry.search.mode",
              "short": "match | include - why this is in the result set",
              "definition": "Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
              "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, \u0027match\u0027 takes precedence.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.mode",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "SearchEntryMode"
                  }
                ],
                "strength": "required",
                "description": "Why an entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.",
                "valueSet": "http://hl7.org/fhir/ValueSet/search-entry-mode|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.search.score",
              "path": "Bundle.entry.search.score",
              "short": "Search ranking (between 0 and 1)",
              "definition": "When searching, the server\u0027s search ranking score for the entry.",
              "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.search.score",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "decimal"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "short": "Additional execution information (transaction/batch/history)",
              "definition": "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.request",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.id",
              "path": "Bundle.entry.request.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.extension",
              "path": "Bundle.entry.request.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.modifierExtension",
              "path": "Bundle.entry.request.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.request.method",
              "path": "Bundle.entry.request.method",
              "short": "GET | HEAD | POST | PUT | DELETE | PATCH",
              "definition": "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.method",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "code"
                }
              ],
              "condition": [
                "bdl-3b",
                "bdl-3c",
                "bdl-14",
                "bdl-15"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true,
              "binding": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                    "valueString": "HTTPVerb"
                  }
                ],
                "strength": "required",
                "description": "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details.",
                "valueSet": "http://hl7.org/fhir/ValueSet/http-verb|6.0.0-ballot4"
              }
            },
            {
              "id": "Bundle.entry.request.url",
              "path": "Bundle.entry.request.url",
              "short": "URL for HTTP equivalent of this entry",
              "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
              "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\".",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.url",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneMatch",
              "path": "Bundle.entry.request.ifNoneMatch",
              "short": "For managing cache validation",
              "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifModifiedSince",
              "path": "Bundle.entry.request.ifModifiedSince",
              "short": "For managing cache currency",
              "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifModifiedSince",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifMatch",
              "path": "Bundle.entry.request.ifMatch",
              "short": "For managing update contention",
              "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency).",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifMatch",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.request.ifNoneExist",
              "path": "Bundle.entry.request.ifNoneExist",
              "short": "For conditional creates",
              "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.request.ifNoneExist",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "short": "Results of execution (transaction/batch/history)",
              "definition": "Indicates the results of processing the corresponding \u0027request\u0027 entry in the batch or transaction being responded to or what the results of an operation where when returning history.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.entry.response",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "BackboneElement"
                }
              ],
              "condition": [
                "bdl-3a",
                "bdl-3b",
                "bdl-3d",
                "bdl-5"
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children or both",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.id",
              "path": "Bundle.entry.response.id",
              "representation": [
                "xmlAttr"
              ],
              "short": "Unique id for inter-element referencing",
              "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Element.id",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                      "valueUrl": "string"
                    }
                  ],
                  "code": "http://hl7.org/fhirpath/System.String"
                }
              ],
              "condition": [
                "ele-1"
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.extension",
              "path": "Bundle.entry.response.extension",
              "short": "Additional content defined by implementations",
              "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.",
              "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.",
              "alias": [
                "extensions",
                "user content"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "Element.extension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": false,
              "isSummary": false,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "n/a"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.modifierExtension",
              "path": "Bundle.entry.response.modifierExtension",
              "short": "Extensions that cannot be ignored even if unrecognized",
              "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\u0027s 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).",
              "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.",
              "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](extensibility.html#modifierExtension).",
              "alias": [
                "extensions",
                "user content",
                "modifiers"
              ],
              "min": 0,
              "max": "*",
              "base": {
                "path": "BackboneElement.modifierExtension",
                "min": 0,
                "max": "*"
              },
              "type": [
                {
                  "code": "Extension"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "isModifier": true,
              "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
              "isSummary": true,
              "mapping": [
                {
                  "identity": "rim",
                  "map": "N/A"
                }
              ]
            },
            {
              "id": "Bundle.entry.response.status",
              "path": "Bundle.entry.response.status",
              "short": "Status response code (text optional)",
              "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
              "min": 1,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.status",
                "min": 1,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.location",
              "path": "Bundle.entry.response.location",
              "short": "The location (if the operation returns a location)",
              "definition": "The location header created by processing this operation, populated if the operation returns a location.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.location",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "uri"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.etag",
              "path": "Bundle.entry.response.etag",
              "short": "The Etag for the resource (if relevant)",
              "definition": "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency)).",
              "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included - e.g. W/\u00271\u0027",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.etag",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "string"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.lastModified",
              "path": "Bundle.entry.response.lastModified",
              "short": "Server\u0027s date time modified",
              "definition": "The date/time that the resource was modified on the server.",
              "comment": "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.lastModified",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "instant"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.entry.response.outcome",
              "path": "Bundle.entry.response.outcome",
              "short": "OperationOutcome with hints and warnings (for batch/transaction)",
              "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
              "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer \u003d operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.entry.response.outcome",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.signature",
              "path": "Bundle.signature",
              "short": "Digital Signature (deprecated: use Provenance Signatures)",
              "definition": "Digital Signature: XML-DSig or JWS. This element is deprecated, and [Provenance based Signatures](signatures.html#Bundle) should be used instead.",
              "min": 0,
              "max": "1",
              "base": {
                "path": "Bundle.signature",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Signature"
                }
              ],
              "constraint": [
                {
                  "key": "ele-1",
                  "severity": "error",
                  "human": "All FHIR elements must have a @value or children",
                  "expression": "hasValue() or (children().count() \u003e id.count())",
                  "source": "http://hl7.org/fhir/StructureDefinition/Element"
                }
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "short": "OperationOutcome with issues about the Bundle",
              "definition": "An OperationOutcome that captures issues and warnings that relate to the construction of the Bundle and the content within it.",
              "comment": "Usage notes: These issues and warnings must apply to the Bundle as a whole, not to individual entries. Messages relating to the processing of individual entries (e.g. in a batch or transaction) SHALL be reported in the entry.response.outcome for that entry.  If there are errors that arise in the creation of the Bundle, then that should be handled by an OperationOutcome being returned instead of the Bundle.",
              "min": 0,
              "max": "0",
              "base": {
                "path": "Bundle.issues",
                "min": 0,
                "max": "1"
              },
              "type": [
                {
                  "code": "Resource",
                  "profile": [
                    "http://hl7.org/fhir/StructureDefinition/OperationOutcome"
                  ]
                }
              ],
              "condition": [
                "bdl-16",
                "bdl-17"
              ],
              "mustSupport": false,
              "isModifier": false,
              "isSummary": true
            }
          ]
        },
        "differential": {
          "element": [
            {
              "id": "Bundle",
              "path": "Bundle",
              "short": "Represents a FHIR document",
              "definition": "A container the resources of a FHIR document."
            },
            {
              "id": "Bundle.identifier",
              "path": "Bundle.identifier",
              "requirements": "bdl-9 - A document must have an identifier with a system and a value",
              "min": 1
            },
            {
              "id": "Bundle.identifier.system",
              "path": "Bundle.identifier.system",
              "min": 1
            },
            {
              "id": "Bundle.identifier.value",
              "path": "Bundle.identifier.value",
              "min": 1
            },
            {
              "id": "Bundle.type",
              "path": "Bundle.type",
              "requirements": "Set type to document.",
              "fixedCode": "document"
            },
            {
              "id": "Bundle.timestamp",
              "path": "Bundle.timestamp",
              "requirements": "bdl-10 - A document must have a date",
              "min": 1
            },
            {
              "id": "Bundle.total",
              "path": "Bundle.total",
              "max": "0"
            },
            {
              "id": "Bundle.entry",
              "path": "Bundle.entry",
              "min": 1
            },
            {
              "id": "Bundle.entry.fullUrl",
              "path": "Bundle.entry.fullUrl",
              "min": 1
            },
            {
              "id": "Bundle.entry.resource",
              "path": "Bundle.entry.resource",
              "min": 1
            },
            {
              "id": "Bundle.entry.search",
              "path": "Bundle.entry.search",
              "max": "0"
            },
            {
              "id": "Bundle.entry.request",
              "path": "Bundle.entry.request",
              "max": "0"
            },
            {
              "id": "Bundle.entry.response",
              "path": "Bundle.entry.response",
              "max": "0"
            },
            {
              "id": "Bundle.issues",
              "path": "Bundle.issues",
              "max": "0"
            }
          ]
        }
      }
    }
  ]
}